docs(docker-compose): Add ulimits example to docker-compose.yml
This commit is contained in:
parent
75b31844a0
commit
0f4b7ac7a5
@ -8,6 +8,11 @@ services:
|
||||
depends_on:
|
||||
nginx:
|
||||
condition: service_healthy
|
||||
ulimits:
|
||||
nproc: ${ULIMIT_NPROC-65535}
|
||||
nofile:
|
||||
soft: ${ULIMIT_NPROC-65535}
|
||||
hard: ${ULIMIT_NPROC-65535}
|
||||
extends:
|
||||
file: common-settings.yml
|
||||
service: common-settings
|
||||
@ -34,6 +39,11 @@ services:
|
||||
timeout: 1s
|
||||
retries: 60
|
||||
start_period: 2s
|
||||
ulimits:
|
||||
nproc: ${ULIMIT_NPROC-65535}
|
||||
nofile:
|
||||
soft: ${ULIMIT_NPROC-65535}
|
||||
hard: ${ULIMIT_NPROC-65535}
|
||||
extends:
|
||||
file: common-settings.yml
|
||||
service: common-settings
|
||||
|
@ -4,6 +4,11 @@ services:
|
||||
container_name: "vault-${CONTEXT}"
|
||||
networks:
|
||||
vault-default:
|
||||
ulimits:
|
||||
nproc: ${ULIMIT_NPROC-65535}
|
||||
nofile:
|
||||
soft: ${ULIMIT_NPROC-65535}
|
||||
hard: ${ULIMIT_NPROC-65535}
|
||||
extends:
|
||||
file: common-settings.yml
|
||||
service: common-settings
|
||||
|
Loading…
x
Reference in New Issue
Block a user