Skip to content

Commit

Permalink
config fix for postgres docker defaults (LemmyNet#183)
Browse files Browse the repository at this point in the history
Co-authored-by: Dessalines <tyhou13@gmx.com>
  • Loading branch information
2 people authored and snowe2010 committed Jan 30, 2024
1 parent 4fc8bc7 commit 681abb3
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 @@ -134,6 +134,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 681abb3

Please sign in to comment.