# 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:-gitea.example.com/username/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