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

@@ -28,11 +28,11 @@ services:
deploy:
resources:
limits:
cpus: '2.00'
memory: 1G
cpus: ${OPENCUT_DB_CPU_LIMIT:-2.00}
memory: ${OPENCUT_DB_MEMORY_LIMIT:-1G}
reservations:
cpus: '0.50'
memory: 256M
cpus: ${OPENCUT_DB_CPU_RESERVATION:-0.50}
memory: ${OPENCUT_DB_MEMORY_RESERVATION:-256M}
redis:
<<: *defaults
@@ -48,11 +48,11 @@ services:
deploy:
resources:
limits:
cpus: '1.00'
memory: 512M
cpus: ${OPENCUT_REDIS_CPU_LIMIT:-1.00}
memory: ${OPENCUT_REDIS_MEMORY_LIMIT:-512M}
reservations:
cpus: '0.25'
memory: 128M
cpus: ${OPENCUT_REDIS_CPU_RESERVATION:-0.25}
memory: ${OPENCUT_REDIS_MEMORY_RESERVATION:-128M}
serverless-redis-http:
<<: *defaults
@@ -75,11 +75,11 @@ services:
deploy:
resources:
limits:
cpus: '1.00'
memory: 256M
cpus: ${OPENCUT_SRH_CPU_LIMIT:-1.00}
memory: ${OPENCUT_SRH_MEMORY_LIMIT:-256M}
reservations:
cpus: '0.25'
memory: 64M
cpus: ${OPENCUT_SRH_CPU_RESERVATION:-0.25}
memory: ${OPENCUT_SRH_MEMORY_RESERVATION:-64M}
web:
<<: *defaults
@@ -116,11 +116,11 @@ services:
deploy:
resources:
limits:
cpus: '2.00'
memory: 2G
cpus: ${OPENCUT_WEB_CPU_LIMIT:-2.00}
memory: ${OPENCUT_WEB_MEMORY_LIMIT:-2G}
reservations:
cpus: '0.50'
memory: 512M
cpus: ${OPENCUT_WEB_CPU_RESERVATION:-0.50}
memory: ${OPENCUT_WEB_MEMORY_RESERVATION:-512M}
volumes:
postgres_data: