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.
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
services:
|
|
redis:
|
|
image: redis:8.10.2-alpine
|
|
restart: unless-stopped
|
|
volumes:
|
|
- redis-data:/data
|
|
healthcheck:
|
|
test: ["CMD", "redis-cli", "ping"]
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 5
|
|
|
|
playwright-service:
|
|
image: mcr.microsoft.com/playwright:v1.56.0-jammy
|
|
restart: unless-stopped
|
|
command: npx -y playwright@1.56.0 run-server --port 3000 --path /ws
|
|
|
|
session-keeper:
|
|
build: ./phpsessid-bot
|
|
image: gcr.forust.xyz/forust/session-keeper:prod
|
|
pull_policy: build
|
|
env_file: .env
|
|
restart: unless-stopped
|
|
depends_on:
|
|
redis:
|
|
condition: service_healthy
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "redis-cli -h redis EXISTS EDU_PHPSESSID | grep -q 1"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 10
|
|
start_period: 60s
|
|
|
|
webinar-checker:
|
|
build: ./webinar-checker
|
|
image: gcr.forust.xyz/forust/webinar-checker:prod
|
|
pull_policy: build
|
|
env_file: .env
|
|
restart: unless-stopped
|
|
depends_on:
|
|
redis:
|
|
condition: service_healthy
|
|
session-keeper:
|
|
condition: service_healthy
|
|
playwright-service:
|
|
condition: service_started
|
|
|
|
volumes:
|
|
redis-data:
|