chore: update format
This commit is contained in:
@@ -32,11 +32,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
cpus: ${KODBOX_CPU_LIMIT:-2.0}
|
||||
memory: ${KODBOX_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 256M
|
||||
cpus: ${KODBOX_CPU_RESERVATION:-0.5}
|
||||
memory: ${KODBOX_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/"]
|
||||
interval: 30s
|
||||
@@ -68,11 +68,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${KODBOX_DB_CPU_LIMIT:-1.0}
|
||||
memory: ${KODBOX_DB_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${KODBOX_DB_CPU_RESERVATION:-0.25}
|
||||
memory: ${KODBOX_DB_MEMORY_RESERVATION:-256M}
|
||||
|
||||
kodbox-redis:
|
||||
<<: *defaults
|
||||
@@ -94,11 +94,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.50'
|
||||
memory: 512M
|
||||
cpus: ${KODBOX_REDIS_CPU_LIMIT:-0.50}
|
||||
memory: ${KODBOX_REDIS_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 128M
|
||||
cpus: ${KODBOX_REDIS_CPU_RESERVATION:-0.25}
|
||||
memory: ${KODBOX_REDIS_MEMORY_RESERVATION:-128M}
|
||||
|
||||
volumes:
|
||||
kodbox_data:
|
||||
|
||||
Reference in New Issue
Block a user