From 5e980363a3ae1cb5aaf37c1c83438ae5a4e94705 Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@users.noreply.github.com> Date: Mon, 29 Jan 2024 14:50:26 +1100 Subject: [PATCH] Isolate the bot to its own compose file --- docker-compose.bot.yml | 9 +++++++++ docker-compose.yml | 8 -------- 2 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 docker-compose.bot.yml diff --git a/docker-compose.bot.yml b/docker-compose.bot.yml new file mode 100644 index 0000000..93285ee --- /dev/null +++ b/docker-compose.bot.yml @@ -0,0 +1,9 @@ +services: + bot: + container_name: daggerbot-prod + build: . + restart: unless-stopped + volumes: + - ./.git:/Daggerbot/.git:rw + - ./src/:/Daggerbot/src/:rw + - ./dist/:/Daggerbot/dist/:rw diff --git a/docker-compose.yml b/docker-compose.yml index 731c8d2..7a61ddc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,12 +1,4 @@ services: - bot: - container_name: daggerbot-prod - build: . - restart: unless-stopped - volumes: - - ./.git:/Daggerbot/.git:rw - - ./src/:/Daggerbot/src/:rw - - ./dist/:/Daggerbot/dist/:rw cache: container_name: redis-cache image: redis/redis-stack-server:7.2.0-v6