-
Notifications
You must be signed in to change notification settings - Fork 1
Self Hosting
Ensure you have the following installed on your system:
-
Clone the AutoMod repository
git clone https://github.com/DeclanChidlow/AutoMod
-
Enter the AutoMod directory
cd AutoMod
-
Setup configurations
Copy the example configuration files to create the actual configuration files:cp compose.yml.example compose.yml
cp .env.example .env
You will need to edit
.env
to populate it with the relevant details. While the defaultcompose.yml
will work out of the box in most situations, you might need to tweak it depending on your specific configuration. -
Build AutoMod
docker compose build
-
Run it with Docker
Start AutoMod withdocker compose up
. Assuming it runs without issues, you can stop it, and restart it to run in the background (detached mode) withdocker compose up -d
.
-
Ensure you are in the AutoMod directory
cd AutoMod
-
Stop AutoMod
docker compose stop
-
Pull the latest changes
This will copy the latest changes from GitHub to your local machine.git pull
-
Build AutoMod
docker compose build
-
Start AutoMod
Start AutoMod withdocker compose up
. Assuming it runs without issues, you can stop it, and start it in the background (detached mode) withdocker compose up -d
.