datacenterbingo/docker-compose.yml
Sergei Poljanski 490bb3748c
All checks were successful
Build and Deploy to Production / test (push) Successful in 16s
Build and Deploy to Production / build (push) Successful in 49s
Build and Deploy to Production / deploy (push) Successful in 37s
docs: object storage is Garage now
The notes and comments still spoke of a MinIO user and of asxpio's
bucket. The photos are in datacenterbingo-photos on Garage, read with a
read-only S3 key.

Assisted-by: Claude:fable-5-2
2026-11-11 04:28:35 +04:00

27 lines
995 B
YAML

services:
bingo:
# Image is set by the deploy workflow (registry/user/datacenterbingo:sha).
build: .
image: datacenterbingo:latest
container_name: datacenterbingo
restart: unless-stopped
env_file: .env
networks:
- traefik
- storage # postgres + garage (S3)
labels:
- "traefik.enable=true"
# Priority beats the old asxpio-bingo router while both exist.
- "traefik.http.routers.datacenterbingo.rule=Host(`${BINGO_HOST}`) || Host(`www.${BINGO_HOST}`)"
- "traefik.http.routers.datacenterbingo.priority=1000"
- "traefik.http.routers.datacenterbingo.entrypoints=websecure"
- "traefik.http.routers.datacenterbingo.tls=true"
- "traefik.http.routers.datacenterbingo.tls.certresolver=letsencrypt"
- "traefik.http.routers.datacenterbingo.service=datacenterbingo"
- "traefik.http.services.datacenterbingo.loadbalancer.server.port=3000"
networks:
traefik:
external: true
storage:
external: true