services: bot: image: golang:1.25 working_dir: /app volumes: - ./:/app command: sh -c "git pull && if [ ! -f .env ]; then echo \".env file not found! Please create one based on .env.example and set your DISCORD_BOT_TOKEN.\"; exit 1; fi && go mod tidy && go run ." env_file: - .env # Optional: Set Kuma monitoring variables in .env file: # Kuma-Push-Url=https://your-uptime-kuma-instance.com/api/push/xxxxx # Kuma-Push-Interval=60