forked from sh-edraft.de/sh_discord_bot
58 lines
1.2 KiB
YAML
58 lines
1.2 KiB
YAML
version: "3.9"
|
|
|
|
volumes:
|
|
kdb_prod_1:
|
|
kdb_staging_1:
|
|
|
|
services:
|
|
kdb_prod_1:
|
|
image: kdb
|
|
container_name: kdb_prod_1
|
|
depends_on:
|
|
- kdb_db_1
|
|
volumes:
|
|
- kdb_prod_1:/app
|
|
environment:
|
|
KDB_ENVIRONMENT: "production"
|
|
KDB_TOKEN: ""
|
|
KDB_PREFIX: "!k "
|
|
restart: unless-stopped
|
|
|
|
kdb_staging_1:
|
|
image: kdb
|
|
container_name: kdb_staging_1
|
|
depends_on:
|
|
- kdb_db_1
|
|
volumes:
|
|
- kdb_staging_1:/app
|
|
environment:
|
|
KDB_ENVIRONMENT: "staging"
|
|
KDB_TOKEN: ""
|
|
KDB_PREFIX: "!kt "
|
|
restart: unless-stopped
|
|
|
|
kdb_db_1:
|
|
image: mysql:latest
|
|
container_name: kdb_db_1
|
|
command: mysqld --default-authentication-plugin=mysql_native_password
|
|
restart: unless-stopped
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: "kd_kdb"
|
|
MYSQL_USER: "kd_kdb"
|
|
MYSQL_PASSWORD: "kd_kdb"
|
|
MYSQL_DATABASE: "kd_kdb"
|
|
ports:
|
|
- "3307:3306"
|
|
|
|
kdb_db_2:
|
|
image: mysql:latest
|
|
container_name: kdb_db_2
|
|
command: mysqld --default-authentication-plugin=mysql_native_password
|
|
restart: unless-stopped
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: "kd_kdb"
|
|
MYSQL_USER: "kd_kdb"
|
|
MYSQL_PASSWORD: "kd_kdb"
|
|
MYSQL_DATABASE: "kd_kdb"
|
|
ports:
|
|
- "3308:3306" |