fix(Postgres): Add container name or postgres by default on postgres host
This commit is contained in:
@ -28,7 +28,7 @@ services:
|
||||
PUBLIC_URL: ${DIRECTUS_PUBLIC_URL:?err}
|
||||
|
||||
DB_CLIENT: 'pg'
|
||||
DB_HOST: ${POSTGRES_CONTAINER_NAME:-postgres}
|
||||
DB_HOST: ${POSTGRES_CONTAINER_NAME:-postgres} # Default name is same as ../postgres/docker-compose.yml:8
|
||||
DB_PORT: '5432'
|
||||
DB_DATABASE: ${POSTGRES_DB:?err}
|
||||
DB_USER: ${POSTGRES_USER:?err}
|
||||
|
Reference in New Issue
Block a user