Fix memory limits in docker-compose to use strings, not numbers

docker-compose with commit 2b4d409ac3
started to require memory limits to be specified as strings.

Related: https://pagure.io/freeipa/issue/8494
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Alexander Bokovoy 2020-09-14 16:16:54 +03:00
parent 13409382ae
commit 67b2558af9

View File

@ -8,7 +8,7 @@ services:
security_opt:
- apparmor:unconfined
- seccomp:./seccomp.json
mem_limit: 1900m
mem_limit: "1900m"
volumes:
- /sys/fs/cgroup/systemd:/sys/fs/cgroup/systemd
- ./test-config.yaml:/root/.ipa/ipa-test-config.yaml:ro
@ -25,7 +25,7 @@ services:
security_opt:
- apparmor:unconfined
- seccomp:./seccomp.json
mem_limit: 1900m
mem_limit: "1900m"
volumes:
- /sys/fs/cgroup/systemd:/sys/fs/cgroup/systemd
networks:
@ -39,7 +39,7 @@ services:
security_opt:
- apparmor:unconfined
- seccomp:./seccomp.json
mem_limit: 536870912
mem_limit: "536870912"
volumes:
- /sys/fs/cgroup/systemd:/sys/fs/cgroup/systemd
# nfs server