feat(synapse): allow overriding ulimits

This commit is contained in:
Jan Christian Grünhage 2022-09-19 22:03:50 +02:00
parent 143d924437
commit 4ee415f8e5
No known key found for this signature in database
GPG key ID: EEC1170CE56FA2ED
2 changed files with 3 additions and 0 deletions

View file

@ -100,6 +100,8 @@ matrix_synapse_worker_client_endpoints: >-
+ matrix_synapse_worker_client_presence_endpoints + matrix_synapse_worker_client_presence_endpoints
}} }}
matrix_synapse_container_ulimits: []
# Certificate management # Certificate management
matrix_synapse_container_certificate_refresh: false matrix_synapse_container_certificate_refresh: false
matrix_synapse_container_certificate_refresh_command: "update-ca-certificates --fresh" matrix_synapse_container_certificate_refresh_command: "update-ca-certificates --fresh"

View file

@ -83,6 +83,7 @@
volumes: "{{ matrix_synapse_docker_volumes }}" volumes: "{{ matrix_synapse_docker_volumes }}"
restart_policy: unless-stopped restart_policy: unless-stopped
state: started state: started
ulimits: "{{ matrix_synapse_container_ulimits }}"
register: matrix_synapse_container_started register: matrix_synapse_container_started
when: matrix_synapse_deployment_method == "docker" when: matrix_synapse_deployment_method == "docker"
tags: ['deploy', 'deploy-synapse'] tags: ['deploy', 'deploy-synapse']