Files
ttrpg_manager/docker-compose.yml
NilsBriggenandClaude Fable 5 1420f4d0c5 Server-live fork as deployed to ttrpg.briggen.dev (built 2026-06-30)
Reconstructed from /root/briggen-dev/ttrpg — the tree the running prod
container was composed from. Forked from 235cdec (2026-06-08); adds 3D
dice + themes, extended dice notation, session replay, route-level code
splitting, and more.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 22:33:08 +02:00

39 lines
1.1 KiB
YAML

# Self-contained compose project for ttrpg.briggen.dev.
# Deploy: rsync the repo to /root/briggen-dev/ttrpg/, place this file there as
# docker-compose.yml, then `docker compose up -d --build`.
# Joins the EXISTING external `proxy` network — the shared Traefik stack is untouched.
name: ttrpg
services:
ttrpg:
build: .
container_name: ttrpg
restart: unless-stopped
environment:
- PORT=8787
- STATIC_DIR=/app/dist
- NODE_ENV=production
- DATA_DIR=/data
- ALLOWED_ORIGINS=https://ttrpg.briggen.dev
# comma-separated usernames that can see the admin panel (set to your account)
- ADMIN_USERS=nilsb
volumes:
- ttrpg-data:/data
security_opt:
- no-new-privileges:true
labels:
- "traefik.enable=true"
- "traefik.http.routers.ttrpg.rule=Host(`ttrpg.briggen.dev`)"
- "traefik.http.routers.ttrpg.entrypoints=websecure"
- "traefik.http.routers.ttrpg.tls.certresolver=letsencrypt"
- "traefik.http.services.ttrpg.loadbalancer.server.port=8787"
networks:
- proxy
volumes:
ttrpg-data:
networks:
proxy:
external: true