mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-10 04:25:20 +02:00
feat(postgres): add split_postgres_connections filter and average pool fact
Compute POSTGRES_ALLOWED_AVG_CONNECTIONS once and propagate to app roles (gitlab, mastodon, listmonk, matrix, pretix, mobilizon, openproject, discourse). Fix docker-compose postgres command (-c flags split). Add unit tests. Minor env/locale tweaks and includes. Conversation: https://chatgpt.com/share/68b48e72-cc28-800f-9c21-270cbc17d82a
This commit is contained in:
@@ -17,7 +17,7 @@ database:
|
||||
database: "{{ database_name }}"
|
||||
host: "{{ database_host }}"
|
||||
cp_min: 5
|
||||
cp_max: 10
|
||||
cp_max: {{ POSTGRES_ALLOWED_AVG_CONNECTIONS }}
|
||||
log_config: "{{ MATRIX_SYNAPSE_LOG_PATH_CONTAINER }}"
|
||||
media_store_path: "/data/media_store"
|
||||
registration_shared_secret: "{{ MATRIX_REGISTRATION_SHARED_SECRET }}"
|
||||
|
Reference in New Issue
Block a user