refactor(config): enforce runtime auth secret policy
This commit is contained in:
+5
-5
@@ -52,10 +52,10 @@ services:
|
||||
ports:
|
||||
- "3100:3100"
|
||||
environment:
|
||||
DATABASE_URL: postgresql://capakraken:capakraken_dev@postgres:5432/capakraken
|
||||
REDIS_URL: redis://redis:6379
|
||||
NEXTAUTH_URL: http://localhost:3100
|
||||
NEXTAUTH_SECRET: dev-secret-change-in-production
|
||||
DATABASE_URL: ${DATABASE_URL:-postgresql://capakraken:capakraken_dev@postgres:5432/capakraken}
|
||||
REDIS_URL: ${REDIS_URL:-redis://redis:6379}
|
||||
NEXTAUTH_URL: ${NEXTAUTH_URL:-http://localhost:3100}
|
||||
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET:?set NEXTAUTH_SECRET}
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
@@ -64,7 +64,7 @@ services:
|
||||
volumes:
|
||||
- .:/app
|
||||
- /app/node_modules
|
||||
- /app/.next
|
||||
- /app/apps/web/.next
|
||||
profiles:
|
||||
- full
|
||||
|
||||
|
||||
Reference in New Issue
Block a user