Added dev stack #70
This commit is contained in:
parent
a691808068
commit
7b8f42ad59
49
kdb-bot/docker-compose.dev.yml
Normal file
49
kdb-bot/docker-compose.dev.yml
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
version: "3.9"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
kdb_bot_dev_1:
|
||||||
|
kdb_web_dev_1:
|
||||||
|
kdb_db_dev_1:
|
||||||
|
|
||||||
|
services:
|
||||||
|
kdb_bot_dev_1:
|
||||||
|
image: kdb-bot/kdb-bot:0.3
|
||||||
|
container_name: kdb_bot_dev_1
|
||||||
|
depends_on:
|
||||||
|
- kdb_db_dev_1
|
||||||
|
volumes:
|
||||||
|
- kdb_bot_dev_1:/app
|
||||||
|
environment:
|
||||||
|
KDB_ENVIRONMENT: "dev"
|
||||||
|
KDB_TOKEN: "OTk4MTU5NjczODkzMDYwNzM4.GN3QyA.yvWO6L7Eu36gXQ7ARDs0Jg2J1VqIDnHLou5lT4"
|
||||||
|
KDB_PREFIX: "!kd "
|
||||||
|
restart: 'no'
|
||||||
|
ports:
|
||||||
|
- '8044:80'
|
||||||
|
command: bash /app/bot/bot -stage
|
||||||
|
|
||||||
|
kdb_web_dev_1:
|
||||||
|
image: kdb-web/kdb-web:0.3
|
||||||
|
container_name: kdb_web_dev_1
|
||||||
|
depends_on:
|
||||||
|
- kdb_bot_dev_1
|
||||||
|
volumes:
|
||||||
|
- kdb_web_dev_1:/app
|
||||||
|
restart: 'no'
|
||||||
|
ports:
|
||||||
|
- '8043:80'
|
||||||
|
|
||||||
|
kdb_db_dev_1:
|
||||||
|
image: mysql:latest
|
||||||
|
container_name: kdb_db_dev_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:
|
||||||
|
- "3308:3306"
|
||||||
|
volumes:
|
||||||
|
- kdb_db_dev_1:/var/lib/mysql
|
Loading…
Reference in New Issue
Block a user