Add better description for docker-compose
This commit is contained in:
@@ -10,7 +10,8 @@ This Bot was created with the intention to be used on my own server.
|
|||||||
## docker
|
## docker
|
||||||
|
|
||||||
+ Create a docker image with tag 'latest': `docker build . -t aquabot`
|
+ 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`
|
+ Start the bot: `docker-compose up -d`
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|||||||
7
docker-compose.yml.example
Normal file
7
docker-compose.yml.example
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
aquabot:
|
||||||
|
image: aquabot:latest
|
||||||
|
environment:
|
||||||
|
restart: always
|
||||||
Reference in New Issue
Block a user