1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-18 00:31:00 -05:00

Isolate the bot to its own compose file

This commit is contained in:
toast-ts 2024-01-29 14:50:26 +11:00
parent 07a4c48f97
commit 5e980363a3
2 changed files with 9 additions and 8 deletions

9
docker-compose.bot.yml Normal file
View File

@ -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

View File

@ -1,12 +1,4 @@
services: services:
bot:
container_name: daggerbot-prod
build: .
restart: unless-stopped
volumes:
- ./.git:/Daggerbot/.git:rw
- ./src/:/Daggerbot/src/:rw
- ./dist/:/Daggerbot/dist/:rw
cache: cache:
container_name: redis-cache container_name: redis-cache
image: redis/redis-stack-server:7.2.0-v6 image: redis/redis-stack-server:7.2.0-v6