Restart container on exit from unhandled api error

This commit is contained in:
GooeyTuxedo 2023-04-08 11:42:03 -07:00
parent 339ae68ae9
commit 802a95a118

View File

@ -2,8 +2,11 @@ version: '3'
services:
serge-discord-bot:
container_name: serge-discord-bot
restart: unless-stopped
build:
context: .
volumes:
- ${DATA_DIR}/rai-bot:/app/cache
environment:
- NODE_ENV=production
## Env Vars for rAi chatbot