feat: all cpus reservations to 0.1

This commit is contained in:
Sun-ZhenXing
2026-05-14 16:22:07 +08:00
parent 453a3eab11
commit 53b841926e
274 changed files with 828 additions and 828 deletions
+2 -2
View File
@@ -36,10 +36,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${SERVICE_NAME_CPU_LIMIT:-0.50} cpus: ${SERVICE_NAME_CPU_LIMIT:-0.5}
memory: ${SERVICE_NAME_MEMORY_LIMIT:-256M} memory: ${SERVICE_NAME_MEMORY_LIMIT:-256M}
reservations: reservations:
cpus: ${SERVICE_NAME_CPU_RESERVATION:-0.25} cpus: ${SERVICE_NAME_CPU_RESERVATION:-0.1}
memory: ${SERVICE_NAME_MEMORY_RESERVATION:-128M} memory: ${SERVICE_NAME_MEMORY_RESERVATION:-128M}
volumes: volumes:
+3 -3
View File
@@ -82,8 +82,8 @@ These services require building custom Docker images from source.
| [FalkorDB](./src/falkordb) | v4.14.11 | | [FalkorDB](./src/falkordb) | v4.14.11 |
| [Firecrawl](./src/firecrawl) | latest | | [Firecrawl](./src/firecrawl) | latest |
| [Flowise](./src/flowise) | 3.0.12 | | [Flowise](./src/flowise) | 3.0.12 |
| [frpc](./src/frpc) | 0.65.0 | | [frpc](./src/frpc) | 0.68.1 |
| [frps](./src/frps) | 0.65.0 | | [frps](./src/frps) | 0.68.1 |
| [Gitea Runner](./src/gitea-runner) | 0.2.13 | | [Gitea Runner](./src/gitea-runner) | 0.2.13 |
| [Gitea](./src/gitea) | 1.25.4-rootless | | [Gitea](./src/gitea) | 1.25.4-rootless |
| [GitLab Runner](./src/gitlab-runner) | 17.10.1 | | [GitLab Runner](./src/gitlab-runner) | 17.10.1 |
@@ -113,7 +113,7 @@ These services require building custom Docker images from source.
| [libSQL Server](./src/libsql) | latest | | [libSQL Server](./src/libsql) | latest |
| [LiteLLM](./src/litellm) | main-stable | | [LiteLLM](./src/litellm) | main-stable |
| [llama-swap](./src/llama-swap) | cpu | | [llama-swap](./src/llama-swap) | cpu |
| [llama.cpp](./src/llama.cpp) | server | | [llama.cpp](./src/llama-cpp) | server |
| [LMDeploy](./src/lmdeploy) | v0.11.1 | | [LMDeploy](./src/lmdeploy) | v0.11.1 |
| [LobeChat](./src/lobe-chat) | 1.143.3 | | [LobeChat](./src/lobe-chat) | 1.143.3 |
| [Logstash](./src/logstash) | 8.16.1 | | [Logstash](./src/logstash) | 8.16.1 |
+3 -3
View File
@@ -82,8 +82,8 @@ docker compose exec redis redis-cli ping
| [FalkorDB](./src/falkordb) | v4.14.11 | | [FalkorDB](./src/falkordb) | v4.14.11 |
| [Firecrawl](./src/firecrawl) | latest | | [Firecrawl](./src/firecrawl) | latest |
| [Flowise](./src/flowise) | 3.0.12 | | [Flowise](./src/flowise) | 3.0.12 |
| [frpc](./src/frpc) | 0.65.0 | | [frpc](./src/frpc) | 0.68.1 |
| [frps](./src/frps) | 0.65.0 | | [frps](./src/frps) | 0.68.1 |
| [Gitea Runner](./src/gitea-runner) | 0.2.13 | | [Gitea Runner](./src/gitea-runner) | 0.2.13 |
| [Gitea](./src/gitea) | 1.25.4-rootless | | [Gitea](./src/gitea) | 1.25.4-rootless |
| [GitLab Runner](./src/gitlab-runner) | 17.10.1 | | [GitLab Runner](./src/gitlab-runner) | 17.10.1 |
@@ -113,7 +113,7 @@ docker compose exec redis redis-cli ping
| [libSQL Server](./src/libsql) | latest | | [libSQL Server](./src/libsql) | latest |
| [LiteLLM](./src/litellm) | main-stable | | [LiteLLM](./src/litellm) | main-stable |
| [llama-swap](./src/llama-swap) | cpu | | [llama-swap](./src/llama-swap) | cpu |
| [llama.cpp](./src/llama.cpp) | server | | [llama.cpp](./src/llama-cpp) | server |
| [LMDeploy](./src/lmdeploy) | v0.11.1 | | [LMDeploy](./src/lmdeploy) | v0.11.1 |
| [LobeChat](./src/lobe-chat) | 1.143.3 | | [LobeChat](./src/lobe-chat) | 1.143.3 |
| [Logstash](./src/logstash) | 8.16.1 | | [Logstash](./src/logstash) | 8.16.1 |
+2 -2
View File
@@ -19,10 +19,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${BOLT_DIY_CPU_LIMIT:-2.00} cpus: ${BOLT_DIY_CPU_LIMIT:-2.0}
memory: ${BOLT_DIY_MEMORY_LIMIT:-2G} memory: ${BOLT_DIY_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${BOLT_DIY_CPU_RESERVATION:-0.5} cpus: ${BOLT_DIY_CPU_RESERVATION:-0.1}
memory: ${BOLT_DIY_MEMORY_RESERVATION:-512M} memory: ${BOLT_DIY_MEMORY_RESERVATION:-512M}
healthcheck: healthcheck:
test: test:
+5 -5
View File
@@ -26,9 +26,9 @@ REDIS_PASSWORD=
REDIS_PORT_OVERRIDE=6379 REDIS_PORT_OVERRIDE=6379
# Redis resource limits # Redis resource limits
REDIS_CPU_LIMIT=0.25 REDIS_CPU_LIMIT=0.3
REDIS_MEMORY_LIMIT=256M REDIS_MEMORY_LIMIT=256M
REDIS_CPU_RESERVATION=0.10 REDIS_CPU_RESERVATION=0.1
REDIS_MEMORY_RESERVATION=128M REDIS_MEMORY_RESERVATION=128M
# =========================== # ===========================
@@ -48,7 +48,7 @@ POSTGRES_PORT_OVERRIDE=5432
# PostgreSQL resource limits # PostgreSQL resource limits
POSTGRES_CPU_LIMIT=1.0 POSTGRES_CPU_LIMIT=1.0
POSTGRES_MEMORY_LIMIT=512M POSTGRES_MEMORY_LIMIT=512M
POSTGRES_CPU_RESERVATION=0.25 POSTGRES_CPU_RESERVATION=0.1
POSTGRES_MEMORY_RESERVATION=256M POSTGRES_MEMORY_RESERVATION=256M
# =========================== # ===========================
@@ -72,5 +72,5 @@ NPM_REGISTRY_URL=
# BuildingAI resource limits # BuildingAI resource limits
BUILDINGAI_CPU_LIMIT=2.0 BUILDINGAI_CPU_LIMIT=2.0
BUILDINGAI_MEMORY_LIMIT=3584M BUILDINGAI_MEMORY_LIMIT=3584M
BUILDINGAI_CPU_RESERVATION=0.5 BUILDINGAI_CPU_RESERVATION=0.1
BUILDINGAI_MEMORY_RESERVATION=512M BUILDINGAI_MEMORY_RESERVATION=512M
+4 -4
View File
@@ -38,10 +38,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${REDIS_CPU_LIMIT:-0.25} cpus: ${REDIS_CPU_LIMIT:-0.3}
memory: ${REDIS_MEMORY_LIMIT:-256M} memory: ${REDIS_MEMORY_LIMIT:-256M}
reservations: reservations:
cpus: ${REDIS_CPU_RESERVATION:-0.10} cpus: ${REDIS_CPU_RESERVATION:-0.1}
memory: ${REDIS_MEMORY_RESERVATION:-128M} memory: ${REDIS_MEMORY_RESERVATION:-128M}
postgres: postgres:
@@ -69,7 +69,7 @@ services:
cpus: ${POSTGRES_CPU_LIMIT:-1.0} cpus: ${POSTGRES_CPU_LIMIT:-1.0}
memory: ${POSTGRES_MEMORY_LIMIT:-512M} memory: ${POSTGRES_MEMORY_LIMIT:-512M}
reservations: reservations:
cpus: ${POSTGRES_CPU_RESERVATION:-0.25} cpus: ${POSTGRES_CPU_RESERVATION:-0.1}
memory: ${POSTGRES_MEMORY_RESERVATION:-256M} memory: ${POSTGRES_MEMORY_RESERVATION:-256M}
buildingai: buildingai:
@@ -108,7 +108,7 @@ services:
cpus: ${BUILDINGAI_CPU_LIMIT:-2.0} cpus: ${BUILDINGAI_CPU_LIMIT:-2.0}
memory: ${BUILDINGAI_MEMORY_LIMIT:-3584M} memory: ${BUILDINGAI_MEMORY_LIMIT:-3584M}
reservations: reservations:
cpus: ${BUILDINGAI_CPU_RESERVATION:-0.5} cpus: ${BUILDINGAI_CPU_RESERVATION:-0.1}
memory: ${BUILDINGAI_MEMORY_RESERVATION:-512M} memory: ${BUILDINGAI_MEMORY_RESERVATION:-512M}
volumes: volumes:
+3 -3
View File
@@ -89,9 +89,9 @@ DASHSCOPE_API_KEY=
#! ================================================== #! ==================================================
# CPU limits (default: 4.00 cores limit, 1.00 cores reservation) # CPU limits (default: 4.00 cores limit, 1.00 cores reservation)
DEEPTUTOR_CPU_LIMIT=4.00 DEEPTUTOR_CPU_LIMIT=4.0
DEEPTUTOR_CPU_RESERVATION=1.00 DEEPTUTOR_CPU_RESERVATION=0.1
# Memory limits (default: 8G limit, 2G reservation) # Memory limits (default: 8G limit, 2G reservation)
DEEPTUTOR_MEMORY_LIMIT=8G DEEPTUTOR_MEMORY_LIMIT=8G
DEEPTUTOR_MEMORY_RESERVATION=2G DEEPTUTOR_MEMORY_RESERVATION=2G
+2 -2
View File
@@ -57,10 +57,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${DEEPTUTOR_CPU_LIMIT:-4.00} cpus: ${DEEPTUTOR_CPU_LIMIT:-4.0}
memory: ${DEEPTUTOR_MEMORY_LIMIT:-8G} memory: ${DEEPTUTOR_MEMORY_LIMIT:-8G}
reservations: reservations:
cpus: ${DEEPTUTOR_CPU_RESERVATION:-1.00} cpus: ${DEEPTUTOR_CPU_RESERVATION:-0.1}
memory: ${DEEPTUTOR_MEMORY_RESERVATION:-2G} memory: ${DEEPTUTOR_MEMORY_RESERVATION:-2G}
volumes: volumes:
+6 -6
View File
@@ -37,7 +37,7 @@ services:
cpus: ${DIFY_API_CPU_LIMIT:-1.0} cpus: ${DIFY_API_CPU_LIMIT:-1.0}
memory: ${DIFY_API_MEMORY_LIMIT:-2G} memory: ${DIFY_API_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${DIFY_API_CPU_RESERVATION:-0.5} cpus: ${DIFY_API_CPU_RESERVATION:-0.1}
memory: ${DIFY_API_MEMORY_RESERVATION:-1G} memory: ${DIFY_API_MEMORY_RESERVATION:-1G}
healthcheck: healthcheck:
test: test:
@@ -83,7 +83,7 @@ services:
cpus: ${DIFY_WORKER_CPU_LIMIT:-1.0} cpus: ${DIFY_WORKER_CPU_LIMIT:-1.0}
memory: ${DIFY_WORKER_MEMORY_LIMIT:-2G} memory: ${DIFY_WORKER_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${DIFY_WORKER_CPU_RESERVATION:-0.5} cpus: ${DIFY_WORKER_CPU_RESERVATION:-0.1}
memory: ${DIFY_WORKER_MEMORY_RESERVATION:-1G} memory: ${DIFY_WORKER_MEMORY_RESERVATION:-1G}
dify-web: dify-web:
@@ -104,7 +104,7 @@ services:
cpus: ${DIFY_WEB_CPU_LIMIT:-0.5} cpus: ${DIFY_WEB_CPU_LIMIT:-0.5}
memory: ${DIFY_WEB_MEMORY_LIMIT:-512M} memory: ${DIFY_WEB_MEMORY_LIMIT:-512M}
reservations: reservations:
cpus: ${DIFY_WEB_CPU_RESERVATION:-0.25} cpus: ${DIFY_WEB_CPU_RESERVATION:-0.1}
memory: ${DIFY_WEB_MEMORY_RESERVATION:-256M} memory: ${DIFY_WEB_MEMORY_RESERVATION:-256M}
dify-db: dify-db:
@@ -124,7 +124,7 @@ services:
cpus: ${DIFY_DB_CPU_LIMIT:-0.5} cpus: ${DIFY_DB_CPU_LIMIT:-0.5}
memory: ${DIFY_DB_MEMORY_LIMIT:-512M} memory: ${DIFY_DB_MEMORY_LIMIT:-512M}
reservations: reservations:
cpus: ${DIFY_DB_CPU_RESERVATION:-0.25} cpus: ${DIFY_DB_CPU_RESERVATION:-0.1}
memory: ${DIFY_DB_MEMORY_RESERVATION:-256M} memory: ${DIFY_DB_MEMORY_RESERVATION:-256M}
healthcheck: healthcheck:
test: [CMD-SHELL, pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB] test: [CMD-SHELL, pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB]
@@ -144,7 +144,7 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${DIFY_REDIS_CPU_LIMIT:-0.25} cpus: ${DIFY_REDIS_CPU_LIMIT:-0.3}
memory: ${DIFY_REDIS_MEMORY_LIMIT:-256M} memory: ${DIFY_REDIS_MEMORY_LIMIT:-256M}
reservations: reservations:
cpus: ${DIFY_REDIS_CPU_RESERVATION:-0.1} cpus: ${DIFY_REDIS_CPU_RESERVATION:-0.1}
@@ -176,7 +176,7 @@ services:
cpus: ${DIFY_WEAVIATE_CPU_LIMIT:-0.5} cpus: ${DIFY_WEAVIATE_CPU_LIMIT:-0.5}
memory: ${DIFY_WEAVIATE_MEMORY_LIMIT:-1G} memory: ${DIFY_WEAVIATE_MEMORY_LIMIT:-1G}
reservations: reservations:
cpus: ${DIFY_WEAVIATE_CPU_RESERVATION:-0.25} cpus: ${DIFY_WEAVIATE_CPU_RESERVATION:-0.1}
memory: ${DIFY_WEAVIATE_MEMORY_RESERVATION:-512M} memory: ${DIFY_WEAVIATE_MEMORY_RESERVATION:-512M}
healthcheck: healthcheck:
test: test:
+1 -1
View File
@@ -26,7 +26,7 @@ services:
cpus: ${EASY_DATASET_CPU_LIMIT:-2.0} cpus: ${EASY_DATASET_CPU_LIMIT:-2.0}
memory: ${EASY_DATASET_MEMORY_LIMIT:-4G} memory: ${EASY_DATASET_MEMORY_LIMIT:-4G}
reservations: reservations:
cpus: ${EASY_DATASET_CPU_RESERVATION:-0.5} cpus: ${EASY_DATASET_CPU_RESERVATION:-0.1}
memory: ${EASY_DATASET_MEMORY_RESERVATION:-1G} memory: ${EASY_DATASET_MEMORY_RESERVATION:-1G}
healthcheck: healthcheck:
test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:1717'] test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:1717']
+3 -3
View File
@@ -53,15 +53,15 @@ DO_NOT_TRACK=false
# Resource Limits - Langflow # Resource Limits - Langflow
LANGFLOW_CPU_LIMIT=2.0 LANGFLOW_CPU_LIMIT=2.0
LANGFLOW_MEMORY_LIMIT=2G LANGFLOW_MEMORY_LIMIT=2G
LANGFLOW_CPU_RESERVATION=0.5 LANGFLOW_CPU_RESERVATION=0.1
LANGFLOW_MEMORY_RESERVATION=512M LANGFLOW_MEMORY_RESERVATION=512M
# Resource Limits - PostgreSQL # Resource Limits - PostgreSQL
POSTGRES_CPU_LIMIT=1.0 POSTGRES_CPU_LIMIT=1.0
POSTGRES_MEMORY_LIMIT=1G POSTGRES_MEMORY_LIMIT=1G
POSTGRES_CPU_RESERVATION=0.25 POSTGRES_CPU_RESERVATION=0.1
POSTGRES_MEMORY_RESERVATION=256M POSTGRES_MEMORY_RESERVATION=256M
# Logging Configuration # Logging Configuration
LOG_MAX_SIZE=100m LOG_MAX_SIZE=100m
LOG_MAX_FILE=3 LOG_MAX_FILE=3
+2 -2
View File
@@ -93,7 +93,7 @@ services:
cpus: '${LANGFLOW_CPU_LIMIT:-2.0}' cpus: '${LANGFLOW_CPU_LIMIT:-2.0}'
memory: '${LANGFLOW_MEMORY_LIMIT:-2G}' memory: '${LANGFLOW_MEMORY_LIMIT:-2G}'
reservations: reservations:
cpus: '${LANGFLOW_CPU_RESERVATION:-0.5}' cpus: '${LANGFLOW_CPU_RESERVATION:-0.1}'
memory: '${LANGFLOW_MEMORY_RESERVATION:-512M}' memory: '${LANGFLOW_MEMORY_RESERVATION:-512M}'
postgres: postgres:
@@ -119,7 +119,7 @@ services:
cpus: '${POSTGRES_CPU_LIMIT:-1.0}' cpus: '${POSTGRES_CPU_LIMIT:-1.0}'
memory: '${POSTGRES_MEMORY_LIMIT:-1G}' memory: '${POSTGRES_MEMORY_LIMIT:-1G}'
reservations: reservations:
cpus: '${POSTGRES_CPU_RESERVATION:-0.25}' cpus: '${POSTGRES_CPU_RESERVATION:-0.1}'
memory: '${POSTGRES_MEMORY_RESERVATION:-256M}' memory: '${POSTGRES_MEMORY_RESERVATION:-256M}'
volumes: volumes:
+7 -7
View File
@@ -102,35 +102,35 @@ LANGFUSE_INIT_USER_PASSWORD=
# Resource Limits - Langfuse Worker # Resource Limits - Langfuse Worker
LANGFUSE_WORKER_CPU_LIMIT=2.0 LANGFUSE_WORKER_CPU_LIMIT=2.0
LANGFUSE_WORKER_MEMORY_LIMIT=2G LANGFUSE_WORKER_MEMORY_LIMIT=2G
LANGFUSE_WORKER_CPU_RESERVATION=0.5 LANGFUSE_WORKER_CPU_RESERVATION=0.1
LANGFUSE_WORKER_MEMORY_RESERVATION=512M LANGFUSE_WORKER_MEMORY_RESERVATION=512M
# Resource Limits - Langfuse Web # Resource Limits - Langfuse Web
LANGFUSE_WEB_CPU_LIMIT=2.0 LANGFUSE_WEB_CPU_LIMIT=2.0
LANGFUSE_WEB_MEMORY_LIMIT=2G LANGFUSE_WEB_MEMORY_LIMIT=2G
LANGFUSE_WEB_CPU_RESERVATION=0.5 LANGFUSE_WEB_CPU_RESERVATION=0.1
LANGFUSE_WEB_MEMORY_RESERVATION=512M LANGFUSE_WEB_MEMORY_RESERVATION=512M
# Resource Limits - ClickHouse # Resource Limits - ClickHouse
CLICKHOUSE_CPU_LIMIT=2.0 CLICKHOUSE_CPU_LIMIT=2.0
CLICKHOUSE_MEMORY_LIMIT=4G CLICKHOUSE_MEMORY_LIMIT=4G
CLICKHOUSE_CPU_RESERVATION=0.5 CLICKHOUSE_CPU_RESERVATION=0.1
CLICKHOUSE_MEMORY_RESERVATION=1G CLICKHOUSE_MEMORY_RESERVATION=1G
# Resource Limits - MinIO # Resource Limits - MinIO
MINIO_CPU_LIMIT=1.0 MINIO_CPU_LIMIT=1.0
MINIO_MEMORY_LIMIT=1G MINIO_MEMORY_LIMIT=1G
MINIO_CPU_RESERVATION=0.25 MINIO_CPU_RESERVATION=0.1
MINIO_MEMORY_RESERVATION=256M MINIO_MEMORY_RESERVATION=256M
# Resource Limits - Redis # Resource Limits - Redis
REDIS_CPU_LIMIT=1.0 REDIS_CPU_LIMIT=1.0
REDIS_MEMORY_LIMIT=512M REDIS_MEMORY_LIMIT=512M
REDIS_CPU_RESERVATION=0.25 REDIS_CPU_RESERVATION=0.1
REDIS_MEMORY_RESERVATION=256M REDIS_MEMORY_RESERVATION=256M
# Resource Limits - PostgreSQL # Resource Limits - PostgreSQL
POSTGRES_CPU_LIMIT=2.0 POSTGRES_CPU_LIMIT=2.0
POSTGRES_MEMORY_LIMIT=2G POSTGRES_MEMORY_LIMIT=2G
POSTGRES_CPU_RESERVATION=0.5 POSTGRES_CPU_RESERVATION=0.1
POSTGRES_MEMORY_RESERVATION=512M POSTGRES_MEMORY_RESERVATION=512M
+6 -6
View File
@@ -85,7 +85,7 @@ services:
cpus: ${LANGFUSE_WORKER_CPU_LIMIT:-2.0} cpus: ${LANGFUSE_WORKER_CPU_LIMIT:-2.0}
memory: ${LANGFUSE_WORKER_MEMORY_LIMIT:-2G} memory: ${LANGFUSE_WORKER_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${LANGFUSE_WORKER_CPU_RESERVATION:-0.5} cpus: ${LANGFUSE_WORKER_CPU_RESERVATION:-0.1}
memory: ${LANGFUSE_WORKER_MEMORY_RESERVATION:-512M} memory: ${LANGFUSE_WORKER_MEMORY_RESERVATION:-512M}
healthcheck: healthcheck:
test: test:
@@ -126,7 +126,7 @@ services:
cpus: ${LANGFUSE_WEB_CPU_LIMIT:-2.0} cpus: ${LANGFUSE_WEB_CPU_LIMIT:-2.0}
memory: ${LANGFUSE_WEB_MEMORY_LIMIT:-2G} memory: ${LANGFUSE_WEB_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${LANGFUSE_WEB_CPU_RESERVATION:-0.5} cpus: ${LANGFUSE_WEB_CPU_RESERVATION:-0.1}
memory: ${LANGFUSE_WEB_MEMORY_RESERVATION:-512M} memory: ${LANGFUSE_WEB_MEMORY_RESERVATION:-512M}
healthcheck: healthcheck:
test: test:
@@ -171,7 +171,7 @@ services:
cpus: ${CLICKHOUSE_CPU_LIMIT:-2.0} cpus: ${CLICKHOUSE_CPU_LIMIT:-2.0}
memory: ${CLICKHOUSE_MEMORY_LIMIT:-4G} memory: ${CLICKHOUSE_MEMORY_LIMIT:-4G}
reservations: reservations:
cpus: ${CLICKHOUSE_CPU_RESERVATION:-0.5} cpus: ${CLICKHOUSE_CPU_RESERVATION:-0.1}
memory: ${CLICKHOUSE_MEMORY_RESERVATION:-1G} memory: ${CLICKHOUSE_MEMORY_RESERVATION:-1G}
minio: minio:
@@ -200,7 +200,7 @@ services:
cpus: ${MINIO_CPU_LIMIT:-1.0} cpus: ${MINIO_CPU_LIMIT:-1.0}
memory: ${MINIO_MEMORY_LIMIT:-1G} memory: ${MINIO_MEMORY_LIMIT:-1G}
reservations: reservations:
cpus: ${MINIO_CPU_RESERVATION:-0.25} cpus: ${MINIO_CPU_RESERVATION:-0.1}
memory: ${MINIO_MEMORY_RESERVATION:-256M} memory: ${MINIO_MEMORY_RESERVATION:-256M}
redis: redis:
@@ -222,7 +222,7 @@ services:
cpus: ${REDIS_CPU_LIMIT:-1.0} cpus: ${REDIS_CPU_LIMIT:-1.0}
memory: ${REDIS_MEMORY_LIMIT:-512M} memory: ${REDIS_MEMORY_LIMIT:-512M}
reservations: reservations:
cpus: ${REDIS_CPU_RESERVATION:-0.25} cpus: ${REDIS_CPU_RESERVATION:-0.1}
memory: ${REDIS_MEMORY_RESERVATION:-256M} memory: ${REDIS_MEMORY_RESERVATION:-256M}
postgres: postgres:
@@ -249,7 +249,7 @@ services:
cpus: ${POSTGRES_CPU_LIMIT:-2.0} cpus: ${POSTGRES_CPU_LIMIT:-2.0}
memory: ${POSTGRES_MEMORY_LIMIT:-2G} memory: ${POSTGRES_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${POSTGRES_CPU_RESERVATION:-0.5} cpus: ${POSTGRES_CPU_RESERVATION:-0.1}
memory: ${POSTGRES_MEMORY_RESERVATION:-512M} memory: ${POSTGRES_MEMORY_RESERVATION:-512M}
volumes: volumes:
+5 -5
View File
@@ -32,19 +32,19 @@ ALLOW_SOCIAL_LOGIN=false
# ANTHROPIC_API_KEY=sk-ant-... # ANTHROPIC_API_KEY=sk-ant-...
# Resource Limits - LibreChat # Resource Limits - LibreChat
LIBRECHAT_CPU_LIMIT=2 LIBRECHAT_CPU_LIMIT=2.0
LIBRECHAT_MEMORY_LIMIT=2G LIBRECHAT_MEMORY_LIMIT=2G
LIBRECHAT_CPU_RESERVATION=0.5 LIBRECHAT_CPU_RESERVATION=0.1
LIBRECHAT_MEMORY_RESERVATION=512M LIBRECHAT_MEMORY_RESERVATION=512M
# Resource Limits - MongoDB # Resource Limits - MongoDB
MONGODB_CPU_LIMIT=1 MONGODB_CPU_LIMIT=1.0
MONGODB_MEMORY_LIMIT=1G MONGODB_MEMORY_LIMIT=1G
MONGODB_CPU_RESERVATION=0.25 MONGODB_CPU_RESERVATION=0.1
MONGODB_MEMORY_RESERVATION=256M MONGODB_MEMORY_RESERVATION=256M
# Resource Limits - Meilisearch # Resource Limits - Meilisearch
MEILISEARCH_CPU_LIMIT=0.5 MEILISEARCH_CPU_LIMIT=0.5
MEILISEARCH_MEMORY_LIMIT=512M MEILISEARCH_MEMORY_LIMIT=512M
MEILISEARCH_CPU_RESERVATION=0.1 MEILISEARCH_CPU_RESERVATION=0.1
MEILISEARCH_MEMORY_RESERVATION=128M MEILISEARCH_MEMORY_RESERVATION=128M
+5 -5
View File
@@ -49,10 +49,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${LIBRECHAT_CPU_LIMIT:-2} cpus: ${LIBRECHAT_CPU_LIMIT:-2.0}
memory: ${LIBRECHAT_MEMORY_LIMIT:-2G} memory: ${LIBRECHAT_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${LIBRECHAT_CPU_RESERVATION:-0.5} cpus: ${LIBRECHAT_CPU_RESERVATION:-0.1}
memory: ${LIBRECHAT_MEMORY_RESERVATION:-512M} memory: ${LIBRECHAT_MEMORY_RESERVATION:-512M}
mongodb: mongodb:
@@ -71,10 +71,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${MONGODB_CPU_LIMIT:-1} cpus: ${MONGODB_CPU_LIMIT:-1.0}
memory: ${MONGODB_MEMORY_LIMIT:-1G} memory: ${MONGODB_MEMORY_LIMIT:-1G}
reservations: reservations:
cpus: ${MONGODB_CPU_RESERVATION:-0.25} cpus: ${MONGODB_CPU_RESERVATION:-0.1}
memory: ${MONGODB_MEMORY_RESERVATION:-256M} memory: ${MONGODB_MEMORY_RESERVATION:-256M}
meilisearch: meilisearch:
@@ -87,7 +87,7 @@ services:
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY:-changeme_meili_master_key_CHANGEME} - MEILI_MASTER_KEY=${MEILI_MASTER_KEY:-changeme_meili_master_key_CHANGEME}
- MEILI_NO_ANALYTICS=true - MEILI_NO_ANALYTICS=true
healthcheck: healthcheck:
test: [CMD-SHELL, "curl -sf http://localhost:7700/health || exit 1"] test: [CMD-SHELL, 'curl -sf http://localhost:7700/health || exit 1']
interval: 10s interval: 10s
timeout: 10s timeout: 10s
retries: 5 retries: 5
+5 -5
View File
@@ -15,15 +15,15 @@ POSTGRES_PASSWORD=mmchangeit
MATTERMOST_ENABLE_LOCAL_MODE=false MATTERMOST_ENABLE_LOCAL_MODE=false
# Resources - Mattermost # Resources - Mattermost
MATTERMOST_CPU_LIMIT=2.00 MATTERMOST_CPU_LIMIT=2.0
MATTERMOST_MEMORY_LIMIT=2G MATTERMOST_MEMORY_LIMIT=2G
MATTERMOST_CPU_RESERVATION=0.50 MATTERMOST_CPU_RESERVATION=0.1
MATTERMOST_MEMORY_RESERVATION=512M MATTERMOST_MEMORY_RESERVATION=512M
# Resources - PostgreSQL # Resources - PostgreSQL
MATTERMOST_DB_CPU_LIMIT=1.00 MATTERMOST_DB_CPU_LIMIT=1.0
MATTERMOST_DB_MEMORY_LIMIT=1G MATTERMOST_DB_MEMORY_LIMIT=1G
MATTERMOST_DB_CPU_RESERVATION=0.25 MATTERMOST_DB_CPU_RESERVATION=0.1
MATTERMOST_DB_MEMORY_RESERVATION=256M MATTERMOST_DB_MEMORY_RESERVATION=256M
# Logging # Logging
@@ -31,4 +31,4 @@ MATTERMOST_LOG_MAX_SIZE=100m
MATTERMOST_LOG_MAX_FILE=3 MATTERMOST_LOG_MAX_FILE=3
# Timezone # Timezone
TZ=UTC TZ=UTC
+4 -4
View File
@@ -27,10 +27,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${MATTERMOST_DB_CPU_LIMIT:-1.00} cpus: ${MATTERMOST_DB_CPU_LIMIT:-1.0}
memory: ${MATTERMOST_DB_MEMORY_LIMIT:-1G} memory: ${MATTERMOST_DB_MEMORY_LIMIT:-1G}
reservations: reservations:
cpus: ${MATTERMOST_DB_CPU_RESERVATION:-0.25} cpus: ${MATTERMOST_DB_CPU_RESERVATION:-0.1}
memory: ${MATTERMOST_DB_MEMORY_RESERVATION:-256M} memory: ${MATTERMOST_DB_MEMORY_RESERVATION:-256M}
mattermost: mattermost:
@@ -68,10 +68,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${MATTERMOST_CPU_LIMIT:-2.00} cpus: ${MATTERMOST_CPU_LIMIT:-2.0}
memory: ${MATTERMOST_MEMORY_LIMIT:-2G} memory: ${MATTERMOST_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${MATTERMOST_CPU_RESERVATION:-0.50} cpus: ${MATTERMOST_CPU_RESERVATION:-0.1}
memory: ${MATTERMOST_MEMORY_RESERVATION:-512M} memory: ${MATTERMOST_MEMORY_RESERVATION:-512M}
volumes: volumes:
+2 -2
View File
@@ -45,7 +45,7 @@ services:
cpus: ${N8N_CPU_LIMIT:-2.0} cpus: ${N8N_CPU_LIMIT:-2.0}
memory: ${N8N_MEMORY_LIMIT:-2G} memory: ${N8N_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${N8N_CPU_RESERVATION:-0.5} cpus: ${N8N_CPU_RESERVATION:-0.1}
memory: ${N8N_MEMORY_RESERVATION:-512M} memory: ${N8N_MEMORY_RESERVATION:-512M}
healthcheck: healthcheck:
test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:5678/healthz'] test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:5678/healthz']
@@ -70,7 +70,7 @@ services:
cpus: ${N8N_DB_CPU_LIMIT:-1.0} cpus: ${N8N_DB_CPU_LIMIT:-1.0}
memory: ${N8N_DB_MEMORY_LIMIT:-1G} memory: ${N8N_DB_MEMORY_LIMIT:-1G}
reservations: reservations:
cpus: ${N8N_DB_CPU_RESERVATION:-0.5} cpus: ${N8N_DB_CPU_RESERVATION:-0.1}
memory: ${N8N_DB_MEMORY_RESERVATION:-512M} memory: ${N8N_DB_MEMORY_RESERVATION:-512M}
volumes: volumes:
+2 -2
View File
@@ -137,8 +137,8 @@ GATEWAY_PORT=18790
# CPU limits # CPU limits
NANOBOT_CPU_LIMIT=1.0 NANOBOT_CPU_LIMIT=1.0
NANOBOT_CPU_RESERVATION=0.5 NANOBOT_CPU_RESERVATION=0.1
# Memory limits # Memory limits
NANOBOT_MEMORY_LIMIT=1G NANOBOT_MEMORY_LIMIT=1G
NANOBOT_MEMORY_RESERVATION=512M NANOBOT_MEMORY_RESERVATION=512M
+2 -2
View File
@@ -57,7 +57,7 @@ services:
- NANOBOT_GATEWAY__PORT=${GATEWAY_PORT:-18790} - NANOBOT_GATEWAY__PORT=${GATEWAY_PORT:-18790}
command: ${NANOBOT_COMMAND:-gateway} command: ${NANOBOT_COMMAND:-gateway}
healthcheck: healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:18790/')"] test: [CMD, python, -c, "import urllib.request; urllib.request.urlopen('http://localhost:18790/')"]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3
@@ -68,7 +68,7 @@ services:
cpus: ${NANOBOT_CPU_LIMIT:-1.0} cpus: ${NANOBOT_CPU_LIMIT:-1.0}
memory: ${NANOBOT_MEMORY_LIMIT:-1G} memory: ${NANOBOT_MEMORY_LIMIT:-1G}
reservations: reservations:
cpus: ${NANOBOT_CPU_RESERVATION:-0.5} cpus: ${NANOBOT_CPU_RESERVATION:-0.1}
memory: ${NANOBOT_MEMORY_RESERVATION:-512M} memory: ${NANOBOT_MEMORY_RESERVATION:-512M}
volumes: volumes:
+2 -2
View File
@@ -46,9 +46,9 @@ CLAUDE_WEB_COOKIE=
# Gateway service resource limits # Gateway service resource limits
OPENCLAW_CPU_LIMIT=2.0 OPENCLAW_CPU_LIMIT=2.0
OPENCLAW_MEMORY_LIMIT=2G OPENCLAW_MEMORY_LIMIT=2G
OPENCLAW_CPU_RESERVATION=1.0 OPENCLAW_CPU_RESERVATION=0.1
OPENCLAW_MEMORY_RESERVATION=1G OPENCLAW_MEMORY_RESERVATION=1G
# CLI service resource limits # CLI service resource limits
OPENCLAW_CLI_CPU_LIMIT=1.0 OPENCLAW_CLI_CPU_LIMIT=1.0
OPENCLAW_CLI_MEMORY_LIMIT=512M OPENCLAW_CLI_MEMORY_LIMIT=512M
+2 -2
View File
@@ -55,12 +55,12 @@ services:
cpus: ${OPENCLAW_CPU_LIMIT:-2.0} cpus: ${OPENCLAW_CPU_LIMIT:-2.0}
memory: ${OPENCLAW_MEMORY_LIMIT:-2G} memory: ${OPENCLAW_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${OPENCLAW_CPU_RESERVATION:-1.0} cpus: ${OPENCLAW_CPU_RESERVATION:-0.1}
memory: ${OPENCLAW_MEMORY_RESERVATION:-1G} memory: ${OPENCLAW_MEMORY_RESERVATION:-1G}
openclaw-cli: openclaw-cli:
<<: *defaults <<: *defaults
restart: 'no' restart: no
image: ${GLOBAL_REGISTRY:-ghcr.io/}openclaw/openclaw:${OPENCLAW_VERSION:-2026.2.3} image: ${GLOBAL_REGISTRY:-ghcr.io/}openclaw/openclaw:${OPENCLAW_VERSION:-2026.2.3}
environment: environment:
- TZ=${TZ:-UTC} - TZ=${TZ:-UTC}
+3 -3
View File
@@ -62,7 +62,7 @@ OPENLIT_CPU_LIMIT=1.0
OPENLIT_MEMORY_LIMIT=2G OPENLIT_MEMORY_LIMIT=2G
# CPU reservation for OpenLIT # CPU reservation for OpenLIT
OPENLIT_CPU_RESERVATION=0.25 OPENLIT_CPU_RESERVATION=0.1
# Memory reservation for OpenLIT # Memory reservation for OpenLIT
OPENLIT_MEMORY_RESERVATION=512M OPENLIT_MEMORY_RESERVATION=512M
@@ -77,7 +77,7 @@ CLICKHOUSE_CPU_LIMIT=2.0
CLICKHOUSE_MEMORY_LIMIT=4G CLICKHOUSE_MEMORY_LIMIT=4G
# CPU reservation for ClickHouse # CPU reservation for ClickHouse
CLICKHOUSE_CPU_RESERVATION=0.5 CLICKHOUSE_CPU_RESERVATION=0.1
# Memory reservation for ClickHouse # Memory reservation for ClickHouse
CLICKHOUSE_MEMORY_RESERVATION=2G CLICKHOUSE_MEMORY_RESERVATION=2G
@@ -118,4 +118,4 @@ OPAMP_TLS_MIN_VERSION=1.2
OPAMP_TLS_MAX_VERSION=1.3 OPAMP_TLS_MAX_VERSION=1.3
# Logging level: debug, info, warn, error (default: info) # Logging level: debug, info, warn, error (default: info)
OPAMP_LOG_LEVEL=info OPAMP_LOG_LEVEL=info
+2 -2
View File
@@ -40,7 +40,7 @@ services:
cpus: ${CLICKHOUSE_CPU_LIMIT:-2.0} cpus: ${CLICKHOUSE_CPU_LIMIT:-2.0}
memory: ${CLICKHOUSE_MEMORY_LIMIT:-4G} memory: ${CLICKHOUSE_MEMORY_LIMIT:-4G}
reservations: reservations:
cpus: ${CLICKHOUSE_CPU_RESERVATION:-0.5} cpus: ${CLICKHOUSE_CPU_RESERVATION:-0.1}
memory: ${CLICKHOUSE_MEMORY_RESERVATION:-2G} memory: ${CLICKHOUSE_MEMORY_RESERVATION:-2G}
openlit: openlit:
@@ -92,7 +92,7 @@ services:
cpus: ${OPENLIT_CPU_LIMIT:-1.0} cpus: ${OPENLIT_CPU_LIMIT:-1.0}
memory: ${OPENLIT_MEMORY_LIMIT:-2G} memory: ${OPENLIT_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${OPENLIT_CPU_RESERVATION:-0.25} cpus: ${OPENLIT_CPU_RESERVATION:-0.1}
memory: ${OPENLIT_MEMORY_RESERVATION:-512M} memory: ${OPENLIT_MEMORY_RESERVATION:-512M}
volumes: volumes:
+2 -2
View File
@@ -36,8 +36,8 @@ ZO_S3_SECRET_KEY=
# Resource limits # Resource limits
# CPU limits (in cores) # CPU limits (in cores)
OPENOBSERVE_CPU_LIMIT=2.0 OPENOBSERVE_CPU_LIMIT=2.0
OPENOBSERVE_CPU_RESERVATION=0.5 OPENOBSERVE_CPU_RESERVATION=0.1
# Memory limits # Memory limits
OPENOBSERVE_MEMORY_LIMIT=2G OPENOBSERVE_MEMORY_LIMIT=2G
OPENOBSERVE_MEMORY_RESERVATION=512M OPENOBSERVE_MEMORY_RESERVATION=512M
+1 -1
View File
@@ -40,7 +40,7 @@ services:
cpus: ${OPENOBSERVE_CPU_LIMIT:-2.0} cpus: ${OPENOBSERVE_CPU_LIMIT:-2.0}
memory: ${OPENOBSERVE_MEMORY_LIMIT:-2G} memory: ${OPENOBSERVE_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${OPENOBSERVE_CPU_RESERVATION:-0.5} cpus: ${OPENOBSERVE_CPU_RESERVATION:-0.1}
memory: ${OPENOBSERVE_MEMORY_RESERVATION:-512M} memory: ${OPENOBSERVE_MEMORY_RESERVATION:-512M}
volumes: volumes:
+2 -2
View File
@@ -35,7 +35,7 @@ OPENSANDBOX_SERVER_CPU_LIMIT=2.0
# OpenSandbox Server CPU reservation # OpenSandbox Server CPU reservation
# Default: 1.0 (1 CPU core) # Default: 1.0 (1 CPU core)
OPENSANDBOX_SERVER_CPU_RESERVATION=1.0 OPENSANDBOX_SERVER_CPU_RESERVATION=0.1
# OpenSandbox Server memory limit # OpenSandbox Server memory limit
# Default: 2G # Default: 2G
@@ -43,4 +43,4 @@ OPENSANDBOX_SERVER_MEMORY_LIMIT=2G
# OpenSandbox Server memory reservation # OpenSandbox Server memory reservation
# Default: 1G # Default: 1G
OPENSANDBOX_SERVER_MEMORY_RESERVATION=1G OPENSANDBOX_SERVER_MEMORY_RESERVATION=1G
+1 -1
View File
@@ -41,7 +41,7 @@ services:
cpus: ${OPENSANDBOX_SERVER_CPU_LIMIT:-2.0} cpus: ${OPENSANDBOX_SERVER_CPU_LIMIT:-2.0}
memory: ${OPENSANDBOX_SERVER_MEMORY_LIMIT:-2G} memory: ${OPENSANDBOX_SERVER_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${OPENSANDBOX_SERVER_CPU_RESERVATION:-1.0} cpus: ${OPENSANDBOX_SERVER_CPU_RESERVATION:-0.1}
memory: ${OPENSANDBOX_SERVER_MEMORY_RESERVATION:-1G} memory: ${OPENSANDBOX_SERVER_MEMORY_RESERVATION:-1G}
volumes: volumes:
+9 -9
View File
@@ -81,47 +81,47 @@ NGINX_CONF_SUFFIX=local
# Resource Limits - MySQL # Resource Limits - MySQL
MYSQL_CPU_LIMIT=1.0 MYSQL_CPU_LIMIT=1.0
MYSQL_MEMORY_LIMIT=1G MYSQL_MEMORY_LIMIT=1G
MYSQL_CPU_RESERVATION=0.5 MYSQL_CPU_RESERVATION=0.1
MYSQL_MEMORY_RESERVATION=512M MYSQL_MEMORY_RESERVATION=512M
# Resource Limits - Redis # Resource Limits - Redis
REDIS_CPU_LIMIT=0.5 REDIS_CPU_LIMIT=0.5
REDIS_MEMORY_LIMIT=512M REDIS_MEMORY_LIMIT=512M
REDIS_CPU_RESERVATION=0.25 REDIS_CPU_RESERVATION=0.1
REDIS_MEMORY_RESERVATION=256M REDIS_MEMORY_RESERVATION=256M
# Resource Limits - ZooKeeper # Resource Limits - ZooKeeper
ZOOKEEPER_CPU_LIMIT=0.5 ZOOKEEPER_CPU_LIMIT=0.5
ZOOKEEPER_MEMORY_LIMIT=1G ZOOKEEPER_MEMORY_LIMIT=1G
ZOOKEEPER_CPU_RESERVATION=0.25 ZOOKEEPER_CPU_RESERVATION=0.1
ZOOKEEPER_MEMORY_RESERVATION=512M ZOOKEEPER_MEMORY_RESERVATION=512M
# Resource Limits - ClickHouse # Resource Limits - ClickHouse
CLICKHOUSE_CPU_LIMIT=2.0 CLICKHOUSE_CPU_LIMIT=2.0
CLICKHOUSE_MEMORY_LIMIT=4G CLICKHOUSE_MEMORY_LIMIT=4G
CLICKHOUSE_CPU_RESERVATION=0.5 CLICKHOUSE_CPU_RESERVATION=0.1
CLICKHOUSE_MEMORY_RESERVATION=1G CLICKHOUSE_MEMORY_RESERVATION=1G
# Resource Limits - MinIO # Resource Limits - MinIO
MINIO_CPU_LIMIT=1.0 MINIO_CPU_LIMIT=1.0
MINIO_MEMORY_LIMIT=1G MINIO_MEMORY_LIMIT=1G
MINIO_CPU_RESERVATION=0.25 MINIO_CPU_RESERVATION=0.1
MINIO_MEMORY_RESERVATION=512M MINIO_MEMORY_RESERVATION=512M
# Resource Limits - Backend # Resource Limits - Backend
BACKEND_CPU_LIMIT=2.0 BACKEND_CPU_LIMIT=2.0
BACKEND_MEMORY_LIMIT=2G BACKEND_MEMORY_LIMIT=2G
BACKEND_CPU_RESERVATION=0.5 BACKEND_CPU_RESERVATION=0.1
BACKEND_MEMORY_RESERVATION=1G BACKEND_MEMORY_RESERVATION=1G
# Resource Limits - Python Backend # Resource Limits - Python Backend
PYTHON_BACKEND_CPU_LIMIT=1.0 PYTHON_BACKEND_CPU_LIMIT=1.0
PYTHON_BACKEND_MEMORY_LIMIT=1G PYTHON_BACKEND_MEMORY_LIMIT=1G
PYTHON_BACKEND_CPU_RESERVATION=0.5 PYTHON_BACKEND_CPU_RESERVATION=0.1
PYTHON_BACKEND_MEMORY_RESERVATION=512M PYTHON_BACKEND_MEMORY_RESERVATION=512M
# Resource Limits - Frontend # Resource Limits - Frontend
FRONTEND_CPU_LIMIT=0.5 FRONTEND_CPU_LIMIT=0.5
FRONTEND_MEMORY_LIMIT=512M FRONTEND_MEMORY_LIMIT=512M
FRONTEND_CPU_RESERVATION=0.25 FRONTEND_CPU_RESERVATION=0.1
FRONTEND_MEMORY_RESERVATION=256M FRONTEND_MEMORY_RESERVATION=256M
+8 -8
View File
@@ -33,7 +33,7 @@ services:
cpus: ${MYSQL_CPU_LIMIT:-1.0} cpus: ${MYSQL_CPU_LIMIT:-1.0}
memory: ${MYSQL_MEMORY_LIMIT:-1G} memory: ${MYSQL_MEMORY_LIMIT:-1G}
reservations: reservations:
cpus: ${MYSQL_CPU_RESERVATION:-0.5} cpus: ${MYSQL_CPU_RESERVATION:-0.1}
memory: ${MYSQL_MEMORY_RESERVATION:-512M} memory: ${MYSQL_MEMORY_RESERVATION:-512M}
redis: redis:
@@ -56,7 +56,7 @@ services:
cpus: ${REDIS_CPU_LIMIT:-0.5} cpus: ${REDIS_CPU_LIMIT:-0.5}
memory: ${REDIS_MEMORY_LIMIT:-512M} memory: ${REDIS_MEMORY_LIMIT:-512M}
reservations: reservations:
cpus: ${REDIS_CPU_RESERVATION:-0.25} cpus: ${REDIS_CPU_RESERVATION:-0.1}
memory: ${REDIS_MEMORY_RESERVATION:-256M} memory: ${REDIS_MEMORY_RESERVATION:-256M}
zookeeper: zookeeper:
@@ -93,7 +93,7 @@ services:
cpus: ${ZOOKEEPER_CPU_LIMIT:-0.5} cpus: ${ZOOKEEPER_CPU_LIMIT:-0.5}
memory: ${ZOOKEEPER_MEMORY_LIMIT:-1G} memory: ${ZOOKEEPER_MEMORY_LIMIT:-1G}
reservations: reservations:
cpus: ${ZOOKEEPER_CPU_RESERVATION:-0.25} cpus: ${ZOOKEEPER_CPU_RESERVATION:-0.1}
memory: ${ZOOKEEPER_MEMORY_RESERVATION:-512M} memory: ${ZOOKEEPER_MEMORY_RESERVATION:-512M}
clickhouse-init: clickhouse-init:
@@ -148,7 +148,7 @@ services:
cpus: ${CLICKHOUSE_CPU_LIMIT:-2.0} cpus: ${CLICKHOUSE_CPU_LIMIT:-2.0}
memory: ${CLICKHOUSE_MEMORY_LIMIT:-4G} memory: ${CLICKHOUSE_MEMORY_LIMIT:-4G}
reservations: reservations:
cpus: ${CLICKHOUSE_CPU_RESERVATION:-0.5} cpus: ${CLICKHOUSE_CPU_RESERVATION:-0.1}
memory: ${CLICKHOUSE_MEMORY_RESERVATION:-1G} memory: ${CLICKHOUSE_MEMORY_RESERVATION:-1G}
minio: minio:
@@ -176,7 +176,7 @@ services:
cpus: ${MINIO_CPU_LIMIT:-1.0} cpus: ${MINIO_CPU_LIMIT:-1.0}
memory: ${MINIO_MEMORY_LIMIT:-1G} memory: ${MINIO_MEMORY_LIMIT:-1G}
reservations: reservations:
cpus: ${MINIO_CPU_RESERVATION:-0.25} cpus: ${MINIO_CPU_RESERVATION:-0.1}
memory: ${MINIO_MEMORY_RESERVATION:-512M} memory: ${MINIO_MEMORY_RESERVATION:-512M}
minio-init: minio-init:
@@ -258,7 +258,7 @@ services:
cpus: ${BACKEND_CPU_LIMIT:-2.0} cpus: ${BACKEND_CPU_LIMIT:-2.0}
memory: ${BACKEND_MEMORY_LIMIT:-2G} memory: ${BACKEND_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${BACKEND_CPU_RESERVATION:-0.5} cpus: ${BACKEND_CPU_RESERVATION:-0.1}
memory: ${BACKEND_MEMORY_RESERVATION:-1G} memory: ${BACKEND_MEMORY_RESERVATION:-1G}
volumes: volumes:
- backend_tmp:/tmp - backend_tmp:/tmp
@@ -307,7 +307,7 @@ services:
cpus: ${PYTHON_BACKEND_CPU_LIMIT:-1.0} cpus: ${PYTHON_BACKEND_CPU_LIMIT:-1.0}
memory: ${PYTHON_BACKEND_MEMORY_LIMIT:-1G} memory: ${PYTHON_BACKEND_MEMORY_LIMIT:-1G}
reservations: reservations:
cpus: ${PYTHON_BACKEND_CPU_RESERVATION:-0.5} cpus: ${PYTHON_BACKEND_CPU_RESERVATION:-0.1}
memory: ${PYTHON_BACKEND_MEMORY_RESERVATION:-512M} memory: ${PYTHON_BACKEND_MEMORY_RESERVATION:-512M}
volumes: volumes:
- python_backend_docker:/var/lib/docker - python_backend_docker:/var/lib/docker
@@ -336,7 +336,7 @@ services:
cpus: ${FRONTEND_CPU_LIMIT:-0.5} cpus: ${FRONTEND_CPU_LIMIT:-0.5}
memory: ${FRONTEND_MEMORY_LIMIT:-512M} memory: ${FRONTEND_MEMORY_LIMIT:-512M}
reservations: reservations:
cpus: ${FRONTEND_CPU_RESERVATION:-0.25} cpus: ${FRONTEND_CPU_RESERVATION:-0.1}
memory: ${FRONTEND_MEMORY_RESERVATION:-256M} memory: ${FRONTEND_MEMORY_RESERVATION:-256M}
volumes: volumes:
+9 -9
View File
@@ -25,21 +25,21 @@ MINIO_USER=minioadmin
MINIO_PASSWORD=minioadmin MINIO_PASSWORD=minioadmin
# Resource Limits - RAGFlow # Resource Limits - RAGFlow
RAGFLOW_CPU_LIMIT=4 RAGFLOW_CPU_LIMIT=4.0
RAGFLOW_MEMORY_LIMIT=4G RAGFLOW_MEMORY_LIMIT=4G
RAGFLOW_CPU_RESERVATION=1 RAGFLOW_CPU_RESERVATION=0.1
RAGFLOW_MEMORY_RESERVATION=2G RAGFLOW_MEMORY_RESERVATION=2G
# Resource Limits - Elasticsearch # Resource Limits - Elasticsearch
ELASTICSEARCH_CPU_LIMIT=2 ELASTICSEARCH_CPU_LIMIT=2.0
ELASTICSEARCH_MEMORY_LIMIT=2G ELASTICSEARCH_MEMORY_LIMIT=2G
ELASTICSEARCH_CPU_RESERVATION=0.5 ELASTICSEARCH_CPU_RESERVATION=0.1
ELASTICSEARCH_MEMORY_RESERVATION=1G ELASTICSEARCH_MEMORY_RESERVATION=1G
# Resource Limits - MySQL # Resource Limits - MySQL
MYSQL_CPU_LIMIT=1 MYSQL_CPU_LIMIT=1.0
MYSQL_MEMORY_LIMIT=1G MYSQL_MEMORY_LIMIT=1G
MYSQL_CPU_RESERVATION=0.25 MYSQL_CPU_RESERVATION=0.1
MYSQL_MEMORY_RESERVATION=256M MYSQL_MEMORY_RESERVATION=256M
# Resource Limits - Redis # Resource Limits - Redis
@@ -49,7 +49,7 @@ REDIS_CPU_RESERVATION=0.1
REDIS_MEMORY_RESERVATION=128M REDIS_MEMORY_RESERVATION=128M
# Resource Limits - MinIO # Resource Limits - MinIO
MINIO_CPU_LIMIT=1 MINIO_CPU_LIMIT=1.0
MINIO_MEMORY_LIMIT=1G MINIO_MEMORY_LIMIT=1G
MINIO_CPU_RESERVATION=0.25 MINIO_CPU_RESERVATION=0.1
MINIO_MEMORY_RESERVATION=256M MINIO_MEMORY_RESERVATION=256M
+11 -11
View File
@@ -35,7 +35,7 @@ services:
- REDIS_PASSWORD=${REDIS_PASSWORD:-redispassword} - REDIS_PASSWORD=${REDIS_PASSWORD:-redispassword}
- SECRET_KEY=${SECRET_KEY:-changeme_secret_key_CHANGEME} - SECRET_KEY=${SECRET_KEY:-changeme_secret_key_CHANGEME}
healthcheck: healthcheck:
test: [CMD-SHELL, "curl -sf http://localhost/ > /dev/null 2>&1 || exit 1"] test: [CMD-SHELL, 'curl -sf http://localhost/ > /dev/null 2>&1 || exit 1']
interval: 30s interval: 30s
timeout: 15s timeout: 15s
retries: 10 retries: 10
@@ -43,10 +43,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${RAGFLOW_CPU_LIMIT:-4} cpus: ${RAGFLOW_CPU_LIMIT:-4.0}
memory: ${RAGFLOW_MEMORY_LIMIT:-4G} memory: ${RAGFLOW_MEMORY_LIMIT:-4G}
reservations: reservations:
cpus: ${RAGFLOW_CPU_RESERVATION:-1} cpus: ${RAGFLOW_CPU_RESERVATION:-0.1}
memory: ${RAGFLOW_MEMORY_RESERVATION:-2G} memory: ${RAGFLOW_MEMORY_RESERVATION:-2G}
es01: es01:
@@ -68,10 +68,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${ELASTICSEARCH_CPU_LIMIT:-2} cpus: ${ELASTICSEARCH_CPU_LIMIT:-2.0}
memory: ${ELASTICSEARCH_MEMORY_LIMIT:-2G} memory: ${ELASTICSEARCH_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${ELASTICSEARCH_CPU_RESERVATION:-0.5} cpus: ${ELASTICSEARCH_CPU_RESERVATION:-0.1}
memory: ${ELASTICSEARCH_MEMORY_RESERVATION:-1G} memory: ${ELASTICSEARCH_MEMORY_RESERVATION:-1G}
mysql: mysql:
@@ -92,10 +92,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${MYSQL_CPU_LIMIT:-1} cpus: ${MYSQL_CPU_LIMIT:-1.0}
memory: ${MYSQL_MEMORY_LIMIT:-1G} memory: ${MYSQL_MEMORY_LIMIT:-1G}
reservations: reservations:
cpus: ${MYSQL_CPU_RESERVATION:-0.25} cpus: ${MYSQL_CPU_RESERVATION:-0.1}
memory: ${MYSQL_MEMORY_RESERVATION:-256M} memory: ${MYSQL_MEMORY_RESERVATION:-256M}
redis: redis:
@@ -109,7 +109,7 @@ services:
volumes: volumes:
- ragflow_redis_data:/data - ragflow_redis_data:/data
healthcheck: healthcheck:
test: [CMD-SHELL, "redis-cli -a $$REDIS_PASSWORD ping | grep -q PONG"] test: [CMD-SHELL, 'redis-cli -a $$REDIS_PASSWORD ping | grep -q PONG']
interval: 5s interval: 5s
timeout: 10s timeout: 10s
retries: 10 retries: 10
@@ -135,7 +135,7 @@ services:
ports: ports:
- '${MINIO_CONSOLE_PORT_OVERRIDE:-9001}:9001' - '${MINIO_CONSOLE_PORT_OVERRIDE:-9001}:9001'
healthcheck: healthcheck:
test: [CMD-SHELL, "curl -sf http://localhost:9000/minio/health/live || exit 1"] test: [CMD-SHELL, 'curl -sf http://localhost:9000/minio/health/live || exit 1']
interval: 10s interval: 10s
timeout: 5s timeout: 5s
retries: 10 retries: 10
@@ -143,10 +143,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${MINIO_CPU_LIMIT:-1} cpus: ${MINIO_CPU_LIMIT:-1.0}
memory: ${MINIO_MEMORY_LIMIT:-1G} memory: ${MINIO_MEMORY_LIMIT:-1G}
reservations: reservations:
cpus: ${MINIO_CPU_RESERVATION:-0.25} cpus: ${MINIO_CPU_RESERVATION:-0.1}
memory: ${MINIO_MEMORY_RESERVATION:-256M} memory: ${MINIO_MEMORY_RESERVATION:-256M}
volumes: volumes:
+8 -8
View File
@@ -120,31 +120,31 @@ ENVIRONMENT=production
# Gateway # Gateway
GATEWAY_CPU_LIMIT=1.0 GATEWAY_CPU_LIMIT=1.0
GATEWAY_MEMORY_LIMIT=512M GATEWAY_MEMORY_LIMIT=512M
GATEWAY_CPU_RESERVATION=0.25 GATEWAY_CPU_RESERVATION=0.1
GATEWAY_MEMORY_RESERVATION=256M GATEWAY_MEMORY_RESERVATION=256M
# Orchestrator # Orchestrator
ORCHESTRATOR_CPU_LIMIT=2.0 ORCHESTRATOR_CPU_LIMIT=2.0
ORCHESTRATOR_MEMORY_LIMIT=2G ORCHESTRATOR_MEMORY_LIMIT=2G
ORCHESTRATOR_CPU_RESERVATION=0.5 ORCHESTRATOR_CPU_RESERVATION=0.1
ORCHESTRATOR_MEMORY_RESERVATION=512M ORCHESTRATOR_MEMORY_RESERVATION=512M
# LLM Service # LLM Service
LLM_SERVICE_CPU_LIMIT=2.0 LLM_SERVICE_CPU_LIMIT=2.0
LLM_SERVICE_MEMORY_LIMIT=2G LLM_SERVICE_MEMORY_LIMIT=2G
LLM_SERVICE_CPU_RESERVATION=0.5 LLM_SERVICE_CPU_RESERVATION=0.1
LLM_SERVICE_MEMORY_RESERVATION=512M LLM_SERVICE_MEMORY_RESERVATION=512M
# Agent Core # Agent Core
AGENT_CORE_CPU_LIMIT=2.0 AGENT_CORE_CPU_LIMIT=2.0
AGENT_CORE_MEMORY_LIMIT=2G AGENT_CORE_MEMORY_LIMIT=2G
AGENT_CORE_CPU_RESERVATION=0.5 AGENT_CORE_CPU_RESERVATION=0.1
AGENT_CORE_MEMORY_RESERVATION=512M AGENT_CORE_MEMORY_RESERVATION=512M
# PostgreSQL # PostgreSQL
POSTGRES_CPU_LIMIT=1.0 POSTGRES_CPU_LIMIT=1.0
POSTGRES_MEMORY_LIMIT=1G POSTGRES_MEMORY_LIMIT=1G
POSTGRES_CPU_RESERVATION=0.25 POSTGRES_CPU_RESERVATION=0.1
POSTGRES_MEMORY_RESERVATION=256M POSTGRES_MEMORY_RESERVATION=256M
# Redis # Redis
@@ -156,17 +156,17 @@ REDIS_MEMORY_RESERVATION=128M
# Qdrant # Qdrant
QDRANT_CPU_LIMIT=1.0 QDRANT_CPU_LIMIT=1.0
QDRANT_MEMORY_LIMIT=1G QDRANT_MEMORY_LIMIT=1G
QDRANT_CPU_RESERVATION=0.25 QDRANT_CPU_RESERVATION=0.1
QDRANT_MEMORY_RESERVATION=256M QDRANT_MEMORY_RESERVATION=256M
# Temporal # Temporal
TEMPORAL_CPU_LIMIT=1.0 TEMPORAL_CPU_LIMIT=1.0
TEMPORAL_MEMORY_LIMIT=1G TEMPORAL_MEMORY_LIMIT=1G
TEMPORAL_CPU_RESERVATION=0.25 TEMPORAL_CPU_RESERVATION=0.1
TEMPORAL_MEMORY_RESERVATION=256M TEMPORAL_MEMORY_RESERVATION=256M
# Temporal UI (metrics profile) # Temporal UI (metrics profile)
TEMPORAL_UI_CPU_LIMIT=0.5 TEMPORAL_UI_CPU_LIMIT=0.5
TEMPORAL_UI_MEMORY_LIMIT=256M TEMPORAL_UI_MEMORY_LIMIT=256M
TEMPORAL_UI_CPU_RESERVATION=0.1 TEMPORAL_UI_CPU_RESERVATION=0.1
TEMPORAL_UI_MEMORY_RESERVATION=128M TEMPORAL_UI_MEMORY_RESERVATION=128M
+7 -7
View File
@@ -39,7 +39,7 @@ services:
cpus: ${POSTGRES_CPU_LIMIT:-1.0} cpus: ${POSTGRES_CPU_LIMIT:-1.0}
memory: ${POSTGRES_MEMORY_LIMIT:-1G} memory: ${POSTGRES_MEMORY_LIMIT:-1G}
reservations: reservations:
cpus: ${POSTGRES_CPU_RESERVATION:-0.25} cpus: ${POSTGRES_CPU_RESERVATION:-0.1}
memory: ${POSTGRES_MEMORY_RESERVATION:-256M} memory: ${POSTGRES_MEMORY_RESERVATION:-256M}
redis: redis:
@@ -81,7 +81,7 @@ services:
cpus: ${QDRANT_CPU_LIMIT:-1.0} cpus: ${QDRANT_CPU_LIMIT:-1.0}
memory: ${QDRANT_MEMORY_LIMIT:-1G} memory: ${QDRANT_MEMORY_LIMIT:-1G}
reservations: reservations:
cpus: ${QDRANT_CPU_RESERVATION:-0.25} cpus: ${QDRANT_CPU_RESERVATION:-0.1}
memory: ${QDRANT_MEMORY_RESERVATION:-256M} memory: ${QDRANT_MEMORY_RESERVATION:-256M}
temporal: temporal:
@@ -109,7 +109,7 @@ services:
cpus: ${TEMPORAL_CPU_LIMIT:-1.0} cpus: ${TEMPORAL_CPU_LIMIT:-1.0}
memory: ${TEMPORAL_MEMORY_LIMIT:-1G} memory: ${TEMPORAL_MEMORY_LIMIT:-1G}
reservations: reservations:
cpus: ${TEMPORAL_CPU_RESERVATION:-0.25} cpus: ${TEMPORAL_CPU_RESERVATION:-0.1}
memory: ${TEMPORAL_MEMORY_RESERVATION:-256M} memory: ${TEMPORAL_MEMORY_RESERVATION:-256M}
temporal-ui: temporal-ui:
@@ -199,7 +199,7 @@ services:
cpus: ${LLM_SERVICE_CPU_LIMIT:-2.0} cpus: ${LLM_SERVICE_CPU_LIMIT:-2.0}
memory: ${LLM_SERVICE_MEMORY_LIMIT:-2G} memory: ${LLM_SERVICE_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${LLM_SERVICE_CPU_RESERVATION:-0.5} cpus: ${LLM_SERVICE_CPU_RESERVATION:-0.1}
memory: ${LLM_SERVICE_MEMORY_RESERVATION:-512M} memory: ${LLM_SERVICE_MEMORY_RESERVATION:-512M}
agent-core: agent-core:
@@ -233,7 +233,7 @@ services:
cpus: ${AGENT_CORE_CPU_LIMIT:-2.0} cpus: ${AGENT_CORE_CPU_LIMIT:-2.0}
memory: ${AGENT_CORE_MEMORY_LIMIT:-2G} memory: ${AGENT_CORE_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${AGENT_CORE_CPU_RESERVATION:-0.5} cpus: ${AGENT_CORE_CPU_RESERVATION:-0.1}
memory: ${AGENT_CORE_MEMORY_RESERVATION:-512M} memory: ${AGENT_CORE_MEMORY_RESERVATION:-512M}
orchestrator: orchestrator:
@@ -299,7 +299,7 @@ services:
cpus: ${ORCHESTRATOR_CPU_LIMIT:-2.0} cpus: ${ORCHESTRATOR_CPU_LIMIT:-2.0}
memory: ${ORCHESTRATOR_MEMORY_LIMIT:-2G} memory: ${ORCHESTRATOR_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${ORCHESTRATOR_CPU_RESERVATION:-0.5} cpus: ${ORCHESTRATOR_CPU_RESERVATION:-0.1}
memory: ${ORCHESTRATOR_MEMORY_RESERVATION:-512M} memory: ${ORCHESTRATOR_MEMORY_RESERVATION:-512M}
gateway: gateway:
@@ -343,7 +343,7 @@ services:
cpus: ${GATEWAY_CPU_LIMIT:-1.0} cpus: ${GATEWAY_CPU_LIMIT:-1.0}
memory: ${GATEWAY_MEMORY_LIMIT:-512M} memory: ${GATEWAY_MEMORY_LIMIT:-512M}
reservations: reservations:
cpus: ${GATEWAY_CPU_RESERVATION:-0.25} cpus: ${GATEWAY_CPU_RESERVATION:-0.1}
memory: ${GATEWAY_MEMORY_RESERVATION:-256M} memory: ${GATEWAY_MEMORY_RESERVATION:-256M}
volumes: volumes:
+5 -5
View File
@@ -70,7 +70,7 @@ POSTGRES_DB=simstudio
# Resource Limits - Main Application # Resource Limits - Main Application
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
SIM_CPU_LIMIT=4.0 SIM_CPU_LIMIT=4.0
SIM_CPU_RESERVATION=2.0 SIM_CPU_RESERVATION=0.1
SIM_MEMORY_LIMIT=8G SIM_MEMORY_LIMIT=8G
SIM_MEMORY_RESERVATION=4G SIM_MEMORY_RESERVATION=4G
@@ -78,7 +78,7 @@ SIM_MEMORY_RESERVATION=4G
# Resource Limits - Realtime Server # Resource Limits - Realtime Server
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
SIM_REALTIME_CPU_LIMIT=2.0 SIM_REALTIME_CPU_LIMIT=2.0
SIM_REALTIME_CPU_RESERVATION=1.0 SIM_REALTIME_CPU_RESERVATION=0.1
SIM_REALTIME_MEMORY_LIMIT=4G SIM_REALTIME_MEMORY_LIMIT=4G
SIM_REALTIME_MEMORY_RESERVATION=2G SIM_REALTIME_MEMORY_RESERVATION=2G
@@ -86,7 +86,7 @@ SIM_REALTIME_MEMORY_RESERVATION=2G
# Resource Limits - Database Migrations # Resource Limits - Database Migrations
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
SIM_MIGRATIONS_CPU_LIMIT=1.0 SIM_MIGRATIONS_CPU_LIMIT=1.0
SIM_MIGRATIONS_CPU_RESERVATION=0.5 SIM_MIGRATIONS_CPU_RESERVATION=0.1
SIM_MIGRATIONS_MEMORY_LIMIT=512M SIM_MIGRATIONS_MEMORY_LIMIT=512M
SIM_MIGRATIONS_MEMORY_RESERVATION=256M SIM_MIGRATIONS_MEMORY_RESERVATION=256M
@@ -94,7 +94,7 @@ SIM_MIGRATIONS_MEMORY_RESERVATION=256M
# Resource Limits - PostgreSQL # Resource Limits - PostgreSQL
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
POSTGRES_CPU_LIMIT=2.0 POSTGRES_CPU_LIMIT=2.0
POSTGRES_CPU_RESERVATION=1.0 POSTGRES_CPU_RESERVATION=0.1
POSTGRES_MEMORY_LIMIT=2G POSTGRES_MEMORY_LIMIT=2G
POSTGRES_MEMORY_RESERVATION=1G POSTGRES_MEMORY_RESERVATION=1G
@@ -102,4 +102,4 @@ POSTGRES_MEMORY_RESERVATION=1G
# Logging Configuration # Logging Configuration
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
LOG_MAX_SIZE=100m LOG_MAX_SIZE=100m
LOG_MAX_FILE=3 LOG_MAX_FILE=3
+4 -4
View File
@@ -48,7 +48,7 @@ services:
cpus: ${SIM_CPU_LIMIT:-4.0} cpus: ${SIM_CPU_LIMIT:-4.0}
memory: ${SIM_MEMORY_LIMIT:-8G} memory: ${SIM_MEMORY_LIMIT:-8G}
reservations: reservations:
cpus: ${SIM_CPU_RESERVATION:-2.0} cpus: ${SIM_CPU_RESERVATION:-0.1}
memory: ${SIM_MEMORY_RESERVATION:-4G} memory: ${SIM_MEMORY_RESERVATION:-4G}
realtime: realtime:
@@ -77,7 +77,7 @@ services:
cpus: ${SIM_REALTIME_CPU_LIMIT:-2.0} cpus: ${SIM_REALTIME_CPU_LIMIT:-2.0}
memory: ${SIM_REALTIME_MEMORY_LIMIT:-4G} memory: ${SIM_REALTIME_MEMORY_LIMIT:-4G}
reservations: reservations:
cpus: ${SIM_REALTIME_CPU_RESERVATION:-1.0} cpus: ${SIM_REALTIME_CPU_RESERVATION:-0.1}
memory: ${SIM_REALTIME_MEMORY_RESERVATION:-2G} memory: ${SIM_REALTIME_MEMORY_RESERVATION:-2G}
migrations: migrations:
@@ -102,7 +102,7 @@ services:
cpus: ${SIM_MIGRATIONS_CPU_LIMIT:-1.0} cpus: ${SIM_MIGRATIONS_CPU_LIMIT:-1.0}
memory: ${SIM_MIGRATIONS_MEMORY_LIMIT:-512M} memory: ${SIM_MIGRATIONS_MEMORY_LIMIT:-512M}
reservations: reservations:
cpus: ${SIM_MIGRATIONS_CPU_RESERVATION:-0.5} cpus: ${SIM_MIGRATIONS_CPU_RESERVATION:-0.1}
memory: ${SIM_MIGRATIONS_MEMORY_RESERVATION:-256M} memory: ${SIM_MIGRATIONS_MEMORY_RESERVATION:-256M}
db: db:
@@ -129,7 +129,7 @@ services:
cpus: ${POSTGRES_CPU_LIMIT:-2.0} cpus: ${POSTGRES_CPU_LIMIT:-2.0}
memory: ${POSTGRES_MEMORY_LIMIT:-2G} memory: ${POSTGRES_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${POSTGRES_CPU_RESERVATION:-1.0} cpus: ${POSTGRES_CPU_RESERVATION:-0.1}
memory: ${POSTGRES_MEMORY_RESERVATION:-1G} memory: ${POSTGRES_MEMORY_RESERVATION:-1G}
volumes: volumes:
+5 -5
View File
@@ -30,9 +30,9 @@ VITE_API_BASE_URL=http://localhost:8000
VITE_WSS_BASE_URL=ws://localhost:8000 VITE_WSS_BASE_URL=ws://localhost:8000
# Resource Limits - Skyvern backend (includes Playwright + Chromium) # Resource Limits - Skyvern backend (includes Playwright + Chromium)
SKYVERN_CPU_LIMIT=2 SKYVERN_CPU_LIMIT=2.0
SKYVERN_MEMORY_LIMIT=4G SKYVERN_MEMORY_LIMIT=4G
SKYVERN_CPU_RESERVATION=0.5 SKYVERN_CPU_RESERVATION=0.1
SKYVERN_MEMORY_RESERVATION=1G SKYVERN_MEMORY_RESERVATION=1G
# Resource Limits - Skyvern UI # Resource Limits - Skyvern UI
@@ -42,7 +42,7 @@ SKYVERN_UI_CPU_RESERVATION=0.1
SKYVERN_UI_MEMORY_RESERVATION=64M SKYVERN_UI_MEMORY_RESERVATION=64M
# Resource Limits - PostgreSQL # Resource Limits - PostgreSQL
POSTGRES_CPU_LIMIT=1 POSTGRES_CPU_LIMIT=1.0
POSTGRES_MEMORY_LIMIT=1G POSTGRES_MEMORY_LIMIT=1G
POSTGRES_CPU_RESERVATION=0.25 POSTGRES_CPU_RESERVATION=0.1
POSTGRES_MEMORY_RESERVATION=256M POSTGRES_MEMORY_RESERVATION=256M
+5 -5
View File
@@ -45,10 +45,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${SKYVERN_CPU_LIMIT:-2} cpus: ${SKYVERN_CPU_LIMIT:-2.0}
memory: ${SKYVERN_MEMORY_LIMIT:-4G} memory: ${SKYVERN_MEMORY_LIMIT:-4G}
reservations: reservations:
cpus: ${SKYVERN_CPU_RESERVATION:-0.5} cpus: ${SKYVERN_CPU_RESERVATION:-0.1}
memory: ${SKYVERN_MEMORY_RESERVATION:-1G} memory: ${SKYVERN_MEMORY_RESERVATION:-1G}
skyvern-ui: skyvern-ui:
@@ -64,7 +64,7 @@ services:
- VITE_API_BASE_URL=${VITE_API_BASE_URL:-http://localhost:8000} - VITE_API_BASE_URL=${VITE_API_BASE_URL:-http://localhost:8000}
- VITE_WSS_BASE_URL=${VITE_WSS_BASE_URL:-ws://localhost:8000} - VITE_WSS_BASE_URL=${VITE_WSS_BASE_URL:-ws://localhost:8000}
healthcheck: healthcheck:
test: [CMD-SHELL, "curl -sf http://localhost:8080/ > /dev/null 2>&1 || exit 1"] test: [CMD-SHELL, 'curl -sf http://localhost:8080/ > /dev/null 2>&1 || exit 1']
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 3 retries: 3
@@ -97,10 +97,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${POSTGRES_CPU_LIMIT:-1} cpus: ${POSTGRES_CPU_LIMIT:-1.0}
memory: ${POSTGRES_MEMORY_LIMIT:-1G} memory: ${POSTGRES_MEMORY_LIMIT:-1G}
reservations: reservations:
cpus: ${POSTGRES_CPU_RESERVATION:-0.25} cpus: ${POSTGRES_CPU_RESERVATION:-0.1}
memory: ${POSTGRES_MEMORY_RESERVATION:-256M} memory: ${POSTGRES_MEMORY_RESERVATION:-256M}
volumes: volumes:
@@ -26,7 +26,7 @@ services:
cpus: ${SD_WEBUI_CPU_LIMIT:-4.0} cpus: ${SD_WEBUI_CPU_LIMIT:-4.0}
memory: ${SD_WEBUI_MEMORY_LIMIT:-16G} memory: ${SD_WEBUI_MEMORY_LIMIT:-16G}
reservations: reservations:
cpus: ${SD_WEBUI_CPU_RESERVATION:-2.0} cpus: ${SD_WEBUI_CPU_RESERVATION:-0.1}
memory: ${SD_WEBUI_MEMORY_RESERVATION:-8G} memory: ${SD_WEBUI_MEMORY_RESERVATION:-8G}
devices: devices:
- driver: nvidia - driver: nvidia
+1 -1
View File
@@ -41,7 +41,7 @@ services:
cpus: ${STIRLING_CPU_LIMIT:-2.0} cpus: ${STIRLING_CPU_LIMIT:-2.0}
memory: ${STIRLING_MEMORY_LIMIT:-4G} memory: ${STIRLING_MEMORY_LIMIT:-4G}
reservations: reservations:
cpus: ${STIRLING_CPU_RESERVATION:-1.0} cpus: ${STIRLING_CPU_RESERVATION:-0.1}
memory: ${STIRLING_MEMORY_RESERVATION:-2G} memory: ${STIRLING_MEMORY_RESERVATION:-2G}
healthcheck: healthcheck:
test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:8080/'] test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:8080/']
+3 -3
View File
@@ -30,7 +30,7 @@ CUBE_FORCE_REINSTALL=0
# CubeSandbox runs MySQL + Redis + CubeProxy + CoreDNS + CubeMaster + CubeAPI + # CubeSandbox runs MySQL + Redis + CubeProxy + CoreDNS + CubeMaster + CubeAPI +
# Cubelet + network-agent inside the wrapper container, then spawns MicroVMs. # Cubelet + network-agent inside the wrapper container, then spawns MicroVMs.
# Give it enough headroom; 16 GiB / 8 vCPU is a comfortable single-node default. # Give it enough headroom; 16 GiB / 8 vCPU is a comfortable single-node default.
CUBE_CPU_LIMIT=8 CUBE_CPU_LIMIT=8.0
CUBE_MEMORY_LIMIT=16G CUBE_MEMORY_LIMIT=16G
CUBE_CPU_RESERVATION=2 CUBE_CPU_RESERVATION=0.1
CUBE_MEMORY_RESERVATION=8G CUBE_MEMORY_RESERVATION=8G
+1 -1
View File
@@ -136,7 +136,7 @@ These permissions are equivalent to what `online-install.sh` would request if it
- **`/dev/kvm not found`** — the host does not expose KVM to Docker. On WSL2, confirm nested virtualization is enabled and the kernel exposes `/dev/kvm`. On bare metal, ensure VT-x / AMD-V is enabled in BIOS. - **`/dev/kvm not found`** — the host does not expose KVM to Docker. On WSL2, confirm nested virtualization is enabled and the kernel exposes `/dev/kvm`. On bare metal, ensure VT-x / AMD-V is enabled in BIOS.
- **First boot hangs at "Running CubeSandbox one-click installer"** — the installer is downloading the bundle (~hundreds of MB) and pulling several Docker images. Check progress with `docker compose logs -f cube-sandbox`. - **First boot hangs at "Running CubeSandbox one-click installer"** — the installer is downloading the bundle (~hundreds of MB) and pulling several Docker images. Check progress with `docker compose logs -f cube-sandbox`.
- **`quickcheck.sh reported issues`** — open a shell in the container and inspect logs: - **`quickcheck.sh reported issues`** — open a shell in the container and inspect logs:
```bash ```bash
docker compose exec cube-sandbox bash docker compose exec cube-sandbox bash
ls /data/log/ ls /data/log/
+4 -4
View File
@@ -89,19 +89,19 @@ services:
healthcheck: healthcheck:
test: test:
- CMD-SHELL - CMD-SHELL
- "curl -fsS http://127.0.0.1:3000/health && curl -fsS http://127.0.0.1:8089/notify/health && curl -fsS http://127.0.0.1:19090/healthz" - 'curl -fsS http://127.0.0.1:3000/health && curl -fsS http://127.0.0.1:8089/notify/health && curl -fsS http://127.0.0.1:19090/healthz'
interval: 30s interval: 30s
timeout: 15s timeout: 15s
retries: 5 retries: 5
start_period: 600s # First boot downloads ~400 MB + Docker images; be generous. start_period: 600s # First boot downloads ~400 MB + Docker images; be generous.
deploy: deploy:
resources: resources:
limits: limits:
cpus: '${CUBE_CPU_LIMIT:-8}' cpus: '${CUBE_CPU_LIMIT:-8.0}'
memory: ${CUBE_MEMORY_LIMIT:-16G} memory: ${CUBE_MEMORY_LIMIT:-16G}
reservations: reservations:
cpus: '${CUBE_CPU_RESERVATION:-2}' cpus: '${CUBE_CPU_RESERVATION:-0.1}'
memory: ${CUBE_MEMORY_RESERVATION:-8G} memory: ${CUBE_MEMORY_RESERVATION:-8G}
volumes: volumes:
+2 -2
View File
@@ -25,7 +25,7 @@ INSTALL_NVIDIA_TOOLKIT=false
# Resource limits # Resource limits
DIND_CPU_LIMIT=2.0 DIND_CPU_LIMIT=2.0
DIND_MEMORY_LIMIT=4G DIND_MEMORY_LIMIT=4G
DIND_CPU_RESERVATION=1.0 DIND_CPU_RESERVATION=0.1
DIND_MEMORY_RESERVATION=2G DIND_MEMORY_RESERVATION=2G
# Docker daemon options # Docker daemon options
@@ -33,4 +33,4 @@ DIND_MEMORY_RESERVATION=2G
DOCKER_TLS_CERTDIR= DOCKER_TLS_CERTDIR=
# Data directory for named volume # Data directory for named volume
# DATA_DIR=./data # DATA_DIR=./data
+2 -2
View File
@@ -44,7 +44,7 @@ services:
cpus: ${DIND_CPU_LIMIT:-2.0} cpus: ${DIND_CPU_LIMIT:-2.0}
memory: ${DIND_MEMORY_LIMIT:-4G} memory: ${DIND_MEMORY_LIMIT:-4G}
reservations: reservations:
cpus: ${DIND_CPU_RESERVATION:-1.0} cpus: ${DIND_CPU_RESERVATION:-0.1}
memory: ${DIND_MEMORY_RESERVATION:-2G} memory: ${DIND_MEMORY_RESERVATION:-2G}
# GPU-enabled DinD (optional) # GPU-enabled DinD (optional)
@@ -84,7 +84,7 @@ services:
cpus: ${DIND_CPU_LIMIT:-2.0} cpus: ${DIND_CPU_LIMIT:-2.0}
memory: ${DIND_MEMORY_LIMIT:-4G} memory: ${DIND_MEMORY_LIMIT:-4G}
reservations: reservations:
cpus: ${DIND_CPU_RESERVATION:-1.0} cpus: ${DIND_CPU_RESERVATION:-0.1}
memory: ${DIND_MEMORY_RESERVATION:-2G} memory: ${DIND_MEMORY_RESERVATION:-2G}
devices: devices:
- driver: nvidia - driver: nvidia
+9 -9
View File
@@ -14,27 +14,27 @@ DEER_FLOW_MODEL_ID=gpt-4.1-mini
OPENAI_API_KEY= OPENAI_API_KEY=
# Resources - Gateway # Resources - Gateway
DEER_FLOW_GATEWAY_CPU_LIMIT=2.00 DEER_FLOW_GATEWAY_CPU_LIMIT=2.0
DEER_FLOW_GATEWAY_MEMORY_LIMIT=2G DEER_FLOW_GATEWAY_MEMORY_LIMIT=2G
DEER_FLOW_GATEWAY_CPU_RESERVATION=0.50 DEER_FLOW_GATEWAY_CPU_RESERVATION=0.1
DEER_FLOW_GATEWAY_MEMORY_RESERVATION=512M DEER_FLOW_GATEWAY_MEMORY_RESERVATION=512M
# Resources - LangGraph # Resources - LangGraph
DEER_FLOW_LANGGRAPH_CPU_LIMIT=2.00 DEER_FLOW_LANGGRAPH_CPU_LIMIT=2.0
DEER_FLOW_LANGGRAPH_MEMORY_LIMIT=2G DEER_FLOW_LANGGRAPH_MEMORY_LIMIT=2G
DEER_FLOW_LANGGRAPH_CPU_RESERVATION=0.50 DEER_FLOW_LANGGRAPH_CPU_RESERVATION=0.1
DEER_FLOW_LANGGRAPH_MEMORY_RESERVATION=512M DEER_FLOW_LANGGRAPH_MEMORY_RESERVATION=512M
# Resources - Frontend # Resources - Frontend
DEER_FLOW_FRONTEND_CPU_LIMIT=1.00 DEER_FLOW_FRONTEND_CPU_LIMIT=1.0
DEER_FLOW_FRONTEND_MEMORY_LIMIT=1G DEER_FLOW_FRONTEND_MEMORY_LIMIT=1G
DEER_FLOW_FRONTEND_CPU_RESERVATION=0.25 DEER_FLOW_FRONTEND_CPU_RESERVATION=0.1
DEER_FLOW_FRONTEND_MEMORY_RESERVATION=256M DEER_FLOW_FRONTEND_MEMORY_RESERVATION=256M
# Resources - Nginx # Resources - Nginx
DEER_FLOW_NGINX_CPU_LIMIT=0.50 DEER_FLOW_NGINX_CPU_LIMIT=0.5
DEER_FLOW_NGINX_MEMORY_LIMIT=256M DEER_FLOW_NGINX_MEMORY_LIMIT=256M
DEER_FLOW_NGINX_CPU_RESERVATION=0.10 DEER_FLOW_NGINX_CPU_RESERVATION=0.1
DEER_FLOW_NGINX_MEMORY_RESERVATION=64M DEER_FLOW_NGINX_MEMORY_RESERVATION=64M
# Logging # Logging
@@ -42,4 +42,4 @@ DEER_FLOW_LOG_MAX_SIZE=100m
DEER_FLOW_LOG_MAX_FILE=3 DEER_FLOW_LOG_MAX_FILE=3
# Timezone # Timezone
TZ=UTC TZ=UTC
+8 -8
View File
@@ -53,10 +53,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${DEER_FLOW_GATEWAY_CPU_LIMIT:-2.00} cpus: ${DEER_FLOW_GATEWAY_CPU_LIMIT:-2.0}
memory: ${DEER_FLOW_GATEWAY_MEMORY_LIMIT:-2G} memory: ${DEER_FLOW_GATEWAY_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${DEER_FLOW_GATEWAY_CPU_RESERVATION:-0.50} cpus: ${DEER_FLOW_GATEWAY_CPU_RESERVATION:-0.1}
memory: ${DEER_FLOW_GATEWAY_MEMORY_RESERVATION:-512M} memory: ${DEER_FLOW_GATEWAY_MEMORY_RESERVATION:-512M}
deerflow-langgraph: deerflow-langgraph:
@@ -102,10 +102,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${DEER_FLOW_LANGGRAPH_CPU_LIMIT:-2.00} cpus: ${DEER_FLOW_LANGGRAPH_CPU_LIMIT:-2.0}
memory: ${DEER_FLOW_LANGGRAPH_MEMORY_LIMIT:-2G} memory: ${DEER_FLOW_LANGGRAPH_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${DEER_FLOW_LANGGRAPH_CPU_RESERVATION:-0.50} cpus: ${DEER_FLOW_LANGGRAPH_CPU_RESERVATION:-0.1}
memory: ${DEER_FLOW_LANGGRAPH_MEMORY_RESERVATION:-512M} memory: ${DEER_FLOW_LANGGRAPH_MEMORY_RESERVATION:-512M}
deerflow-frontend: deerflow-frontend:
@@ -133,10 +133,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${DEER_FLOW_FRONTEND_CPU_LIMIT:-1.00} cpus: ${DEER_FLOW_FRONTEND_CPU_LIMIT:-1.0}
memory: ${DEER_FLOW_FRONTEND_MEMORY_LIMIT:-1G} memory: ${DEER_FLOW_FRONTEND_MEMORY_LIMIT:-1G}
reservations: reservations:
cpus: ${DEER_FLOW_FRONTEND_CPU_RESERVATION:-0.25} cpus: ${DEER_FLOW_FRONTEND_CPU_RESERVATION:-0.1}
memory: ${DEER_FLOW_FRONTEND_MEMORY_RESERVATION:-256M} memory: ${DEER_FLOW_FRONTEND_MEMORY_RESERVATION:-256M}
deerflow-nginx: deerflow-nginx:
@@ -164,8 +164,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${DEER_FLOW_NGINX_CPU_LIMIT:-0.50} cpus: ${DEER_FLOW_NGINX_CPU_LIMIT:-0.5}
memory: ${DEER_FLOW_NGINX_MEMORY_LIMIT:-256M} memory: ${DEER_FLOW_NGINX_MEMORY_LIMIT:-256M}
reservations: reservations:
cpus: ${DEER_FLOW_NGINX_CPU_RESERVATION:-0.10} cpus: ${DEER_FLOW_NGINX_CPU_RESERVATION:-0.1}
memory: ${DEER_FLOW_NGINX_MEMORY_RESERVATION:-64M} memory: ${DEER_FLOW_NGINX_MEMORY_RESERVATION:-64M}
+3 -3
View File
@@ -52,8 +52,8 @@ GOOSE_MODEL=gpt-4
# ============================================ # ============================================
# CPU limits # CPU limits
GOOSE_CPU_LIMIT=2.00 GOOSE_CPU_LIMIT=2.0
GOOSE_CPU_RESERVATION=0.50 GOOSE_CPU_RESERVATION=0.1
# Memory limits # Memory limits
GOOSE_MEMORY_LIMIT=2G GOOSE_MEMORY_LIMIT=2G
@@ -61,4 +61,4 @@ GOOSE_MEMORY_RESERVATION=512M
# Logging limits # Logging limits
GOOSE_LOG_MAX_SIZE=100m GOOSE_LOG_MAX_SIZE=100m
GOOSE_LOG_MAX_FILE=3 GOOSE_LOG_MAX_FILE=3
+2 -2
View File
@@ -44,10 +44,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${GOOSE_CPU_LIMIT:-2.00} cpus: ${GOOSE_CPU_LIMIT:-2.0}
memory: ${GOOSE_MEMORY_LIMIT:-2G} memory: ${GOOSE_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${GOOSE_CPU_RESERVATION:-0.50} cpus: ${GOOSE_CPU_RESERVATION:-0.1}
memory: ${GOOSE_MEMORY_RESERVATION:-512M} memory: ${GOOSE_MEMORY_RESERVATION:-512M}
volumes: volumes:
+1 -1
View File
@@ -33,7 +33,7 @@ services:
cpus: '2.0' cpus: '2.0'
memory: 4G memory: 4G
reservations: reservations:
cpus: '1.0' cpus: '0.1'
memory: 2G memory: 2G
devices: devices:
- driver: nvidia - driver: nvidia
+3 -3
View File
@@ -41,12 +41,12 @@ K3S_DISABLE_SERVICES=traefik
# Resource Limits # Resource Limits
# CPU limit (cores) # CPU limit (cores)
K3S_DIND_CPU_LIMIT=2.00 K3S_DIND_CPU_LIMIT=2.0
# Memory limit # Memory limit
K3S_DIND_MEMORY_LIMIT=4G K3S_DIND_MEMORY_LIMIT=4G
# Resource Reservations # Resource Reservations
# CPU reservation (cores) # CPU reservation (cores)
K3S_DIND_CPU_RESERVATION=0.50 K3S_DIND_CPU_RESERVATION=0.1
# Memory reservation # Memory reservation
K3S_DIND_MEMORY_RESERVATION=1G K3S_DIND_MEMORY_RESERVATION=1G
+2 -2
View File
@@ -44,10 +44,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${K3S_DIND_CPU_LIMIT:-2.00} cpus: ${K3S_DIND_CPU_LIMIT:-2.0}
memory: ${K3S_DIND_MEMORY_LIMIT:-4G} memory: ${K3S_DIND_MEMORY_LIMIT:-4G}
reservations: reservations:
cpus: ${K3S_DIND_CPU_RESERVATION:-0.50} cpus: ${K3S_DIND_CPU_RESERVATION:-0.1}
memory: ${K3S_DIND_MEMORY_RESERVATION:-1G} memory: ${K3S_DIND_MEMORY_RESERVATION:-1G}
volumes: volumes:
+3 -3
View File
@@ -45,10 +45,10 @@ MICROSANDBOX_PORT_OVERRIDE=5555
# CPU limits # CPU limits
# MicroSandbox requires more CPU for KVM virtualization # MicroSandbox requires more CPU for KVM virtualization
MICROSANDBOX_CPU_LIMIT=4 MICROSANDBOX_CPU_LIMIT=4.0
MICROSANDBOX_CPU_RESERVATION=1 MICROSANDBOX_CPU_RESERVATION=0.1
# Memory limits # Memory limits
# MicroSandbox requires more memory for running VMs # MicroSandbox requires more memory for running VMs
MICROSANDBOX_MEMORY_LIMIT=4G MICROSANDBOX_MEMORY_LIMIT=4G
MICROSANDBOX_MEMORY_RESERVATION=1G MICROSANDBOX_MEMORY_RESERVATION=1G
+2 -2
View File
@@ -66,10 +66,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${MICROSANDBOX_CPU_LIMIT:-4} cpus: ${MICROSANDBOX_CPU_LIMIT:-4.0}
memory: ${MICROSANDBOX_MEMORY_LIMIT:-4G} memory: ${MICROSANDBOX_MEMORY_LIMIT:-4G}
reservations: reservations:
cpus: ${MICROSANDBOX_CPU_RESERVATION:-1} cpus: ${MICROSANDBOX_CPU_RESERVATION:-0.1}
memory: ${MICROSANDBOX_MEMORY_RESERVATION:-1G} memory: ${MICROSANDBOX_MEMORY_RESERVATION:-1G}
volumes: volumes:
+1 -1
View File
@@ -28,7 +28,7 @@ x-mineru-vllm: &mineru-vllm
cpus: '16.0' cpus: '16.0'
memory: 32G memory: 32G
reservations: reservations:
cpus: '8.0' cpus: '0.1'
memory: 16G memory: 16G
devices: devices:
- driver: nvidia - driver: nvidia
+7 -7
View File
@@ -30,21 +30,21 @@ MULTICA_GOOGLE_CLIENT_SECRET=
MULTICA_GOOGLE_REDIRECT_URI=http://localhost:3000/auth/callback MULTICA_GOOGLE_REDIRECT_URI=http://localhost:3000/auth/callback
# Resources - PostgreSQL # Resources - PostgreSQL
MULTICA_POSTGRES_CPU_LIMIT=1.00 MULTICA_POSTGRES_CPU_LIMIT=1.0
MULTICA_POSTGRES_MEMORY_LIMIT=1G MULTICA_POSTGRES_MEMORY_LIMIT=1G
MULTICA_POSTGRES_CPU_RESERVATION=0.25 MULTICA_POSTGRES_CPU_RESERVATION=0.1
MULTICA_POSTGRES_MEMORY_RESERVATION=256M MULTICA_POSTGRES_MEMORY_RESERVATION=256M
# Resources - Backend # Resources - Backend
MULTICA_BACKEND_CPU_LIMIT=2.00 MULTICA_BACKEND_CPU_LIMIT=2.0
MULTICA_BACKEND_MEMORY_LIMIT=2G MULTICA_BACKEND_MEMORY_LIMIT=2G
MULTICA_BACKEND_CPU_RESERVATION=0.50 MULTICA_BACKEND_CPU_RESERVATION=0.1
MULTICA_BACKEND_MEMORY_RESERVATION=512M MULTICA_BACKEND_MEMORY_RESERVATION=512M
# Resources - Frontend # Resources - Frontend
MULTICA_FRONTEND_CPU_LIMIT=1.00 MULTICA_FRONTEND_CPU_LIMIT=1.0
MULTICA_FRONTEND_MEMORY_LIMIT=1G MULTICA_FRONTEND_MEMORY_LIMIT=1G
MULTICA_FRONTEND_CPU_RESERVATION=0.25 MULTICA_FRONTEND_CPU_RESERVATION=0.1
MULTICA_FRONTEND_MEMORY_RESERVATION=256M MULTICA_FRONTEND_MEMORY_RESERVATION=256M
# Logging # Logging
@@ -52,4 +52,4 @@ MULTICA_LOG_MAX_SIZE=100m
MULTICA_LOG_MAX_FILE=3 MULTICA_LOG_MAX_FILE=3
# Timezone # Timezone
TZ=UTC TZ=UTC
+6 -6
View File
@@ -26,10 +26,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${MULTICA_POSTGRES_CPU_LIMIT:-1.00} cpus: ${MULTICA_POSTGRES_CPU_LIMIT:-1.0}
memory: ${MULTICA_POSTGRES_MEMORY_LIMIT:-1G} memory: ${MULTICA_POSTGRES_MEMORY_LIMIT:-1G}
reservations: reservations:
cpus: ${MULTICA_POSTGRES_CPU_RESERVATION:-0.25} cpus: ${MULTICA_POSTGRES_CPU_RESERVATION:-0.1}
memory: ${MULTICA_POSTGRES_MEMORY_RESERVATION:-256M} memory: ${MULTICA_POSTGRES_MEMORY_RESERVATION:-256M}
multica-backend: multica-backend:
@@ -67,10 +67,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${MULTICA_BACKEND_CPU_LIMIT:-2.00} cpus: ${MULTICA_BACKEND_CPU_LIMIT:-2.0}
memory: ${MULTICA_BACKEND_MEMORY_LIMIT:-2G} memory: ${MULTICA_BACKEND_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${MULTICA_BACKEND_CPU_RESERVATION:-0.50} cpus: ${MULTICA_BACKEND_CPU_RESERVATION:-0.1}
memory: ${MULTICA_BACKEND_MEMORY_RESERVATION:-512M} memory: ${MULTICA_BACKEND_MEMORY_RESERVATION:-512M}
multica-frontend: multica-frontend:
@@ -99,10 +99,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${MULTICA_FRONTEND_CPU_LIMIT:-1.00} cpus: ${MULTICA_FRONTEND_CPU_LIMIT:-1.0}
memory: ${MULTICA_FRONTEND_MEMORY_LIMIT:-1G} memory: ${MULTICA_FRONTEND_MEMORY_LIMIT:-1G}
reservations: reservations:
cpus: ${MULTICA_FRONTEND_CPU_RESERVATION:-0.25} cpus: ${MULTICA_FRONTEND_CPU_RESERVATION:-0.1}
memory: ${MULTICA_FRONTEND_MEMORY_RESERVATION:-256M} memory: ${MULTICA_FRONTEND_MEMORY_RESERVATION:-256M}
volumes: volumes:
+3 -3
View File
@@ -20,9 +20,9 @@ OPENAI_API_KEY=
GROQ_API_KEY= GROQ_API_KEY=
# Resources # Resources
OPENFANG_CPU_LIMIT=2.00 OPENFANG_CPU_LIMIT=2.0
OPENFANG_MEMORY_LIMIT=2G OPENFANG_MEMORY_LIMIT=2G
OPENFANG_CPU_RESERVATION=0.50 OPENFANG_CPU_RESERVATION=0.1
OPENFANG_MEMORY_RESERVATION=512M OPENFANG_MEMORY_RESERVATION=512M
# Logging # Logging
@@ -30,4 +30,4 @@ OPENFANG_LOG_MAX_SIZE=100m
OPENFANG_LOG_MAX_FILE=3 OPENFANG_LOG_MAX_FILE=3
# Timezone # Timezone
TZ=UTC TZ=UTC
+2 -2
View File
@@ -61,10 +61,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${OPENFANG_CPU_LIMIT:-2.00} cpus: ${OPENFANG_CPU_LIMIT:-2.0}
memory: ${OPENFANG_MEMORY_LIMIT:-2G} memory: ${OPENFANG_MEMORY_LIMIT:-2G}
reservations: reservations:
cpus: ${OPENFANG_CPU_RESERVATION:-0.50} cpus: ${OPENFANG_CPU_RESERVATION:-0.1}
memory: ${OPENFANG_MEMORY_RESERVATION:-512M} memory: ${OPENFANG_MEMORY_RESERVATION:-512M}
volumes: volumes:
+3 -3
View File
@@ -18,9 +18,9 @@ OPENAI_API_KEY=
ANTHROPIC_API_KEY= ANTHROPIC_API_KEY=
# Resources # Resources
PAPERCLIP_CPU_LIMIT=2.00 PAPERCLIP_CPU_LIMIT=2.0
PAPERCLIP_MEMORY_LIMIT=4G PAPERCLIP_MEMORY_LIMIT=4G
PAPERCLIP_CPU_RESERVATION=0.50 PAPERCLIP_CPU_RESERVATION=0.1
PAPERCLIP_MEMORY_RESERVATION=1G PAPERCLIP_MEMORY_RESERVATION=1G
# Logging # Logging
@@ -28,4 +28,4 @@ PAPERCLIP_LOG_MAX_SIZE=100m
PAPERCLIP_LOG_MAX_FILE=3 PAPERCLIP_LOG_MAX_FILE=3
# Timezone # Timezone
TZ=UTC TZ=UTC
+2 -2
View File
@@ -43,10 +43,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${PAPERCLIP_CPU_LIMIT:-2.00} cpus: ${PAPERCLIP_CPU_LIMIT:-2.0}
memory: ${PAPERCLIP_MEMORY_LIMIT:-4G} memory: ${PAPERCLIP_MEMORY_LIMIT:-4G}
reservations: reservations:
cpus: ${PAPERCLIP_CPU_RESERVATION:-0.50} cpus: ${PAPERCLIP_CPU_RESERVATION:-0.1}
memory: ${PAPERCLIP_MEMORY_RESERVATION:-1G} memory: ${PAPERCLIP_MEMORY_RESERVATION:-1G}
volumes: volumes:
+2 -2
View File
@@ -56,7 +56,7 @@ TURBOOCR_LOG_FORMAT=json
# First-start builds TRT engines; 12 G covers the GPU + engine compilation headroom. # First-start builds TRT engines; 12 G covers the GPU + engine compilation headroom.
TURBOOCR_CPU_LIMIT=8.0 TURBOOCR_CPU_LIMIT=8.0
TURBOOCR_MEMORY_LIMIT=12G TURBOOCR_MEMORY_LIMIT=12G
TURBOOCR_CPU_RESERVATION=2.0 TURBOOCR_CPU_RESERVATION=0.1
TURBOOCR_MEMORY_RESERVATION=4G TURBOOCR_MEMORY_RESERVATION=4G
# Number of NVIDIA GPUs to reserve (GPU variant only) # Number of NVIDIA GPUs to reserve (GPU variant only)
@@ -70,4 +70,4 @@ TURBOOCR_LOG_MAX_SIZE=100m
TURBOOCR_LOG_MAX_FILE=3 TURBOOCR_LOG_MAX_FILE=3
# Timezone # Timezone
TZ=UTC TZ=UTC
+2 -2
View File
@@ -70,7 +70,7 @@ services:
cpus: ${TURBOOCR_CPU_LIMIT:-8.0} cpus: ${TURBOOCR_CPU_LIMIT:-8.0}
memory: ${TURBOOCR_MEMORY_LIMIT:-12G} memory: ${TURBOOCR_MEMORY_LIMIT:-12G}
reservations: reservations:
cpus: ${TURBOOCR_CPU_RESERVATION:-2.0} cpus: ${TURBOOCR_CPU_RESERVATION:-0.1}
memory: ${TURBOOCR_MEMORY_RESERVATION:-4G} memory: ${TURBOOCR_MEMORY_RESERVATION:-4G}
devices: devices:
- driver: nvidia - driver: nvidia
@@ -102,7 +102,7 @@ services:
cpus: ${TURBOOCR_CPU_LIMIT:-8.0} cpus: ${TURBOOCR_CPU_LIMIT:-8.0}
memory: ${TURBOOCR_MEMORY_LIMIT:-4G} memory: ${TURBOOCR_MEMORY_LIMIT:-4G}
reservations: reservations:
cpus: ${TURBOOCR_CPU_RESERVATION:-2.0} cpus: ${TURBOOCR_CPU_RESERVATION:-0.1}
memory: ${TURBOOCR_MEMORY_RESERVATION:-1G} memory: ${TURBOOCR_MEMORY_RESERVATION:-1G}
shm_size: ${TURBOOCR_SHM_SIZE:-512m} shm_size: ${TURBOOCR_SHM_SIZE:-512m}
+2 -2
View File
@@ -24,8 +24,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
@@ -27,10 +27,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
volumes: volumes:
+2 -2
View File
@@ -26,10 +26,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
volumes: volumes:
+2 -2
View File
@@ -27,8 +27,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
+2 -2
View File
@@ -27,8 +27,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
+2 -2
View File
@@ -27,8 +27,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
+2 -2
View File
@@ -25,8 +25,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
+2 -2
View File
@@ -8,10 +8,10 @@ x-defaults: &defaults
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
services: services:
+2 -2
View File
@@ -24,8 +24,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
+2 -2
View File
@@ -26,8 +26,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
+2 -2
View File
@@ -8,10 +8,10 @@ x-defaults: &defaults
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
services: services:
+4 -4
View File
@@ -29,10 +29,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
grafana: grafana:
@@ -59,10 +59,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '2.00' cpus: '2.0'
memory: 1G memory: 1G
reservations: reservations:
cpus: '0.5' cpus: '0.1'
memory: 256M memory: 256M
volumes: volumes:
+2 -2
View File
@@ -24,8 +24,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
+2 -2
View File
@@ -26,8 +26,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
+2 -2
View File
@@ -26,10 +26,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
volumes: volumes:
+4 -4
View File
@@ -29,10 +29,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
mongodb: mongodb:
@@ -57,10 +57,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '2.00' cpus: '2.0'
memory: 2G memory: 2G
reservations: reservations:
cpus: '0.5' cpus: '0.1'
memory: 512M memory: 512M
volumes: volumes:
+2 -2
View File
@@ -27,8 +27,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
+2 -2
View File
@@ -27,8 +27,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
+2 -2
View File
@@ -25,8 +25,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
@@ -24,8 +24,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
+2 -2
View File
@@ -24,8 +24,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
+2 -2
View File
@@ -25,8 +25,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
+2 -2
View File
@@ -24,8 +24,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
+2 -2
View File
@@ -26,10 +26,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '2.00' cpus: '2.0'
memory: 2G memory: 2G
reservations: reservations:
cpus: '0.5' cpus: '0.1'
memory: 512M memory: 512M
security_opt: security_opt:
- seccomp:unconfined - seccomp:unconfined
+4 -4
View File
@@ -29,10 +29,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
redis: redis:
@@ -54,10 +54,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '0.50' cpus: '0.5'
memory: 256M memory: 256M
reservations: reservations:
cpus: '0.10' cpus: '0.1'
memory: 64M memory: 64M
volumes: volumes:
@@ -30,10 +30,10 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 256M memory: 256M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 64M memory: 64M
# 安全限制 # 安全限制
read_only: true read_only: true
@@ -24,8 +24,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
+2 -2
View File
@@ -26,8 +26,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
+2 -2
View File
@@ -24,8 +24,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
@@ -24,8 +24,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
+2 -2
View File
@@ -24,8 +24,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
@@ -25,8 +25,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
@@ -8,10 +8,10 @@ x-defaults: &defaults
deploy: deploy:
resources: resources:
limits: limits:
cpus: '1.00' cpus: '1.0'
memory: 512M memory: 512M
reservations: reservations:
cpus: '0.25' cpus: '0.1'
memory: 128M memory: 128M
services: services:
+3 -3
View File
@@ -12,7 +12,7 @@ AGENTGATEWAY_ADMIN_ADDR=0.0.0.0:15000
# AGENTGATEWAY_ADMIN_PORT_OVERRIDE=15000 # AGENTGATEWAY_ADMIN_PORT_OVERRIDE=15000
# Resource limits # Resource limits
# AGENTGATEWAY_CPU_LIMIT=0.50 # AGENTGATEWAY_CPU_LIMIT=0.5
# AGENTGATEWAY_CPU_RESERVATION=0.25 # AGENTGATEWAY_CPU_RESERVATION=0.1
# AGENTGATEWAY_MEMORY_LIMIT=256M # AGENTGATEWAY_MEMORY_LIMIT=256M
# AGENTGATEWAY_MEMORY_RESERVATION=128M # AGENTGATEWAY_MEMORY_RESERVATION=128M
+2 -2
View File
@@ -28,8 +28,8 @@ services:
deploy: deploy:
resources: resources:
limits: limits:
cpus: ${AGENTGATEWAY_CPU_LIMIT:-0.50} cpus: ${AGENTGATEWAY_CPU_LIMIT:-0.5}
memory: ${AGENTGATEWAY_MEMORY_LIMIT:-256M} memory: ${AGENTGATEWAY_MEMORY_LIMIT:-256M}
reservations: reservations:
cpus: ${AGENTGATEWAY_CPU_RESERVATION:-0.25} cpus: ${AGENTGATEWAY_CPU_RESERVATION:-0.1}
memory: ${AGENTGATEWAY_MEMORY_RESERVATION:-128M} memory: ${AGENTGATEWAY_MEMORY_RESERVATION:-128M}
+3 -3
View File
@@ -16,7 +16,7 @@ ANYTHINGLLM_UID=1000
ANYTHINGLLM_GID=1000 ANYTHINGLLM_GID=1000
# Resource Limits # Resource Limits
ANYTHINGLLM_CPU_LIMIT=2 ANYTHINGLLM_CPU_LIMIT=2.0
ANYTHINGLLM_MEMORY_LIMIT=2G ANYTHINGLLM_MEMORY_LIMIT=2G
ANYTHINGLLM_CPU_RESERVATION=0.5 ANYTHINGLLM_CPU_RESERVATION=0.1
ANYTHINGLLM_MEMORY_RESERVATION=512M ANYTHINGLLM_MEMORY_RESERVATION=512M

Some files were not shown because too many files have changed in this diff Show More