shaiwatcher/docker-compose.yml
2025-08-09 15:44:26 +02:00

22 lines
594 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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