The public card now runs from its own repo and container, with a Traefik router of its own. Drop BingoWeb, its views, icons, Host dispatch and the asxpio-bingo router here; keep the admin, the schema and the photo pipeline, which the new site reads through a read-only role. BINGO_HOST stays for IndexNow pings and the admin's site link. Assisted-by: Claude:opus-5
26 lines
782 B
YAML
26 lines
782 B
YAML
services:
|
|
asxpio:
|
|
# Image will be dynamically updated during deployment
|
|
# Format: registry.example.com/user/asxpio:sha_tag
|
|
build: .
|
|
image: asxpio:latest
|
|
container_name: asxpio
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
networks:
|
|
- traefik
|
|
- storage
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.asxpio.rule=Host(`asxp.io`) || Host(`www.asxp.io`)"
|
|
- "traefik.http.routers.asxpio.entrypoints=websecure"
|
|
- "traefik.http.routers.asxpio.tls=true"
|
|
- "traefik.http.routers.asxpio.tls.certresolver=letsencrypt"
|
|
- "traefik.http.routers.asxpio.service=asxpio"
|
|
- "traefik.http.services.asxpio.loadbalancer.server.port=3000"
|
|
|
|
networks:
|
|
traefik:
|
|
external: true
|
|
storage:
|
|
external: true
|