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: services:
serge-discord-bot: serge-discord-bot:
container_name: serge-discord-bot container_name: serge-discord-bot
restart: unless-stopped
build: build:
context: . context: .
volumes:
- ${DATA_DIR}/rai-bot:/app/cache
environment: environment:
- NODE_ENV=production - NODE_ENV=production
## Env Vars for rAi chatbot ## Env Vars for rAi chatbot