Skip to content

Commit 26bbd0b

Browse files
committed
fix: increase number of connections allowed in staging DB
1 parent 8968113 commit 26bbd0b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docker-compose.staging.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ services:
3737
dockerfile: ./compose/local/postgres/Dockerfile
3838
# Share the local Postgres image with the staging configuration.
3939
# Production uses an external Postgres service.
40+
command: >
41+
postgres
42+
-c max_connections=300
43+
-c shared_preload_libraries=pg_stat_statements
4044
volumes:
4145
- ami_local_postgres_data:/var/lib/postgresql/data
4246
- ./data/db/snapshots:/backups

0 commit comments

Comments
 (0)