Skip to content

Commit

Permalink
config fix for postgres docker defaults (#183)
Browse files Browse the repository at this point in the history
Co-authored-by: Dessalines <tyhou13@gmx.com>
  • Loading branch information
Fmstrat and dessalines committed Oct 9, 2023
1 parent 31f1137 commit 22aa431
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/customPostgresql.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '*'
1 change: 1 addition & 0 deletions templates/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 22aa431

Please sign in to comment.