From 7b8f42ad5903d0ff0fa6d2ec27d49953430cb42a Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sun, 23 Oct 2022 15:05:01 +0200 Subject: [PATCH] Added dev stack #70 --- kdb-bot/docker-compose.dev.yml | 49 ++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 kdb-bot/docker-compose.dev.yml diff --git a/kdb-bot/docker-compose.dev.yml b/kdb-bot/docker-compose.dev.yml new file mode 100644 index 0000000000..d92640a11c --- /dev/null +++ b/kdb-bot/docker-compose.dev.yml @@ -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 \ No newline at end of file