feat: replace Lanyard with dk0 Sentinel Discord bot, make music link clickable
Some checks failed
CI / CD / test-build (push) Failing after 5m20s
CI / CD / deploy-dev (push) Has been cancelled
CI / CD / deploy-production (push) Has been cancelled

This commit is contained in:
2026-04-22 11:43:44 +02:00
parent 049dda8dc5
commit 3a9f8f4cc5
12 changed files with 573 additions and 16 deletions

View File

@@ -87,6 +87,33 @@ services:
retries: 5
start_period: 30s
discord-bot:
build:
context: ./discord-presence-bot
dockerfile: Dockerfile
container_name: portfolio-discord-bot
restart: unless-stopped
environment:
- DISCORD_BOT_TOKEN=${DISCORD_BOT_TOKEN}
- DISCORD_USER_ID=${DISCORD_USER_ID:-172037532370862080}
- BOT_PORT=3001
networks:
- portfolio_net
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:3001/presence"]
interval: 30s
timeout: 5s
retries: 3
start_period: 15s
deploy:
resources:
limits:
memory: 128M
cpus: '0.25'
reservations:
memory: 64M
cpus: '0.1'
volumes:
portfolio_data:
driver: local