Fix docker-compose: add NODE_ENV=production to all services (drift crashes on pino-pretty in dev mode)
This commit is contained in:
@@ -61,6 +61,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "3001:3000"
|
- "3001:3000"
|
||||||
environment:
|
environment:
|
||||||
|
NODE_ENV: production
|
||||||
PORT: "3000"
|
PORT: "3000"
|
||||||
DATABASE_URL: postgresql://dd0c:dd0c-dev@postgres:5432/dd0c_route
|
DATABASE_URL: postgresql://dd0c:dd0c-dev@postgres:5432/dd0c_route
|
||||||
REDIS_URL: redis://redis:6379
|
REDIS_URL: redis://redis:6379
|
||||||
@@ -110,6 +111,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "3002:3000"
|
- "3002:3000"
|
||||||
environment:
|
environment:
|
||||||
|
NODE_ENV: production
|
||||||
PORT: "3000"
|
PORT: "3000"
|
||||||
DATABASE_URL: postgresql://dd0c:dd0c-dev@postgres:5432/dd0c_drift
|
DATABASE_URL: postgresql://dd0c:dd0c-dev@postgres:5432/dd0c_drift
|
||||||
REDIS_URL: redis://redis:6379
|
REDIS_URL: redis://redis:6379
|
||||||
@@ -127,6 +129,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "3003:3000"
|
- "3003:3000"
|
||||||
environment:
|
environment:
|
||||||
|
NODE_ENV: production
|
||||||
PORT: "3000"
|
PORT: "3000"
|
||||||
DATABASE_URL: postgresql://dd0c:dd0c-dev@postgres:5432/dd0c_alert
|
DATABASE_URL: postgresql://dd0c:dd0c-dev@postgres:5432/dd0c_alert
|
||||||
REDIS_URL: redis://redis:6379
|
REDIS_URL: redis://redis:6379
|
||||||
@@ -144,6 +147,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "3004:3000"
|
- "3004:3000"
|
||||||
environment:
|
environment:
|
||||||
|
NODE_ENV: production
|
||||||
PORT: "3000"
|
PORT: "3000"
|
||||||
DATABASE_URL: postgresql://dd0c:dd0c-dev@postgres:5432/dd0c_portal
|
DATABASE_URL: postgresql://dd0c:dd0c-dev@postgres:5432/dd0c_portal
|
||||||
REDIS_URL: redis://redis:6379
|
REDIS_URL: redis://redis:6379
|
||||||
@@ -163,6 +167,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "3007:3000"
|
- "3007:3000"
|
||||||
environment:
|
environment:
|
||||||
|
NODE_ENV: production
|
||||||
PORT: "3000"
|
PORT: "3000"
|
||||||
DATABASE_URL: postgresql://dd0c:dd0c-dev@postgres:5432/dd0c_cost
|
DATABASE_URL: postgresql://dd0c:dd0c-dev@postgres:5432/dd0c_cost
|
||||||
REDIS_URL: redis://redis:6379
|
REDIS_URL: redis://redis:6379
|
||||||
@@ -181,6 +186,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "3006:3000"
|
- "3006:3000"
|
||||||
environment:
|
environment:
|
||||||
|
NODE_ENV: production
|
||||||
PORT: "3000"
|
PORT: "3000"
|
||||||
DATABASE_URL: postgresql://dd0c:dd0c-dev@postgres:5432/dd0c_run
|
DATABASE_URL: postgresql://dd0c:dd0c-dev@postgres:5432/dd0c_run
|
||||||
REDIS_URL: redis://redis:6379
|
REDIS_URL: redis://redis:6379
|
||||||
|
|||||||
Reference in New Issue
Block a user