forked from coop-cloud/nextcloud
add env MAX_DB_CONNECTIONS to set the database connection limit
This commit is contained in:
@ -11,6 +11,7 @@ services:
|
||||
|
||||
db:
|
||||
image: "postgres:12"
|
||||
command: -c "max_connections=${MAX_DB_CONNECTIONS:-100}"
|
||||
volumes:
|
||||
- "postgres:/var/lib/postgresql/data"
|
||||
networks:
|
||||
|
Reference in New Issue
Block a user