Add better description for docker-compose

This commit is contained in:
Marco Thomas
2021-03-10 13:47:23 +01:00
parent 87bce0be57
commit 24f10d09d3
2 changed files with 9 additions and 1 deletions

View File

@@ -10,7 +10,8 @@ This Bot was created with the intention to be used on my own server.
## docker
+ Create a docker image with tag 'latest': `docker build . -t aquabot`
+ In the correct path, create a docker-compose.yml, the required env vars are found in 'aquabot.py'
+ Copy `docker-compose.yml.example` to `docker-compose.yml`
+ Edit the required environment variables (Found in `aquabot.py`)
+ Start the bot: `docker-compose up -d`
## Requirements

View File

@@ -0,0 +1,7 @@
version: '3'
services:
aquabot:
image: aquabot:latest
environment:
restart: always