node is host
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
POSTGRES_DB=postgres
|
||||
POSTGRES_PASSWORD=postgres
|
||||
POSTGRES_USER=postgres
|
||||
@@ -3,9 +3,9 @@ version: '3.6'
|
||||
services:
|
||||
postgres:
|
||||
environment:
|
||||
- POSTGRES_DB=${POSTGRES_DB}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_DB=${POSTGRES_DB:-postgres}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-postgres}
|
||||
- POSTGRES_USER=${POSTGRES_USER:-postgres}
|
||||
labels:
|
||||
- SERVICE_5432_CHECK_TCP=true
|
||||
- SERVICE_5432_NAME=${COMPOSE_SERVICE_NAME}-postgres-5432
|
||||
|
||||
Reference in New Issue
Block a user