fix(docker): use DATABASE_URL from env directly, don't construct from raw password
This commit is contained in:
+2
-2
@@ -23,7 +23,7 @@ services:
|
||||
ports:
|
||||
- "${PORT:-3000}:3000"
|
||||
environment:
|
||||
DATABASE_URL: postgresql://grow:${POSTGRES_PASSWORD:-changeme}@db:5432/grow
|
||||
DATABASE_URL: ${DATABASE_URL}
|
||||
NEXTAUTH_URL: ${NEXTAUTH_URL}
|
||||
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
|
||||
SUPERADMIN_EMAIL: ${SUPERADMIN_EMAIL}
|
||||
@@ -47,7 +47,7 @@ services:
|
||||
db:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
DATABASE_URL: postgresql://grow:${POSTGRES_PASSWORD:-changeme}@db:5432/grow
|
||||
DATABASE_URL: ${DATABASE_URL}
|
||||
restart: "no"
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user