fix(05-review): IN-02 add empty-string fallbacks for VAPID env vars in docker-compose
This commit is contained in:
+3
-3
@@ -26,9 +26,9 @@ services:
|
|||||||
# VAPID keys for Web Push notifications (Phase 5).
|
# VAPID keys for Web Push notifications (Phase 5).
|
||||||
# Generate with: npx web-push generate-vapid-keys --json
|
# Generate with: npx web-push generate-vapid-keys --json
|
||||||
# Private key must only live in the gitignored .env — never commit it.
|
# Private key must only live in the gitignored .env — never commit it.
|
||||||
VAPID_PUBLIC_KEY: ${VAPID_PUBLIC_KEY}
|
VAPID_PUBLIC_KEY: ${VAPID_PUBLIC_KEY:-}
|
||||||
VAPID_PRIVATE_KEY: ${VAPID_PRIVATE_KEY}
|
VAPID_PRIVATE_KEY: ${VAPID_PRIVATE_KEY:-}
|
||||||
VAPID_SUBJECT: ${VAPID_SUBJECT}
|
VAPID_SUBJECT: ${VAPID_SUBJECT:-}
|
||||||
depends_on:
|
depends_on:
|
||||||
mariadb:
|
mariadb:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|||||||
Reference in New Issue
Block a user