These five stacks still asked for :latest, but the build stopped pushing it - on main it only pushes main and prod, on dev only dev. Every one of these images therefore resolved only because the registry still had a stale :latest from before that change, and the next time one of them was actually built the reference would have dangled. Named for dtek-notif: of the seven, only that one still resolved at :prod, because it is the only image not rebuilt since the build dropped :latest - and it is the only one of these five stacks the deploy does not manage (no `active` marker, and its file is docker-compose.yaml, which the COMPOSE_STACKS glob does not even match). Touching dtek_notif/docker-compose.yaml matches dtek_notif/* in the build's changed-service detector, so pushing this builds it and publishes :prod for it too. Verified the other six resolve at :prod in the registry.
66 lines
2.4 KiB
YAML
66 lines
2.4 KiB
YAML
services:
|
|
forust:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.forust
|
|
image: gcr.forust.xyz/forust/forust-homepage:prod
|
|
pull_policy: build
|
|
# ports:
|
|
# - "8085:80"
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./forust_files:/usr/share/nginx/html
|
|
networks:
|
|
- proxy
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.services.forust-homepage.loadbalancer.server.port=80"
|
|
|
|
# Prod Router
|
|
- "traefik.http.routers.forust-homepage.rule=Host(`forust.xyz`) || Host(`www.forust.xyz`)"
|
|
- "traefik.http.routers.forust-homepage.entrypoints=websecure"
|
|
- "traefik.http.routers.forust-homepage.priority=10"
|
|
- "traefik.http.routers.forust-homepage.tls.certresolver=letsencrypt"
|
|
# Local Router
|
|
- "traefik.http.routers.forust-homepage-local.rule=Host(`landing.workstation.internal`)"
|
|
- "traefik.http.routers.forust-homepage-local.entrypoints=websecure"
|
|
- "traefik.http.routers.forust-homepage-local.priority=10"
|
|
- "traefik.http.routers.forust-homepage-local.tls=true"
|
|
# Dev Router
|
|
- "traefik.http.routers.forust-homepage-dev.rule=Host(`landing.gigaforust.internal`)"
|
|
- "traefik.http.routers.forust-homepage-dev.entrypoints=websecure"
|
|
- "traefik.http.routers.forust-homepage-dev.priority=10"
|
|
- "traefik.http.routers.forust-homepage-dev.tls=true"
|
|
xdfnx:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.xdfnx
|
|
image: gcr.forust.xyz/forust/xdfnx-homepage:prod
|
|
pull_policy: build
|
|
restart: unless-stopped
|
|
# ports:
|
|
# - "8086:80"
|
|
volumes:
|
|
- ./xdfnx_files:/usr/share/nginx/html
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.services.xdfnx-homepage.loadbalancer.server.port=80"
|
|
|
|
# Prod Router
|
|
- "traefik.http.routers.xdfnx.rule=Host(`xdfnx.cfd`) || Host(`www.xdfnx.cfd`)"
|
|
- "traefik.http.routers.xdfnx.entrypoints=websecure"
|
|
- "traefik.http.routers.xdfnx.tls.certresolver=letsencrypt"
|
|
# Local Router
|
|
- "traefik.http.routers.xdfnx-local.rule=Host(`xdfnx.workstation.internal`)"
|
|
- "traefik.http.routers.xdfnx-local.entrypoints=websecure"
|
|
- "traefik.http.routers.xdfnx-local.tls=true"
|
|
# Dev Router
|
|
- "traefik.http.routers.xdfnx-dev.rule=Host(`xdfnx.gigaforust.internal`)"
|
|
- "traefik.http.routers.xdfnx-dev.entrypoints=websecure"
|
|
- "traefik.http.routers.xdfnx-dev.tls=true"
|
|
networks:
|
|
- proxy
|
|
networks:
|
|
proxy:
|
|
external: true
|