Edited docker-compose
This commit is contained in:
parent
f1a7aec073
commit
b45f3cfc93
|
@ -1,37 +1,36 @@
|
|||
version: "3.7"
|
||||
|
||||
services:
|
||||
app:
|
||||
container_name: pepebot_server
|
||||
image: dutchellie/pepebot
|
||||
restart: always
|
||||
depends_on:
|
||||
- db
|
||||
environment:
|
||||
- DB_USER=
|
||||
- DB_PASS=
|
||||
- DISCORD_TOKEN=
|
||||
- RATE_LIMIT=
|
||||
- TIME_LIMIT=
|
||||
- PEPE_SERVER=
|
||||
app:
|
||||
container_name: pepebot_server
|
||||
image: dutchellie/pepebot
|
||||
restart: always
|
||||
depends_on:
|
||||
- db
|
||||
environment:
|
||||
- DB_USER=changemeusername
|
||||
- DB_PASS=changemepassword
|
||||
- DISCORD_TOKEN=<discord token>
|
||||
- RATE_LIMIT=2 # 2 Actions per TIME_LIMIT
|
||||
- TIME_LIMIT=5 # Per second
|
||||
- PEPE_SERVER=pepe_service:4000
|
||||
db:
|
||||
container_name: pepebot_database
|
||||
image: mysql:8.0
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD:
|
||||
MYSQL_DATABASE:
|
||||
MYSQL_USER:
|
||||
MYSQL_PASSWORD:
|
||||
volumes:
|
||||
- pepe_db_data:/var/lib/mysql
|
||||
container_name: pepebot_database
|
||||
image: mysql:8.0
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: changeme
|
||||
MYSQL_DATABASE: pepebot
|
||||
MYSQL_USER: changemeusername
|
||||
MYSQL_PASSWORD: changemepassword
|
||||
volumes:
|
||||
- pepe_db_data:/var/lib/mysql
|
||||
pepe_service:
|
||||
container_name: pepebot_service
|
||||
image: dutchellie/pepebot_service:latest
|
||||
restart: always
|
||||
environment:
|
||||
- PEPE_DIR=/pepe/1.00
|
||||
volumes:
|
||||
- /your/pepe/folder:/pepe #edit this
|
||||
container_name: pepebot_service
|
||||
image: dutchellie/pepebot_service:latest
|
||||
restart: always
|
||||
environment:
|
||||
- PEPE_DIR=/pepe/1.00
|
||||
volumes:
|
||||
- /your/pepe/folder:/pepe #edit this
|
||||
volumes:
|
||||
pepe_db_data: {}
|
||||
pepe_db_data: {}
|
||||
|
|
Loading…
Reference in New Issue