Skip to content

Commit 6837374

Browse files
committed
Forward DEVICE_ID_PEPPER from .env into the app container
1 parent 4a85707 commit 6837374

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docker-compose.prod.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ services:
8989
# accidentally-open dashboard after a bad deploy.
9090
APP_ENV: production
9191
ADMIN_TOKEN: ${ADMIN_TOKEN}
92+
# Pepper for hashing device IDs before they hit Postgres. Required in
93+
# production; rotating this invalidates existing hashes (acceptable —
94+
# privacy hardening V6).
95+
DEVICE_ID_PEPPER: ${DEVICE_ID_PEPPER}
9296
depends_on:
9397
postgres:
9498
condition: service_healthy

0 commit comments

Comments
 (0)