tgbot-chatgpt/docker-compose.yml

16 lines
472 B
YAML

services:
tgbot-chatgpt:
container_name: tgbot-chatgpt-${APP_INSTANCE}
build:
context: .
env_file:
- /data/secrets/${SERVER_DOMAIN}/tgbot-chatgpt/${APP_INSTANCE}/app.env
volumes:
- .:/app:rw
- app_node_modules:/app/node_modules
- /data/secrets/${SERVER_DOMAIN}/tgbot-chatgpt/${APP_INSTANCE}/allowed.list:/app/allowed.list:ro
command: npm run start
restart: unless-stopped
volumes:
node_modules:
app_node_modules: