update docker-compose
parent
f9bd4d63d6
commit
3d9161d515
|
|
@ -169,10 +169,14 @@ services:
|
|||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
volumes:
|
||||
- ./pgdata:/var/lib/postgresql/18/docker
|
||||
- ../../../config/database/postgresql/postgresql.conf:/var/lib/postgresql/18/docker/postgresql.conf
|
||||
- ../../../config/database/postgresql/pg_hba.conf:/var/lib/postgresql/18/docker/pg_hba.conf
|
||||
- ../../../config/database/postgresql/postgresql.conf:/etc/postgresql/postgresql.conf:ro
|
||||
- ../../../config/database/postgresql/pg_hba.conf:/etc/postgresql/pg_hba.conf:ro
|
||||
# - ../../../config/database/postgresql/init.sql:/docker-entrypoint-initdb.d/init.sql:ro
|
||||
- ../../../logs/postgresql:/var/log/postgresql
|
||||
command: >
|
||||
postgres
|
||||
-c config_file=/etc/postgresql/postgresql.conf
|
||||
-c hba_file=/etc/postgresql/pg_hba.conf
|
||||
restart: always
|
||||
profiles:
|
||||
- postgres
|
||||
|
|
|
|||
Loading…
Reference in New Issue