Loading Dockerfile +0 −2 Original line number Diff line number Diff line Loading @@ -3,8 +3,6 @@ FROM postgres:10.3 ENV PG_PORT="5432" \ PG_MAX_CONNECTIONS="400" \ PG_SHARED_PRELOAD_LIBRARIES="pg_cron" \ PG_WAL_LEVEL="minimal" \ PG_MAX_WAL_SIZE="80MB" \ POSTGRES_USER="postgres" \ POSTGRES_PASSWORD="password" \ PG_POSTGIS_VERSION="2.4" \ Loading scripts/postgresql.template +2 −2 Original line number Diff line number Diff line Loading @@ -177,7 +177,7 @@ shared_preload_libraries = '${PG_SHARED_PRELOAD_LIBRARIES}' # (change requires # - Settings - wal_level = ${PG_WAL_LEVEL} # minimal, replica, or logical #wal_level = ${PG_WAL_LEVEL} # minimal, replica, or logical # (change requires restart) #fsync = on # flush data to disk for crash safety # (turning this off can cause Loading Loading @@ -206,7 +206,7 @@ wal_level = ${PG_WAL_LEVEL} # minimal, replica, or logical # - Checkpoints - #checkpoint_timeout = 5min # range 30s-1d max_wal_size = ${PG_MAX_WAL_SIZE} #max_wal_size = ${PG_MAX_WAL_SIZE} #min_wal_size = 80MB #checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0 #checkpoint_flush_after = 0 # measured in pages, 0 disables Loading Loading
Dockerfile +0 −2 Original line number Diff line number Diff line Loading @@ -3,8 +3,6 @@ FROM postgres:10.3 ENV PG_PORT="5432" \ PG_MAX_CONNECTIONS="400" \ PG_SHARED_PRELOAD_LIBRARIES="pg_cron" \ PG_WAL_LEVEL="minimal" \ PG_MAX_WAL_SIZE="80MB" \ POSTGRES_USER="postgres" \ POSTGRES_PASSWORD="password" \ PG_POSTGIS_VERSION="2.4" \ Loading
scripts/postgresql.template +2 −2 Original line number Diff line number Diff line Loading @@ -177,7 +177,7 @@ shared_preload_libraries = '${PG_SHARED_PRELOAD_LIBRARIES}' # (change requires # - Settings - wal_level = ${PG_WAL_LEVEL} # minimal, replica, or logical #wal_level = ${PG_WAL_LEVEL} # minimal, replica, or logical # (change requires restart) #fsync = on # flush data to disk for crash safety # (turning this off can cause Loading Loading @@ -206,7 +206,7 @@ wal_level = ${PG_WAL_LEVEL} # minimal, replica, or logical # - Checkpoints - #checkpoint_timeout = 5min # range 30s-1d max_wal_size = ${PG_MAX_WAL_SIZE} #max_wal_size = ${PG_MAX_WAL_SIZE} #min_wal_size = 80MB #checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0 #checkpoint_flush_after = 0 # measured in pages, 0 disables Loading