Fix api build
This commit is contained in:
+4
-1
@@ -43,7 +43,10 @@ services:
|
||||
redis:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
- DATABASE_URL=${DATABASE_URL:-postgresql://postgres:postgrespassword@postgres:5432/lucky_wheel?schema=public}
|
||||
# Always built from the same POSTGRES_* vars as the db service.
|
||||
# A separate DATABASE_URL in Dokploy (e.g. password "postgres" from another
|
||||
# stack) was authenticating as user postgres with the wrong password (P1000).
|
||||
- DATABASE_URL=postgresql://${POSTGRES_USER:-postgres}:${POSTGRES_PASSWORD:-postgrespassword}@postgres:5432/${POSTGRES_DB:-lucky_wheel}?schema=public
|
||||
- PORT=${PORT:-3000}
|
||||
- NODE_ENV=production
|
||||
- REDIS_HOST=redis
|
||||
|
||||
Reference in New Issue
Block a user