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:
|
nginx:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: ${ULIMIT_NPROC-65535}
|
nproc: ${ULIMIT_NPROC:-65535}
|
||||||
nofile:
|
nofile:
|
||||||
soft: ${ULIMIT_NPROC-65535}
|
soft: ${ULIMIT_NPROC:-65535}
|
||||||
hard: ${ULIMIT_NPROC-65535}
|
hard: ${ULIMIT_NPROC:-65535}
|
||||||
extends:
|
extends:
|
||||||
file: common-settings.yaml
|
file: common-settings.yaml
|
||||||
service: common-settings
|
service: common-settings
|
||||||
@ -42,10 +42,10 @@ services:
|
|||||||
retries: 60
|
retries: 60
|
||||||
start_period: 2s
|
start_period: 2s
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: ${ULIMIT_NPROC-65535}
|
nproc: ${ULIMIT_NPROC:-65535}
|
||||||
nofile:
|
nofile:
|
||||||
soft: ${ULIMIT_NPROC-65535}
|
soft: ${ULIMIT_NPROC:-65535}
|
||||||
hard: ${ULIMIT_NPROC-65535}
|
hard: ${ULIMIT_NPROC:-65535}
|
||||||
extends:
|
extends:
|
||||||
file: common-settings.yaml
|
file: common-settings.yaml
|
||||||
service: common-settings
|
service: common-settings
|
||||||
|
@ -6,10 +6,10 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
vault-default:
|
vault-default:
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: ${ULIMIT_NPROC-65535}
|
nproc: ${ULIMIT_NPROC:-65535}
|
||||||
nofile:
|
nofile:
|
||||||
soft: ${ULIMIT_NPROC-65535}
|
soft: ${ULIMIT_NPROC:-65535}
|
||||||
hard: ${ULIMIT_NPROC-65535}
|
hard: ${ULIMIT_NPROC:-65535}
|
||||||
extends:
|
extends:
|
||||||
file: common-settings.yaml
|
file: common-settings.yaml
|
||||||
service: common-settings
|
service: common-settings
|
||||||
|
@ -31,10 +31,10 @@ services:
|
|||||||
start_period: 2s
|
start_period: 2s
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: ${ULIMIT_NPROC-65535}
|
nproc: ${ULIMIT_NPROC:-65535}
|
||||||
nofile:
|
nofile:
|
||||||
soft: ${ULIMIT_NPROC-65535}
|
soft: ${ULIMIT_NPROC:-65535}
|
||||||
hard: ${ULIMIT_NPROC-65535}
|
hard: ${ULIMIT_NPROC:-65535}
|
||||||
extends:
|
extends:
|
||||||
file: common-settings.yaml
|
file: common-settings.yaml
|
||||||
service: common-settings
|
service: common-settings
|
||||||
@ -58,10 +58,10 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
{{ cookiecutter.__service_slug }}-default:
|
{{ cookiecutter.__service_slug }}-default:
|
||||||
ulimits:
|
ulimits:
|
||||||
nproc: ${ULIMIT_NPROC-65535}
|
nproc: ${ULIMIT_NPROC:-65535}
|
||||||
nofile:
|
nofile:
|
||||||
soft: ${ULIMIT_NPROC-65535}
|
soft: ${ULIMIT_NPROC:-65535}
|
||||||
hard: ${ULIMIT_NPROC-65535}
|
hard: ${ULIMIT_NPROC:-65535}
|
||||||
extends:
|
extends:
|
||||||
file: common-settings.yaml
|
file: common-settings.yaml
|
||||||
service: common-settings
|
service: common-settings
|
||||||
|
Loading…
x
Reference in New Issue
Block a user