1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 00:10:58 -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 6f010cf2a9
commit 995d6c0e78
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