chore: update format
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user