chore: update format
This commit is contained in:
@@ -28,11 +28,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
cpus: ${ODOO_CPU_LIMIT:-2.0}
|
||||
memory: ${ODOO_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 1G
|
||||
cpus: ${ODOO_CPU_RESERVATION:-0.5}
|
||||
memory: ${ODOO_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8069/"]
|
||||
interval: 30s
|
||||
@@ -54,11 +54,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${ODOO_DB_CPU_LIMIT:-1.0}
|
||||
memory: ${ODOO_DB_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 512M
|
||||
cpus: ${ODOO_DB_CPU_RESERVATION:-0.25}
|
||||
memory: ${ODOO_DB_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-odoo}"]
|
||||
interval: 10s
|
||||
|
||||
Reference in New Issue
Block a user