added max_connection600

This commit is contained in:
Mohamed Nouffer
2023-05-03 16:31:38 +05:30
parent b5ad16e281
commit 9993a871a1
2 changed files with 782 additions and 1 deletions

View File

@ -7,11 +7,12 @@ services:
- 5432:5432
volumes:
- postgres_data:/var/lib/postgresql
- ./custom-postgresql.conf:/etc/postgresql/12/main/postgresql.conf
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASS=${POSTGRES_PASS}
- POSTGRES_DBNAME=${POSTGRES_DBNAME}
- POSTGRES_MAX_CONNECTIONS=200
- POSTGRES_MAX_CONNECTIONS=600
restart: "on-failure"
networks: