mirror of
https://github.com/famedly/ansible-collection-base
synced 2024-11-10 06:24:17 +00:00
chore(postgresql): allow to set maximum memory including swap and controlling the OOM killer
This commit is contained in:
parent
491f853285
commit
64ee704401
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue