Update Docker Compose file to modify volume mount and clean up comments
This commit is contained in:
@@ -10,11 +10,10 @@ services:
|
||||
PGDATA: /var/lib/postgresql/data/pgdata
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- ./certs:/certs:ro
|
||||
- ./certs:/certs
|
||||
- ./init-scripts:/docker-entrypoint-initdb.d:ro
|
||||
- ./custom-conf:/etc/postgresql/conf.d:ro
|
||||
ports:
|
||||
- "5432:5432" # accessible from LAN
|
||||
- "5432:5432"
|
||||
command: >
|
||||
postgres
|
||||
-c listen_addresses='*'
|
||||
@@ -24,7 +23,6 @@ services:
|
||||
-c ssl_ca_file=/certs/ca.crt
|
||||
-c log_timezone=UTC
|
||||
-c timezone=UTC
|
||||
-c config_file=/etc/postgresql/conf.d/postgresql.conf
|
||||
networks:
|
||||
- pgnet
|
||||
|
||||
|
||||
Reference in New Issue
Block a user