style: lint code

This commit is contained in:
Sun-ZhenXing
2026-02-23 17:41:05 +08:00
parent ced072de66
commit 7e14b01b78
240 changed files with 4301 additions and 1539 deletions

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
odoo:
@@ -14,7 +14,7 @@ services:
odoo-db:
condition: service_healthy
ports:
- "${ODOO_PORT_OVERRIDE:-8069}:8069"
- '${ODOO_PORT_OVERRIDE:-8069}:8069'
volumes:
- odoo_web_data:/var/lib/odoo
- odoo_addons:/mnt/extra-addons
@@ -35,14 +35,13 @@ services:
memory: ${ODOO_MEMORY_RESERVATION:-1G}
healthcheck:
test:
[
"CMD",
"wget",
"--no-verbose",
"--tries=1",
"--spider",
"http://localhost:8069/",
]
- CMD
- wget
- --no-verbose
- --tries=1
- --spider
- 'http://localhost:8069/'
interval: 30s
timeout: 10s
retries: 3
@@ -68,7 +67,7 @@ services:
cpus: ${ODOO_DB_CPU_RESERVATION:-0.25}
memory: ${ODOO_DB_MEMORY_RESERVATION:-512M}
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-odoo}"]
test: [CMD-SHELL, 'pg_isready -U ${POSTGRES_USER:-odoo}']
interval: 10s
timeout: 5s
retries: 5