0a57be59f4
Build and Push Image / build (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
20 lines
752 B
YAML
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
|