refactor(docker-compose): Set default ulimits even when var is set (but set to just an empty string)
This commit is contained in:
parent
36f2eecba1
commit
215db1682d
@ -10,10 +10,10 @@ services:
|
||||
nginx:
|
||||
condition: service_healthy
|
||||
ulimits:
|
||||
nproc: ${ULIMIT_NPROC-65535}
|
||||
nproc: ${ULIMIT_NPROC:-65535}
|
||||
nofile:
|
||||
soft: ${ULIMIT_NPROC-65535}
|
||||
hard: ${ULIMIT_NPROC-65535}
|
||||
soft: ${ULIMIT_NPROC:-65535}
|
||||
hard: ${ULIMIT_NPROC:-65535}
|
||||
extends:
|
||||
file: common-settings.yaml
|
||||
service: common-settings
|
||||
@ -42,10 +42,10 @@ services:
|
||||
retries: 60
|
||||
start_period: 2s
|
||||
ulimits:
|
||||
nproc: ${ULIMIT_NPROC-65535}
|
||||
nproc: ${ULIMIT_NPROC:-65535}
|
||||
nofile:
|
||||
soft: ${ULIMIT_NPROC-65535}
|
||||
hard: ${ULIMIT_NPROC-65535}
|
||||
soft: ${ULIMIT_NPROC:-65535}
|
||||
hard: ${ULIMIT_NPROC:-65535}
|
||||
extends:
|
||||
file: common-settings.yaml
|
||||
service: common-settings
|
||||
|
@ -6,10 +6,10 @@ services:
|
||||
networks:
|
||||
vault-default:
|
||||
ulimits:
|
||||
nproc: ${ULIMIT_NPROC-65535}
|
||||
nproc: ${ULIMIT_NPROC:-65535}
|
||||
nofile:
|
||||
soft: ${ULIMIT_NPROC-65535}
|
||||
hard: ${ULIMIT_NPROC-65535}
|
||||
soft: ${ULIMIT_NPROC:-65535}
|
||||
hard: ${ULIMIT_NPROC:-65535}
|
||||
extends:
|
||||
file: common-settings.yaml
|
||||
service: common-settings
|
||||
|
@ -31,10 +31,10 @@ services:
|
||||
start_period: 2s
|
||||
{%- endif %}
|
||||
ulimits:
|
||||
nproc: ${ULIMIT_NPROC-65535}
|
||||
nproc: ${ULIMIT_NPROC:-65535}
|
||||
nofile:
|
||||
soft: ${ULIMIT_NPROC-65535}
|
||||
hard: ${ULIMIT_NPROC-65535}
|
||||
soft: ${ULIMIT_NPROC:-65535}
|
||||
hard: ${ULIMIT_NPROC:-65535}
|
||||
extends:
|
||||
file: common-settings.yaml
|
||||
service: common-settings
|
||||
@ -58,10 +58,10 @@ services:
|
||||
networks:
|
||||
{{ cookiecutter.__service_slug }}-default:
|
||||
ulimits:
|
||||
nproc: ${ULIMIT_NPROC-65535}
|
||||
nproc: ${ULIMIT_NPROC:-65535}
|
||||
nofile:
|
||||
soft: ${ULIMIT_NPROC-65535}
|
||||
hard: ${ULIMIT_NPROC-65535}
|
||||
soft: ${ULIMIT_NPROC:-65535}
|
||||
hard: ${ULIMIT_NPROC:-65535}
|
||||
extends:
|
||||
file: common-settings.yaml
|
||||
service: common-settings
|
||||
|
Loading…
x
Reference in New Issue
Block a user