Fix in docker-comose, binding changes

This commit is contained in:
Guntis Smaukstelis
2023-12-28 12:11:08 +02:00
parent 5dfe61137c
commit 7d78a96e35
3 changed files with 6 additions and 5 deletions
+3 -3
View File
@@ -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