chore(postgresql): allow to set maximum memory including swap and controlling the OOM killer

This commit is contained in:
Johanna Dorothea Reichmann 2023-08-28 09:27:57 +02:00
parent 491f853285
commit 64ee704401
No known key found for this signature in database
GPG key ID: 03624C433676E465

View file

@ -98,7 +98,9 @@
ulimits: "{{ postgresql_container_ulimits }}"
memory_reservation: "{{ postgresql_container_memory_reservation }}"
memory: "{{ postgresql_container_memory }}"
memory_swap: "{{ postgresql_container_memory_swap | default(omit) }}"
shm_size: "{{ postgresql_container_shm_size }}"
oom_killer: "{{ postgresql_container_oom_killer | default(omit) }}"
recreate: "{{ postgresql_container_recreate }}"
user: "{{ postgresql_user_res.uid }}:{{ postgresql_user_res.group }}"
restart_policy: "unless-stopped"