Add logging. Use the normal PG ports.
This commit is contained in:
@@ -6,11 +6,13 @@ services:
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
POSTGRES_MULTIPLE_DATABASES: solid_cache, solid_queue
|
||||
ports:
|
||||
- "${HOST_IP}:5431:5432"
|
||||
- "${HOST_IP}:5432:5432"
|
||||
volumes:
|
||||
- ./postgresql.${HOST_KIND}.conf:/etc/postgresql/postgresql.conf:ro
|
||||
- ./multiple-databases.sh:/docker-entrypoint-initdb.d/multiple-databases.sh
|
||||
- postgres_solid_stuff_data:/var/lib/postgresql/data
|
||||
- ./pglogs:/var/log/postgresql
|
||||
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
# - /var/pgdata/17:/var/lib/postgresql/data
|
||||
|
||||
command: ["postgres", "-c", "config_file=/etc/postgresql/postgresql.conf"]
|
||||
@@ -21,10 +23,10 @@ services:
|
||||
depends_on:
|
||||
- solid-pg
|
||||
ports:
|
||||
- "${HOST_IP}:6431:5432"
|
||||
- "${HOST_IP}:6432:5432"
|
||||
volumes:
|
||||
- ./pgbouncer.ini:/etc/pgbouncer/pgbouncer.ini:ro
|
||||
- ./userlist.txt:/etc/pgbouncer/userlist.txt
|
||||
|
||||
volumes:
|
||||
postgres_solid_stuff_data:
|
||||
pgdata:
|
||||
Reference in New Issue
Block a user