Files
archicratie-edition/docker-compose.yml
Archicratia fe7810671d
All checks were successful
CI / build-and-anchors (push) Successful in 2m26s
SMOKE / smoke (push) Successful in 20s
fix(seo): enforce PUBLIC_SITE at docker build (canonical/sitemap) + set per blue/green
2026-02-21 12:31:23 +01:00

34 lines
995 B
YAML

services:
web_blue:
build:
context: .
dockerfile: Dockerfile
network: host
args:
REQUIRE_PUBLIC_SITE: "1"
PUBLIC_SITE: "https://staging.archicratie.trans-hands.synology.me"
PUBLIC_GITEA_BASE: ${PUBLIC_GITEA_BASE}
PUBLIC_GITEA_OWNER: ${PUBLIC_GITEA_OWNER}
PUBLIC_GITEA_REPO: ${PUBLIC_GITEA_REPO}
image: archicratie-web:blue
container_name: archicratie-web-blue
ports:
- "127.0.0.1:8081:80"
restart: unless-stopped
web_green:
build:
context: .
dockerfile: Dockerfile
network: host
args:
REQUIRE_PUBLIC_SITE: "1"
PUBLIC_SITE: "https://archicratie.trans-hands.synology.me"
PUBLIC_GITEA_BASE: ${PUBLIC_GITEA_BASE}
PUBLIC_GITEA_OWNER: ${PUBLIC_GITEA_OWNER}
PUBLIC_GITEA_REPO: ${PUBLIC_GITEA_REPO}
image: archicratie-web:green
container_name: archicratie-web-green
ports:
- "127.0.0.1:8082:80"
restart: unless-stopped