chore: update port so it doesn't conflict with sso

This commit is contained in:
Hafizh A. Y
2025-09-30 16:48:05 +07:00
parent 94a6d41a61
commit dbc1f79a36
19 changed files with 668 additions and 37 deletions
+4 -4
View File
@@ -3,7 +3,7 @@ services:
image: postgres:alpine
restart: always
ports:
- "${DB_PORT:-5432}:5432"
- "${DB_PORT_HOST:-5542}:5432"
environment:
POSTGRES_USER: ${DB_USER:-postgres}
POSTGRES_PASSWORD: ${DB_PASSWORD:-postgres}
@@ -25,7 +25,7 @@ services:
image: redis:7-alpine
restart: unless-stopped
ports:
- "6379:6379"
- "${REDIS_PORT_HOST:-6381}:6379"
healthcheck:
test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
interval: 5s
@@ -54,13 +54,13 @@ services:
DB_NAME: ${DB_NAME:-db_lti_erp}
REDIS_URL: ${REDIS_URL:-redis://redis:6379/0}
ports:
- "${APP_PORT:-8080}:8080"
- "${APP_PORT:-8081}:8081"
depends_on:
postgresdb:
condition: service_healthy
networks: [go-network]
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://localhost:8080/healthz || exit 1"]
test: ["CMD-SHELL", "wget -qO- http://localhost:8081/healthz || exit 1"]
interval: 10s
timeout: 3s
retries: 10