mirror of
https://github.com/famedly/ansible-collection-base
synced 2024-11-10 06:24:17 +00:00
feat(postgresql): replace oom_killer with oom_score_adj
Docker ignores OomKillDisable with cgroup v2
This commit is contained in:
parent
77a823859f
commit
a412e7161b
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@
|
||||||
memory: "{{ postgresql_container_memory }}"
|
memory: "{{ postgresql_container_memory }}"
|
||||||
memory_swap: "{{ postgresql_container_memory_swap | default(omit) }}"
|
memory_swap: "{{ postgresql_container_memory_swap | default(omit) }}"
|
||||||
shm_size: "{{ postgresql_container_shm_size }}"
|
shm_size: "{{ postgresql_container_shm_size }}"
|
||||||
oom_killer: "{{ postgresql_container_oom_killer | default(omit) }}"
|
oom_score_adj: "{{ postgresql_container_oom_score_adj | default(omit) }}"
|
||||||
recreate: "{{ postgresql_container_recreate }}"
|
recreate: "{{ postgresql_container_recreate }}"
|
||||||
user: "{{ postgresql_user_res.uid }}:{{ postgresql_user_res.group }}"
|
user: "{{ postgresql_user_res.uid }}:{{ postgresql_user_res.group }}"
|
||||||
restart_policy: "unless-stopped"
|
restart_policy: "unless-stopped"
|
||||||
|
|
Loading…
Reference in a new issue