deploy(compose): inline restart: unless-stopped per service
CI / Lint · Typecheck · Test · Build (push) Successful in 51s
CI / Playwright (smoke) (push) Has been skipped
CI / Build & push images (push) Successful in 5m47s

Drop the x-restart YAML anchor — three-char-longer per service isn't
worth the indirection.
This commit is contained in:
2026-04-16 21:31:30 -04:00
parent fcd4aa6542
commit 439c1b41e6
+3 -6
View File
@@ -17,13 +17,10 @@
# in anticipation of the BullMQ worker follow-up; the API does not yet
# depend on it.
x-restart: &restart
restart: unless-stopped
services:
api:
<<: *restart
image: gitea.thewrightserver.net/josh/vector-api:${TAG:-latest}
restart: unless-stopped
environment:
NODE_ENV: production
PORT: 3001
@@ -43,8 +40,8 @@ services:
condition: service_healthy
web:
<<: *restart
image: gitea.thewrightserver.net/josh/vector-web:${TAG:-latest}
restart: unless-stopped
ports:
- "${WEB_PORT:-8080}:80"
depends_on:
@@ -52,8 +49,8 @@ services:
condition: service_healthy
redis:
<<: *restart
image: redis:7-alpine
restart: unless-stopped
volumes:
- vector-redisdata:/data
healthcheck: