Fix in docker-comose, binding changes
This commit is contained in:
+3
-3
@@ -11,7 +11,7 @@ services:
|
||||
ports:
|
||||
- "5432:5432"
|
||||
healthcheck:
|
||||
test: [ "CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${DATABASE_USER}" ]
|
||||
test: [ "CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}" ]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
@@ -20,7 +20,7 @@ services:
|
||||
POSTGRES_USER: ${POSTGRES_USER}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
volumes:
|
||||
- /var/lib/postgresql/data:/var/lib/postgresql/data
|
||||
- ./postgres:/var/lib/postgresql/data
|
||||
|
||||
scala:
|
||||
environment:
|
||||
@@ -36,6 +36,6 @@ services:
|
||||
volumes:
|
||||
- ./:/app
|
||||
ports:
|
||||
- "9080:8080"
|
||||
- "9090:8080"
|
||||
depends_on:
|
||||
- postgres
|
||||
Reference in New Issue
Block a user