2021-05-18 12:11:30 +02:00
|
|
|
version: "3.7"
|
|
|
|
services:
|
2022-04-09 17:19:08 +02:00
|
|
|
app:
|
|
|
|
container_name: pepebot_server
|
2022-05-11 10:48:20 +02:00
|
|
|
image: dutchellie/pepebot
|
2022-05-08 17:41:17 +02:00
|
|
|
build: .
|
2022-04-09 17:19:08 +02:00
|
|
|
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
|
2022-04-09 17:20:36 +02:00
|
|
|
db:
|
|
|
|
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
|
2022-05-11 10:48:20 +02:00
|
|
|
image: dutchellie/pepebot_service:latest
|
2022-05-08 17:41:17 +02:00
|
|
|
build: pepeservice
|
2022-04-09 17:20:36 +02:00
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
- PEPE_DIR=/pepe/1.00
|
|
|
|
volumes:
|
|
|
|
- /your/pepe/folder:/pepe #edit this
|
2021-05-18 12:11:30 +02:00
|
|
|
volumes:
|
2022-04-09 17:19:08 +02:00
|
|
|
pepe_db_data: {}
|