Updated docker compose file

This commit is contained in:
Franz Rolfsvaag 2025-08-09 15:57:28 +02:00
parent 7a0022cb59
commit b9c4253481

View File

@ -2,20 +2,19 @@ version: "3.8"
services: services:
shaiwatcher: shaiwatcher:
build: . build:
image: shaiwatcher:latest # local image name (Portainer builds it) context: .
dockerfile: dockerfile
container_name: shaiwatcher container_name: shaiwatcher
restart: unless-stopped restart: unless-stopped
environment: environment:
# set this in Portainer (dont commit your token!)
- DISCORD_TOKEN=${DISCORD_TOKEN} - DISCORD_TOKEN=${DISCORD_TOKEN}
# optional: set timezone # optional: set timezone
- TZ=UTC - TZ=UTC
volumes: volumes:
# Persist your JSON data here # Persist your JSON data here
- shaiwatcher-data:/app/data - shaiwatcher_data:/app/data
# Bind your server-side settings.conf into the container # use your repos settings.conf at runtime
- /opt/shaiwatcher/settings.conf:/app/settings.conf:ro - ./settings.conf:/app/settings.conf:ro
volumes: volumes:
shaiwatcher-data: shaiwatcher-data: