Files
stoat_role_bot/docker-compose.pull.yml
Dawnsorrow 0a57be59f4
Build and Push Image / build (push) Has been cancelled
Clean up: remove build-for-nas.sh, update deploy docs and push script
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 21:02:02 -06:00

20 lines
752 B
YAML

# Use this on your NAS to run the image pulled from Gitea (no local build).
# Set env vars and run: docker compose -f docker-compose.pull.yml up -d
#
# Required: set GITEA_IMAGE in .env or below, e.g.:
# GITEA_IMAGE=gitea.example.com/username/stoat-role-bot:latest
# Then: docker compose -f docker-compose.pull.yml pull && docker compose -f docker-compose.pull.yml up -d
services:
rolebot:
image: ${GITEA_IMAGE:-brassnet.ddns.net:33983/dawnsorrow/stoat-role-bot:latest}
container_name: stoat-role-bot
restart: unless-stopped
environment:
- STOAT_BOT_TOKEN=${STOAT_BOT_TOKEN}
- REVOLT_BOT_TOKEN=${REVOLT_BOT_TOKEN}
- PREFIX=${PREFIX:-!}
- CONFIG_PATH=/app/config
volumes:
- ./config:/app/config:rw