diff --git a/examples/customPostgresql.conf b/examples/customPostgresql.conf index 49428e4..21ed5fc 100644 --- a/examples/customPostgresql.conf +++ b/examples/customPostgresql.conf @@ -28,3 +28,6 @@ temp_file_size=1GB synchronous_commit=off # This one shouldn't be on regularly, because DB migrations often take a long time # statement_timeout = 10000 + +# Listen beyond localhost +listen_addresses = '*' diff --git a/templates/docker-compose.yml b/templates/docker-compose.yml index 1af1b3f..6256534 100644 --- a/templates/docker-compose.yml +++ b/templates/docker-compose.yml @@ -101,6 +101,7 @@ services: - ./volumes/postgres:/var/lib/postgresql/data:Z - ./customPostgresql.conf:/etc/postgresql.conf restart: always + command: postgres -c config_file=/etc/postgresql.conf logging: *default-logging postfix: