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 ticoombs committed Oct 23, 2023
1 parent 0c98bfa commit b518a11
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 @@ -98,6 +98,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 b518a11

Please sign in to comment.