Fixed docker-compose

This commit is contained in:
DutchEllie 2022-04-09 17:20:36 +02:00
parent b45f3cfc93
commit 0c591cbe2f
Signed by: DutchEllie
SSH Key Fingerprint: SHA256:dKq6ZSgN5E3Viqrw/+xAdf2VdR6hdRGNyrYqXXwfjTY
1 changed files with 20 additions and 20 deletions

View File

@ -2,7 +2,7 @@ version: "3.7"
services: services:
app: app:
container_name: pepebot_server container_name: pepebot_server
image: dutchellie/pepebot image: dutchellie.nl/dutchellie/pepebot
restart: always restart: always
depends_on: depends_on:
- db - db
@ -13,24 +13,24 @@ services:
- RATE_LIMIT=2 # 2 Actions per TIME_LIMIT - RATE_LIMIT=2 # 2 Actions per TIME_LIMIT
- TIME_LIMIT=5 # Per second - TIME_LIMIT=5 # Per second
- PEPE_SERVER=pepe_service:4000 - PEPE_SERVER=pepe_service:4000
db: db:
container_name: pepebot_database container_name: pepebot_database
image: mysql:8.0 image: mysql:8.0
restart: always restart: always
environment: environment:
MYSQL_ROOT_PASSWORD: changeme MYSQL_ROOT_PASSWORD: changeme
MYSQL_DATABASE: pepebot MYSQL_DATABASE: pepebot
MYSQL_USER: changemeusername MYSQL_USER: changemeusername
MYSQL_PASSWORD: changemepassword MYSQL_PASSWORD: changemepassword
volumes: volumes:
- pepe_db_data:/var/lib/mysql - pepe_db_data:/var/lib/mysql
pepe_service: pepe_service:
container_name: pepebot_service container_name: pepebot_service
image: dutchellie/pepebot_service:latest image: dutchellie/pepebot_service:latest
restart: always restart: always
environment: environment:
- PEPE_DIR=/pepe/1.00 - PEPE_DIR=/pepe/1.00
volumes: volumes:
- /your/pepe/folder:/pepe #edit this - /your/pepe/folder:/pepe #edit this
volumes: volumes:
pepe_db_data: {} pepe_db_data: {}