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:
mongo:
@@ -16,11 +16,11 @@ services:
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_INITDB_ROOT_PASSWORD:-password}
MONGO_INITDB_DATABASE: ${MONGO_INITDB_DATABASE:-admin}
ports:
- "${MONGO_PORT_OVERRIDE:-27017}:27017"
- '${MONGO_PORT_OVERRIDE:-27017}:27017'
volumes:
- mongo_data:/data/db
healthcheck:
test: ["CMD", "mongosh", "--eval", "db.adminCommand('ping')"]
test: [CMD, mongosh, --eval, "db.adminCommand('ping')"]
interval: 30s
timeout: 10s
retries: 3
@@ -34,6 +34,5 @@ services:
cpus: ${MONGO_CPU_RESERVATION:-0.50}
memory: ${MONGO_MEMORY_RESERVATION:-1024M}
volumes:
mongo_data: