Normalize admin routes and docker config
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user