17 lines
506 B
YAML
17 lines
506 B
YAML
services:
|
||
shaiwatcher:
|
||
build: .
|
||
restart: unless-stopped
|
||
environment:
|
||
- DISCORD_TOKEN=${DISCORD_TOKEN}
|
||
# optional – only if you want non-default locations
|
||
# - SHAI_CONFIG=/config/settings.conf
|
||
# - SHAI_DATA=/data/data.json
|
||
volumes:
|
||
- ./config:/config # will contain settings.conf
|
||
- shaiwatcher_data:/data # persistent data.json
|
||
# if you deploy to a remote docker host via Portainer: no extra ports needed
|
||
|
||
volumes:
|
||
shaiwatcher_data:
|