22 lines
594 B
YAML
22 lines
594 B
YAML
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 (don’t 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:
|