chore: update format

This commit is contained in:
Sun-ZhenXing
2025-11-10 19:55:44 +08:00
parent febd1601a2
commit 42aa5c40d6
92 changed files with 660 additions and 613 deletions

View File

@@ -19,20 +19,21 @@ services:
- "${MONGO_PORT_OVERRIDE:-27017}:27017"
volumes:
- mongo_data:/data/db
deploy:
resources:
limits:
cpus: '0.50'
memory: 1G
reservations:
cpus: '0.25'
memory: 256M
healthcheck:
test: ["CMD", "mongosh", "--eval", "db.adminCommand('ping')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
deploy:
resources:
limits:
cpus: ${MONGO_CPU_LIMIT:-1.00}
memory: ${MONGO_MEMORY_LIMIT:-2048M}
reservations:
cpus: ${MONGO_CPU_RESERVATION:-0.50}
memory: ${MONGO_MEMORY_RESERVATION:-1024M}
volumes:
mongo_data: