HOSTNAME: "0.0.0.0"
This commit is contained in:
@@ -52,6 +52,10 @@ services:
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
# Docker sets HOSTNAME=<container-id>, and the Next.js standalone server binds to
|
||||
# exactly that one interface - localhost (healthcheck) and the container's other
|
||||
# network addresses then answer with ECONNREFUSED.
|
||||
HOSTNAME: "0.0.0.0"
|
||||
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?schema=public
|
||||
DIRECT_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}?schema=public
|
||||
REDIS_URL: redis://redis:6379
|
||||
|
||||
Reference in New Issue
Block a user