fix(docker): configure correct RP_ID and ORIGIN environment variables for WebAuthn
This commit is contained in:
@@ -24,6 +24,8 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
PORT: 5000
|
PORT: 5000
|
||||||
DATABASE_URL: "postgresql://postgres:postgres@db:5432/daagbox?schema=public"
|
DATABASE_URL: "postgresql://postgres:postgres@db:5432/daagbox?schema=public"
|
||||||
|
RP_ID: localhost
|
||||||
|
ORIGIN: http://localhost
|
||||||
command: sh -c "npx prisma db push && node dist/index.js"
|
command: sh -c "npx prisma db push && node dist/index.js"
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
|
|||||||
Reference in New Issue
Block a user