Normalize admin routes and docker config

This commit is contained in:
Lectom C Han
2026-02-04 12:40:02 +09:00
parent bf86b1d1e7
commit 410b2b7b48
30 changed files with 467 additions and 231 deletions

View File

@@ -21,8 +21,14 @@ services:
db:
image: postgres:16
# ports:
# - "5432:5432"
ports:
- "0.0.0.0:${DB_HOST_PORT:-5432}:5432"
command:
- "postgres"
- "-c"
- "listen_addresses=*"
- "-c"
- "hba_file=/etc/postgresql/pg_hba.conf"
environment:
POSTGRES_DB: ${DB_NAME:-kngil}
POSTGRES_USER: ${DB_USER:-postgres}
@@ -30,6 +36,7 @@ services:
volumes:
- db_data:/var/lib/postgresql/data
- ./docker/initdb/01_kngil_DB.sql:/docker-entrypoint-initdb.d/01_kngil_DB.sql:ro
- ./docker/postgres/pg_hba.conf:/etc/postgresql/pg_hba.conf:ro
volumes:
db_data: