Files
dogebot/deploy/quadlet/dogebot-postgres.container
T
ziadarafatandClaude Opus 5.5 ae08961a38 Dogebot: Red-DiscordBot with self-updating music, deployed with quadlets
- Red 3.5.24 (Postgres storage) with the dogesetup cog, which installs,
  loads and daily updates the cogs listed in src/dogebot/manifest.py and
  points Audio at our Lavalink
- Lavalink: Red's 3.7 build plus youtube-source (OAuth, TV/WEB clients) and
  yt-cipher; dogebot-update builds new versions, smoke tests them next to
  the live server and swaps them in with rollback, falling back from the
  plugin release to its newest snapshot
- Rootless podman quadlets for Red, Lavalink, yt-cipher and Postgres, a daily
  update timer, and deploy/install.sh
- mise for tools and tasks, uv for Python 3.11 and dependencies, ruff with
  the lptn settings, ty type checking, 37 pytest tests including a contract
  test for the Red internals dogesetup uses

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GUebqhE8dK19vyn4Ct5g1L
2026-11-04 17:35:28 -07:00

22 lines
521 B
INI

[Unit]
Description=dogebot: Postgres (Red's storage)
[Container]
ContainerName=dogebot-postgres
Image=docker.io/library/postgres:16-alpine
AutoUpdate=registry
Network=dogebot.network
Volume=dogebot-postgres.volume:/var/lib/postgresql/data
Environment=POSTGRES_USER=dogebot POSTGRES_DB=dogebot
Secret=dogebot-postgres-password,type=env,target=POSTGRES_PASSWORD
HealthCmd=pg_isready -U dogebot -d dogebot
HealthInterval=30s
HealthStartPeriod=30s
Notify=healthy
[Service]
Restart=always
[Install]
WantedBy=default.target