diff --git a/.gitmodules b/.gitmodules index 1b416f6089..ca793c6ce9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "kdb-bot/src/bot_api/config"] path = kdb-bot/src/bot_api/config url = https://git.sh-edraft.de/sh-edraft.de/kd_discord_bot.api.config.git +[submodule "kdb-bot/docker"] + path = kdb-bot/docker + url = https://git.sh-edraft.de/sh-edraft.de/kd_discord_bot.docker.git diff --git a/kdb-bot/docker-compose.dev.yml b/kdb-bot/docker-compose.dev.yml deleted file mode 100644 index e73d2d9376..0000000000 --- a/kdb-bot/docker-compose.dev.yml +++ /dev/null @@ -1,49 +0,0 @@ -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 -dev - - 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: "!w5D_&steCejfjq~b{0_DP@e:§X2?JUz" - MYSQL_DATABASE: "kd_kdb" - ports: - - "3308:3306" - volumes: - - kdb_db_dev_1:/var/lib/mysql \ No newline at end of file diff --git a/kdb-bot/docker-compose.staging.yml b/kdb-bot/docker-compose.staging.yml deleted file mode 100644 index 129ebb9660..0000000000 --- a/kdb-bot/docker-compose.staging.yml +++ /dev/null @@ -1,49 +0,0 @@ -version: "3.9" - -volumes: - kdb_bot_staging_1: - kdb_web_staging_1: - kdb_db_staging_1: - -services: - kdb_bot_staging_1: - image: kdb-bot/kdb-bot:0.3 - container_name: kdb_bot_staging_1 - depends_on: - - kdb_db_staging_1 - volumes: - - kdb_bot_staging_1:/app - environment: - KDB_ENVIRONMENT: "staging" - KDB_TOKEN: "OTk4MTU5ODAyMzkzOTY0NTk0.G4rLkF.uBQ9pW8X1Lm5agHqvBfzf7qEf8Ton-3a1oJPmY" - KDB_PREFIX: "!kt " - restart: 'no' - ports: - - '8044:80' - command: bash /app/bot/bot -stage - - kdb_web_staging_1: - image: kdb-web/kdb-web:0.3 - container_name: kdb_web_staging_1 - depends_on: - - kdb_bot_staging_1 - volumes: - - kdb_web_staging_1:/app - restart: 'no' - ports: - - '8043:80' - - kdb_db_staging_1: - image: mysql:latest - container_name: kdb_db_staging_1 - command: mysqld --default-authentication-plugin=mysql_native_password - restart: unless-stopped - environment: - MYSQL_ROOT_PASSWORD: "kd_kdb" - MYSQL_USER: "kd_kdb" - MYSQL_PASSWORD: "3&YwVMCwüb=LUt7B§ÖsY?Kr~XRtD#&&f" - MYSQL_DATABASE: "kd_kdb" - ports: - - "3308:3306" - volumes: - - kdb_db_staging_1:/var/lib/mysql \ No newline at end of file diff --git a/kdb-bot/docker-compose.yml b/kdb-bot/docker-compose.yml deleted file mode 100644 index fd3e7db2de..0000000000 --- a/kdb-bot/docker-compose.yml +++ /dev/null @@ -1,48 +0,0 @@ -version: "3.9" - -volumes: - kdb_bot_prod_1: - kdb_web_prod_1: - kdb_db_prod_1: - -services: - kdb_bot_prod_1: - image: kdb-bot/kdb-bot:0.3 - container_name: kdb_bot_prod_1 - depends_on: - - kdb_db_prod_1 - volumes: - - kdb_bot_prod_1:/app - environment: - KDB_ENVIRONMENT: "production" - KDB_TOKEN: "" - KDB_PREFIX: "!k " - restart: 'no' - ports: - - '8041:80' - - kdb_web_prod_1: - image: kdb-web/kdb-web:0.3 - container_name: kdb_web_prod_1 - depends_on: - - kdb_bot_prod_1 - volumes: - - kdb_web_prod_1:/app - restart: 'no' - ports: - - '8042:80' - - kdb_db_prod_1: - image: mysql:latest - container_name: kdb_db_prod_1 - command: mysqld --default-authentication-plugin=mysql_native_password - restart: unless-stopped - environment: - MYSQL_ROOT_PASSWORD: "kd_kdb" - MYSQL_USER: "kd_kdb" - MYSQL_PASSWORD: "+=gj}(ÄEbRG6_S&ö}ü>zaNT=rE{_~m