From 53b841926eae8a76972870bf77cd40509a51b9c0 Mon Sep 17 00:00:00 2001 From: Sun-ZhenXing <1006925066@qq.com> Date: Thu, 14 May 2026 16:22:07 +0800 Subject: [PATCH] feat: all cpus reservations to 0.1 --- .compose-template.yaml | 4 +- README.md | 6 +- README.zh.md | 6 +- apps/bolt-diy/docker-compose.yaml | 4 +- apps/buildingai/.env.example | 10 +-- apps/buildingai/docker-compose.yaml | 8 +- apps/deeptutor/.env.example | 6 +- apps/deeptutor/docker-compose.yaml | 4 +- apps/dify/docker-compose.yaml | 12 +-- apps/easy-dataset/docker-compose.yaml | 2 +- apps/langflow/.env.example | 6 +- apps/langflow/docker-compose.yaml | 4 +- apps/langfuse/.env.example | 14 +-- apps/langfuse/docker-compose.yaml | 12 +-- apps/librechat/.env.example | 10 +-- apps/librechat/docker-compose.yaml | 10 +-- apps/mattermost/.env.example | 10 +-- apps/mattermost/docker-compose.yaml | 8 +- apps/n8n/docker-compose.yaml | 4 +- apps/nanobot/.env.example | 4 +- apps/nanobot/docker-compose.yaml | 4 +- apps/openclaw/.env.example | 4 +- apps/openclaw/docker-compose.yaml | 4 +- apps/openlit/.env.example | 6 +- apps/openlit/docker-compose.yaml | 4 +- apps/openobserve/.env.example | 4 +- apps/openobserve/docker-compose.yaml | 2 +- apps/opensandbox/.env.example | 4 +- apps/opensandbox/docker-compose.yaml | 2 +- apps/opik/.env.example | 18 ++-- apps/opik/docker-compose.yaml | 16 ++-- apps/ragflow/.env.example | 18 ++-- apps/ragflow/docker-compose.yaml | 22 ++--- apps/shannon/.env.example | 16 ++-- apps/shannon/docker-compose.yaml | 14 +-- apps/sim/.env.example | 10 +-- apps/sim/docker-compose.yaml | 8 +- apps/skyvern/.env.example | 10 +-- apps/skyvern/docker-compose.yaml | 10 +-- .../docker-compose.yaml | 2 +- apps/stirling-pdf/docker-compose.yaml | 2 +- builds/cube-sandbox/.env.example | 6 +- builds/cube-sandbox/README.md | 2 +- builds/cube-sandbox/docker-compose.yaml | 8 +- builds/debian-dind/.env.example | 4 +- builds/debian-dind/docker-compose.yaml | 4 +- builds/deer-flow/.env.example | 18 ++-- builds/deer-flow/docker-compose.yaml | 16 ++-- builds/goose/.env.example | 6 +- builds/goose/docker-compose.yaml | 4 +- builds/io-paint/docker-compose.yaml | 2 +- builds/k3s-inside-dind/.env.example | 6 +- builds/k3s-inside-dind/docker-compose.yaml | 4 +- builds/microsandbox/.env.example | 6 +- builds/microsandbox/docker-compose.yaml | 4 +- builds/mineru/docker-compose.yaml | 2 +- builds/multica/.env.example | 14 +-- builds/multica/docker-compose.yaml | 12 +-- builds/openfang/.env.example | 6 +- builds/openfang/docker-compose.yaml | 4 +- builds/paperclip/.env.example | 6 +- builds/paperclip/docker-compose.yaml | 4 +- builds/turboocr/.env.example | 4 +- builds/turboocr/docker-compose.yaml | 4 +- mcp-servers/api-gateway/docker-compose.yaml | 4 +- .../arxiv-mcp-server/docker-compose.yaml | 4 +- mcp-servers/basic-memory/docker-compose.yaml | 4 +- mcp-servers/clickhouse/docker-compose.yaml | 4 +- mcp-servers/docker/docker-compose.yaml | 4 +- mcp-servers/dockerhub/docker-compose.yaml | 4 +- mcp-servers/e2b/docker-compose.yaml | 4 +- mcp-servers/elevenlabs/docker-compose.yaml | 4 +- mcp-servers/fetch/docker-compose.yaml | 4 +- mcp-servers/filesystem/docker-compose.yaml | 4 +- mcp-servers/firecrawl/docker-compose.yaml | 4 +- mcp-servers/grafana/docker-compose.yaml | 8 +- mcp-servers/markdownify/docker-compose.yaml | 4 +- mcp-servers/markitdown/docker-compose.yaml | 4 +- mcp-servers/memory/docker-compose.yaml | 4 +- mcp-servers/mongodb/docker-compose.yaml | 8 +- mcp-servers/neo4j-cypher/docker-compose.yaml | 4 +- mcp-servers/neo4j-memory/docker-compose.yaml | 4 +- mcp-servers/notion/docker-compose.yaml | 4 +- .../openapi-schema/docker-compose.yaml | 4 +- mcp-servers/openapi/docker-compose.yaml | 4 +- mcp-servers/openweather/docker-compose.yaml | 4 +- mcp-servers/paper-search/docker-compose.yaml | 4 +- mcp-servers/playwright/docker-compose.yaml | 4 +- mcp-servers/redis/docker-compose.yaml | 8 +- .../rust-mcp-filesystem/docker-compose.yaml | 4 +- .../sequentialthinking/docker-compose.yaml | 4 +- mcp-servers/sqlite/docker-compose.yaml | 4 +- mcp-servers/tavily/docker-compose.yaml | 4 +- .../text-to-graphql/docker-compose.yaml | 4 +- mcp-servers/time/docker-compose.yaml | 4 +- mcp-servers/wolfram-alpha/docker-compose.yaml | 4 +- .../youtube-transcript/docker-compose.yaml | 4 +- src/agentgateway/.env.example | 6 +- src/agentgateway/docker-compose.yaml | 4 +- src/anythingllm/.env.example | 6 +- src/anythingllm/docker-compose.yaml | 4 +- src/apache/docker-compose.yaml | 4 +- src/apisix/docker-compose.yaml | 2 +- src/bifrost-gateway/docker-compose.yaml | 12 +-- src/budibase/.env.example | 4 +- src/budibase/docker-compose.yaml | 2 +- src/bytebot/docker-compose.yaml | 8 +- src/cassandra/docker-compose.yaml | 4 +- src/clash/docker-compose.yaml | 2 +- src/clickhouse/docker-compose.yaml | 2 +- src/conductor/.env.example | 8 +- src/conductor/docker-compose.yaml | 6 +- src/consul/docker-compose.yaml | 4 +- src/convex/.env.example | 8 +- src/convex/docker-compose.yaml | 6 +- src/dnsmasq/docker-compose.yaml | 4 +- src/docker-android/.env.example | 8 +- src/docker-android/docker-compose.yaml | 12 +-- src/dockge/docker-compose.yaml | 2 +- src/doris/.env.example | 10 +-- src/doris/docker-compose.yaml | 8 +- src/duckdb/docker-compose.yaml | 2 +- src/easytier/.env.example | 6 +- src/easytier/docker-compose.yaml | 6 +- src/elasticsearch/docker-compose.yaml | 4 +- src/etcd/docker-compose.yaml | 2 +- src/falkordb/.env.example | 6 +- src/falkordb/docker-compose.yaml | 4 +- src/firecrawl/docker-compose.yaml | 8 +- src/flink/docker-compose.yaml | 4 +- src/flowise/.env.example | 6 +- src/flowise/docker-compose.yaml | 4 +- src/frpc/.env.example | 2 +- src/frpc/README.md | 2 +- src/frpc/README.zh.md | 2 +- src/frpc/docker-compose.yaml | 2 +- src/frps/.env.example | 2 +- src/frps/README.md | 2 +- src/frps/README.zh.md | 2 +- src/frps/docker-compose.yaml | 2 +- src/gitea-runner/docker-compose.yaml | 2 +- src/gitea/docker-compose.yaml | 4 +- src/gitlab-runner/docker-compose.yaml | 2 +- src/gitlab/docker-compose.yaml | 2 +- src/gomodel/.env.example | 6 +- src/gomodel/docker-compose.yaml | 4 +- src/gpustack/docker-compose.yaml | 2 +- src/grafana/docker-compose.yaml | 2 +- src/halo/docker-compose.yaml | 4 +- src/harbor/docker-compose.yaml | 18 ++-- src/hbase/docker-compose.yaml | 2 +- src/influxdb/.env.example | 4 +- src/influxdb/docker-compose.yaml | 2 +- src/inngest/.env.example | 14 +-- src/inngest/docker-compose.yaml | 12 +-- src/jenkins/docker-compose.yaml | 4 +- src/kafka/docker-compose.yaml | 12 +-- src/kestra/.env.example | 6 +- src/kestra/docker-compose.yaml | 4 +- src/kibana/docker-compose.yaml | 4 +- src/kodbox/docker-compose.yaml | 8 +- src/kong/docker-compose.yaml | 12 +-- src/laminar/docker-compose.yaml | 12 +-- src/letta/.env.example | 6 +- src/letta/docker-compose.yaml | 4 +- src/libreoffice/docker-compose.yaml | 4 +- src/libsql/.env.example | 6 +- src/libsql/docker-compose.yaml | 4 +- src/litellm/docker-compose.yaml | 12 +-- src/{llama.cpp => llama-cpp}/.env.example | 8 +- src/{llama.cpp => llama-cpp}/README.md | 0 src/{llama.cpp => llama-cpp}/README.zh.md | 0 .../docker-compose.yaml | 10 +-- src/llama-swap/.env.example | 4 +- src/llama-swap/docker-compose.yaml | 6 +- src/lmdeploy/.env.example | 4 +- src/lmdeploy/docker-compose.yaml | 2 +- src/logstash/docker-compose.yaml | 4 +- src/loki/.env.example | 4 +- src/loki/docker-compose.yaml | 2 +- src/mariadb-galera/docker-compose.yaml | 2 +- src/memos/.env.example | 4 +- src/memos/docker-compose.yaml | 2 +- .../docker-compose.yaml | 4 +- src/milvus-standalone/docker-compose.yaml | 6 +- .../docker-compose.yaml | 2 +- src/minio/.env.example | 4 +- src/minio/docker-compose.yaml | 2 +- src/mlflow/docker-compose.yaml | 6 +- .../docker-compose.yaml | 8 +- src/mongodb-replicaset/docker-compose.yaml | 8 +- src/mongodb-standalone/docker-compose.yaml | 4 +- src/mysql/docker-compose.yaml | 2 +- src/nacos/docker-compose.yaml | 2 +- src/nebulagraph/docker-compose.yaml | 6 +- src/neo4j/docker-compose.yaml | 2 +- src/nexa-sdk/.env.example | 4 +- src/nexa-sdk/docker-compose.yaml | 4 +- src/nginx/docker-compose.yaml | 4 +- src/node-exporter/docker-compose.yaml | 2 +- src/oceanbase/docker-compose.yaml | 2 +- src/odoo/docker-compose.yaml | 4 +- src/ollama/docker-compose.yaml | 2 +- src/open-webui/.env.example | 6 +- src/open-webui/docker-compose.yaml | 4 +- src/opencode/.env.example | 4 +- src/opencode/docker-compose.yaml | 2 +- src/opencut/docker-compose.yaml | 16 ++-- src/openlist/docker-compose.yaml | 2 +- src/opensearch/docker-compose.yaml | 4 +- src/openviking/.env.example | 6 +- src/openviking/docker-compose.yaml | 4 +- src/otel-collector/.env.example | 4 +- src/otel-collector/docker-compose.yaml | 2 +- src/overleaf/.env.example | 14 +-- src/overleaf/docker-compose.yaml | 12 +-- src/phoenix/.env.example | 6 +- src/phoenix/docker-compose.yaml | 4 +- src/pingap/.env.example | 4 +- src/pingap/docker-compose.yaml | 4 +- src/pingora-proxy-manager/.env.example | 6 +- src/pingora-proxy-manager/docker-compose.yaml | 4 +- src/pocketbase/docker-compose.yaml | 2 +- src/podman/.env.example | 4 +- src/podman/docker-compose.yaml | 2 +- src/pogocache/.env.example | 6 +- src/pogocache/docker-compose.yaml | 4 +- src/portainer/docker-compose.yaml | 4 +- src/portkey-gateway/docker-compose.yaml | 4 +- src/postgres/docker-compose.yaml | 2 +- src/prometheus/docker-compose.yaml | 2 +- src/pulsar/.env.example | 18 ++-- src/pulsar/docker-compose.yaml | 16 ++-- src/pytorch/docker-compose.yaml | 2 +- src/qdrant/docker-compose.yaml | 2 +- src/rabbitmq/docker-compose.yaml | 2 +- src/ray/.env.example | 6 +- src/ray/docker-compose.yaml | 12 +-- src/redis-cluster/docker-compose.yaml | 12 +-- src/redis/.env.example | 6 +- src/redis/docker-compose.yaml | 4 +- src/redpanda/.env.example | 6 +- src/redpanda/docker-compose.yaml | 4 +- src/renovate/.env.example | 4 +- src/renovate/docker-compose.yaml | 2 +- src/restate-cluster/docker-compose.yaml | 8 +- src/restate/docker-compose.yaml | 4 +- src/rocketmq/docker-compose.yaml | 6 +- src/searxng/docker-compose.yaml | 12 +-- src/selenium/.env.example | 4 +- src/selenium/docker-compose.yaml | 2 +- src/signoz/.env.example | 8 +- src/signoz/docker-compose.yaml | 6 +- src/sub2api/.env.example | 10 +-- src/sub2api/docker-compose.yaml | 8 +- src/tempo/.env.example | 4 +- src/tempo/docker-compose.yaml | 2 +- src/temporal/.env.example | 6 +- src/temporal/docker-compose.yaml | 4 +- src/tidb/docker-compose.yaml | 6 +- src/tikv/docker-compose.yaml | 4 +- src/trailbase/.env.example | 46 +++++----- src/trailbase/docker-compose.yaml | 88 +++++++++---------- src/trigger-dev/.env.example | 16 ++-- src/trigger-dev/docker-compose.yaml | 14 +-- src/turboocr/.env.example | 4 +- src/turboocr/docker-compose.yaml | 2 +- src/valkey-cluster/docker-compose.yaml | 6 +- src/valkey/docker-compose.yaml | 4 +- src/verdaccio/docker-compose.yaml | 4 +- src/vllm/docker-compose.yaml | 2 +- src/windmill/.env.example | 8 +- src/windmill/docker-compose.yaml | 6 +- src/zookeeper/docker-compose.yaml | 2 +- 274 files changed, 828 insertions(+), 828 deletions(-) rename src/{llama.cpp => llama-cpp}/.env.example (95%) rename src/{llama.cpp => llama-cpp}/README.md (100%) rename src/{llama.cpp => llama-cpp}/README.zh.md (100%) rename src/{llama.cpp => llama-cpp}/docker-compose.yaml (94%) diff --git a/.compose-template.yaml b/.compose-template.yaml index 4625364..5f75536 100644 --- a/.compose-template.yaml +++ b/.compose-template.yaml @@ -36,10 +36,10 @@ services: deploy: resources: limits: - cpus: ${SERVICE_NAME_CPU_LIMIT:-0.50} + cpus: ${SERVICE_NAME_CPU_LIMIT:-0.5} memory: ${SERVICE_NAME_MEMORY_LIMIT:-256M} reservations: - cpus: ${SERVICE_NAME_CPU_RESERVATION:-0.25} + cpus: ${SERVICE_NAME_CPU_RESERVATION:-0.1} memory: ${SERVICE_NAME_MEMORY_RESERVATION:-128M} volumes: diff --git a/README.md b/README.md index a0cebca..b8143f2 100644 --- a/README.md +++ b/README.md @@ -82,8 +82,8 @@ These services require building custom Docker images from source. | [FalkorDB](./src/falkordb) | v4.14.11 | | [Firecrawl](./src/firecrawl) | latest | | [Flowise](./src/flowise) | 3.0.12 | -| [frpc](./src/frpc) | 0.65.0 | -| [frps](./src/frps) | 0.65.0 | +| [frpc](./src/frpc) | 0.68.1 | +| [frps](./src/frps) | 0.68.1 | | [Gitea Runner](./src/gitea-runner) | 0.2.13 | | [Gitea](./src/gitea) | 1.25.4-rootless | | [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 | | [LiteLLM](./src/litellm) | main-stable | | [llama-swap](./src/llama-swap) | cpu | -| [llama.cpp](./src/llama.cpp) | server | +| [llama.cpp](./src/llama-cpp) | server | | [LMDeploy](./src/lmdeploy) | v0.11.1 | | [LobeChat](./src/lobe-chat) | 1.143.3 | | [Logstash](./src/logstash) | 8.16.1 | diff --git a/README.zh.md b/README.zh.md index 58f33b1..37554c9 100644 --- a/README.zh.md +++ b/README.zh.md @@ -82,8 +82,8 @@ docker compose exec redis redis-cli ping | [FalkorDB](./src/falkordb) | v4.14.11 | | [Firecrawl](./src/firecrawl) | latest | | [Flowise](./src/flowise) | 3.0.12 | -| [frpc](./src/frpc) | 0.65.0 | -| [frps](./src/frps) | 0.65.0 | +| [frpc](./src/frpc) | 0.68.1 | +| [frps](./src/frps) | 0.68.1 | | [Gitea Runner](./src/gitea-runner) | 0.2.13 | | [Gitea](./src/gitea) | 1.25.4-rootless | | [GitLab Runner](./src/gitlab-runner) | 17.10.1 | @@ -113,7 +113,7 @@ docker compose exec redis redis-cli ping | [libSQL Server](./src/libsql) | latest | | [LiteLLM](./src/litellm) | main-stable | | [llama-swap](./src/llama-swap) | cpu | -| [llama.cpp](./src/llama.cpp) | server | +| [llama.cpp](./src/llama-cpp) | server | | [LMDeploy](./src/lmdeploy) | v0.11.1 | | [LobeChat](./src/lobe-chat) | 1.143.3 | | [Logstash](./src/logstash) | 8.16.1 | diff --git a/apps/bolt-diy/docker-compose.yaml b/apps/bolt-diy/docker-compose.yaml index 9de1de4..06018b5 100644 --- a/apps/bolt-diy/docker-compose.yaml +++ b/apps/bolt-diy/docker-compose.yaml @@ -19,10 +19,10 @@ services: deploy: resources: limits: - cpus: ${BOLT_DIY_CPU_LIMIT:-2.00} + cpus: ${BOLT_DIY_CPU_LIMIT:-2.0} memory: ${BOLT_DIY_MEMORY_LIMIT:-2G} reservations: - cpus: ${BOLT_DIY_CPU_RESERVATION:-0.5} + cpus: ${BOLT_DIY_CPU_RESERVATION:-0.1} memory: ${BOLT_DIY_MEMORY_RESERVATION:-512M} healthcheck: test: diff --git a/apps/buildingai/.env.example b/apps/buildingai/.env.example index 2d1181a..544d0c5 100644 --- a/apps/buildingai/.env.example +++ b/apps/buildingai/.env.example @@ -26,9 +26,9 @@ REDIS_PASSWORD= REDIS_PORT_OVERRIDE=6379 # Redis resource limits -REDIS_CPU_LIMIT=0.25 +REDIS_CPU_LIMIT=0.3 REDIS_MEMORY_LIMIT=256M -REDIS_CPU_RESERVATION=0.10 +REDIS_CPU_RESERVATION=0.1 REDIS_MEMORY_RESERVATION=128M # =========================== @@ -48,7 +48,7 @@ POSTGRES_PORT_OVERRIDE=5432 # PostgreSQL resource limits POSTGRES_CPU_LIMIT=1.0 POSTGRES_MEMORY_LIMIT=512M -POSTGRES_CPU_RESERVATION=0.25 +POSTGRES_CPU_RESERVATION=0.1 POSTGRES_MEMORY_RESERVATION=256M # =========================== @@ -72,5 +72,5 @@ NPM_REGISTRY_URL= # BuildingAI resource limits BUILDINGAI_CPU_LIMIT=2.0 BUILDINGAI_MEMORY_LIMIT=3584M -BUILDINGAI_CPU_RESERVATION=0.5 -BUILDINGAI_MEMORY_RESERVATION=512M +BUILDINGAI_CPU_RESERVATION=0.1 +BUILDINGAI_MEMORY_RESERVATION=512M \ No newline at end of file diff --git a/apps/buildingai/docker-compose.yaml b/apps/buildingai/docker-compose.yaml index 59be83d..18a12f8 100644 --- a/apps/buildingai/docker-compose.yaml +++ b/apps/buildingai/docker-compose.yaml @@ -38,10 +38,10 @@ services: deploy: resources: limits: - cpus: ${REDIS_CPU_LIMIT:-0.25} + cpus: ${REDIS_CPU_LIMIT:-0.3} memory: ${REDIS_MEMORY_LIMIT:-256M} reservations: - cpus: ${REDIS_CPU_RESERVATION:-0.10} + cpus: ${REDIS_CPU_RESERVATION:-0.1} memory: ${REDIS_MEMORY_RESERVATION:-128M} postgres: @@ -69,7 +69,7 @@ services: cpus: ${POSTGRES_CPU_LIMIT:-1.0} memory: ${POSTGRES_MEMORY_LIMIT:-512M} reservations: - cpus: ${POSTGRES_CPU_RESERVATION:-0.25} + cpus: ${POSTGRES_CPU_RESERVATION:-0.1} memory: ${POSTGRES_MEMORY_RESERVATION:-256M} buildingai: @@ -108,7 +108,7 @@ services: cpus: ${BUILDINGAI_CPU_LIMIT:-2.0} memory: ${BUILDINGAI_MEMORY_LIMIT:-3584M} reservations: - cpus: ${BUILDINGAI_CPU_RESERVATION:-0.5} + cpus: ${BUILDINGAI_CPU_RESERVATION:-0.1} memory: ${BUILDINGAI_MEMORY_RESERVATION:-512M} volumes: diff --git a/apps/deeptutor/.env.example b/apps/deeptutor/.env.example index 1a8419c..a087385 100644 --- a/apps/deeptutor/.env.example +++ b/apps/deeptutor/.env.example @@ -89,9 +89,9 @@ DASHSCOPE_API_KEY= #! ================================================== # CPU limits (default: 4.00 cores limit, 1.00 cores reservation) -DEEPTUTOR_CPU_LIMIT=4.00 -DEEPTUTOR_CPU_RESERVATION=1.00 +DEEPTUTOR_CPU_LIMIT=4.0 +DEEPTUTOR_CPU_RESERVATION=0.1 # Memory limits (default: 8G limit, 2G reservation) DEEPTUTOR_MEMORY_LIMIT=8G -DEEPTUTOR_MEMORY_RESERVATION=2G +DEEPTUTOR_MEMORY_RESERVATION=2G \ No newline at end of file diff --git a/apps/deeptutor/docker-compose.yaml b/apps/deeptutor/docker-compose.yaml index 6b61b74..f0bf22d 100644 --- a/apps/deeptutor/docker-compose.yaml +++ b/apps/deeptutor/docker-compose.yaml @@ -57,10 +57,10 @@ services: deploy: resources: limits: - cpus: ${DEEPTUTOR_CPU_LIMIT:-4.00} + cpus: ${DEEPTUTOR_CPU_LIMIT:-4.0} memory: ${DEEPTUTOR_MEMORY_LIMIT:-8G} reservations: - cpus: ${DEEPTUTOR_CPU_RESERVATION:-1.00} + cpus: ${DEEPTUTOR_CPU_RESERVATION:-0.1} memory: ${DEEPTUTOR_MEMORY_RESERVATION:-2G} volumes: diff --git a/apps/dify/docker-compose.yaml b/apps/dify/docker-compose.yaml index bf9292b..0b86523 100644 --- a/apps/dify/docker-compose.yaml +++ b/apps/dify/docker-compose.yaml @@ -37,7 +37,7 @@ services: cpus: ${DIFY_API_CPU_LIMIT:-1.0} memory: ${DIFY_API_MEMORY_LIMIT:-2G} reservations: - cpus: ${DIFY_API_CPU_RESERVATION:-0.5} + cpus: ${DIFY_API_CPU_RESERVATION:-0.1} memory: ${DIFY_API_MEMORY_RESERVATION:-1G} healthcheck: test: @@ -83,7 +83,7 @@ services: cpus: ${DIFY_WORKER_CPU_LIMIT:-1.0} memory: ${DIFY_WORKER_MEMORY_LIMIT:-2G} reservations: - cpus: ${DIFY_WORKER_CPU_RESERVATION:-0.5} + cpus: ${DIFY_WORKER_CPU_RESERVATION:-0.1} memory: ${DIFY_WORKER_MEMORY_RESERVATION:-1G} dify-web: @@ -104,7 +104,7 @@ services: cpus: ${DIFY_WEB_CPU_LIMIT:-0.5} memory: ${DIFY_WEB_MEMORY_LIMIT:-512M} reservations: - cpus: ${DIFY_WEB_CPU_RESERVATION:-0.25} + cpus: ${DIFY_WEB_CPU_RESERVATION:-0.1} memory: ${DIFY_WEB_MEMORY_RESERVATION:-256M} dify-db: @@ -124,7 +124,7 @@ services: cpus: ${DIFY_DB_CPU_LIMIT:-0.5} memory: ${DIFY_DB_MEMORY_LIMIT:-512M} reservations: - cpus: ${DIFY_DB_CPU_RESERVATION:-0.25} + cpus: ${DIFY_DB_CPU_RESERVATION:-0.1} memory: ${DIFY_DB_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD-SHELL, pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB] @@ -144,7 +144,7 @@ services: deploy: resources: limits: - cpus: ${DIFY_REDIS_CPU_LIMIT:-0.25} + cpus: ${DIFY_REDIS_CPU_LIMIT:-0.3} memory: ${DIFY_REDIS_MEMORY_LIMIT:-256M} reservations: cpus: ${DIFY_REDIS_CPU_RESERVATION:-0.1} @@ -176,7 +176,7 @@ services: cpus: ${DIFY_WEAVIATE_CPU_LIMIT:-0.5} memory: ${DIFY_WEAVIATE_MEMORY_LIMIT:-1G} reservations: - cpus: ${DIFY_WEAVIATE_CPU_RESERVATION:-0.25} + cpus: ${DIFY_WEAVIATE_CPU_RESERVATION:-0.1} memory: ${DIFY_WEAVIATE_MEMORY_RESERVATION:-512M} healthcheck: test: diff --git a/apps/easy-dataset/docker-compose.yaml b/apps/easy-dataset/docker-compose.yaml index c2247d9..915bf3a 100644 --- a/apps/easy-dataset/docker-compose.yaml +++ b/apps/easy-dataset/docker-compose.yaml @@ -26,7 +26,7 @@ services: cpus: ${EASY_DATASET_CPU_LIMIT:-2.0} memory: ${EASY_DATASET_MEMORY_LIMIT:-4G} reservations: - cpus: ${EASY_DATASET_CPU_RESERVATION:-0.5} + cpus: ${EASY_DATASET_CPU_RESERVATION:-0.1} memory: ${EASY_DATASET_MEMORY_RESERVATION:-1G} healthcheck: test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:1717'] diff --git a/apps/langflow/.env.example b/apps/langflow/.env.example index bbddf2f..188c72d 100644 --- a/apps/langflow/.env.example +++ b/apps/langflow/.env.example @@ -53,15 +53,15 @@ DO_NOT_TRACK=false # Resource Limits - Langflow LANGFLOW_CPU_LIMIT=2.0 LANGFLOW_MEMORY_LIMIT=2G -LANGFLOW_CPU_RESERVATION=0.5 +LANGFLOW_CPU_RESERVATION=0.1 LANGFLOW_MEMORY_RESERVATION=512M # Resource Limits - PostgreSQL POSTGRES_CPU_LIMIT=1.0 POSTGRES_MEMORY_LIMIT=1G -POSTGRES_CPU_RESERVATION=0.25 +POSTGRES_CPU_RESERVATION=0.1 POSTGRES_MEMORY_RESERVATION=256M # Logging Configuration LOG_MAX_SIZE=100m -LOG_MAX_FILE=3 +LOG_MAX_FILE=3 \ No newline at end of file diff --git a/apps/langflow/docker-compose.yaml b/apps/langflow/docker-compose.yaml index f6347e0..b579f87 100644 --- a/apps/langflow/docker-compose.yaml +++ b/apps/langflow/docker-compose.yaml @@ -93,7 +93,7 @@ services: cpus: '${LANGFLOW_CPU_LIMIT:-2.0}' memory: '${LANGFLOW_MEMORY_LIMIT:-2G}' reservations: - cpus: '${LANGFLOW_CPU_RESERVATION:-0.5}' + cpus: '${LANGFLOW_CPU_RESERVATION:-0.1}' memory: '${LANGFLOW_MEMORY_RESERVATION:-512M}' postgres: @@ -119,7 +119,7 @@ services: cpus: '${POSTGRES_CPU_LIMIT:-1.0}' memory: '${POSTGRES_MEMORY_LIMIT:-1G}' reservations: - cpus: '${POSTGRES_CPU_RESERVATION:-0.25}' + cpus: '${POSTGRES_CPU_RESERVATION:-0.1}' memory: '${POSTGRES_MEMORY_RESERVATION:-256M}' volumes: diff --git a/apps/langfuse/.env.example b/apps/langfuse/.env.example index 0027c8d..3541f33 100644 --- a/apps/langfuse/.env.example +++ b/apps/langfuse/.env.example @@ -102,35 +102,35 @@ LANGFUSE_INIT_USER_PASSWORD= # Resource Limits - Langfuse Worker LANGFUSE_WORKER_CPU_LIMIT=2.0 LANGFUSE_WORKER_MEMORY_LIMIT=2G -LANGFUSE_WORKER_CPU_RESERVATION=0.5 +LANGFUSE_WORKER_CPU_RESERVATION=0.1 LANGFUSE_WORKER_MEMORY_RESERVATION=512M # Resource Limits - Langfuse Web LANGFUSE_WEB_CPU_LIMIT=2.0 LANGFUSE_WEB_MEMORY_LIMIT=2G -LANGFUSE_WEB_CPU_RESERVATION=0.5 +LANGFUSE_WEB_CPU_RESERVATION=0.1 LANGFUSE_WEB_MEMORY_RESERVATION=512M # Resource Limits - ClickHouse CLICKHOUSE_CPU_LIMIT=2.0 CLICKHOUSE_MEMORY_LIMIT=4G -CLICKHOUSE_CPU_RESERVATION=0.5 +CLICKHOUSE_CPU_RESERVATION=0.1 CLICKHOUSE_MEMORY_RESERVATION=1G # Resource Limits - MinIO MINIO_CPU_LIMIT=1.0 MINIO_MEMORY_LIMIT=1G -MINIO_CPU_RESERVATION=0.25 +MINIO_CPU_RESERVATION=0.1 MINIO_MEMORY_RESERVATION=256M # Resource Limits - Redis REDIS_CPU_LIMIT=1.0 REDIS_MEMORY_LIMIT=512M -REDIS_CPU_RESERVATION=0.25 +REDIS_CPU_RESERVATION=0.1 REDIS_MEMORY_RESERVATION=256M # Resource Limits - PostgreSQL POSTGRES_CPU_LIMIT=2.0 POSTGRES_MEMORY_LIMIT=2G -POSTGRES_CPU_RESERVATION=0.5 -POSTGRES_MEMORY_RESERVATION=512M +POSTGRES_CPU_RESERVATION=0.1 +POSTGRES_MEMORY_RESERVATION=512M \ No newline at end of file diff --git a/apps/langfuse/docker-compose.yaml b/apps/langfuse/docker-compose.yaml index 963965e..846b2ad 100644 --- a/apps/langfuse/docker-compose.yaml +++ b/apps/langfuse/docker-compose.yaml @@ -85,7 +85,7 @@ services: cpus: ${LANGFUSE_WORKER_CPU_LIMIT:-2.0} memory: ${LANGFUSE_WORKER_MEMORY_LIMIT:-2G} reservations: - cpus: ${LANGFUSE_WORKER_CPU_RESERVATION:-0.5} + cpus: ${LANGFUSE_WORKER_CPU_RESERVATION:-0.1} memory: ${LANGFUSE_WORKER_MEMORY_RESERVATION:-512M} healthcheck: test: @@ -126,7 +126,7 @@ services: cpus: ${LANGFUSE_WEB_CPU_LIMIT:-2.0} memory: ${LANGFUSE_WEB_MEMORY_LIMIT:-2G} reservations: - cpus: ${LANGFUSE_WEB_CPU_RESERVATION:-0.5} + cpus: ${LANGFUSE_WEB_CPU_RESERVATION:-0.1} memory: ${LANGFUSE_WEB_MEMORY_RESERVATION:-512M} healthcheck: test: @@ -171,7 +171,7 @@ services: cpus: ${CLICKHOUSE_CPU_LIMIT:-2.0} memory: ${CLICKHOUSE_MEMORY_LIMIT:-4G} reservations: - cpus: ${CLICKHOUSE_CPU_RESERVATION:-0.5} + cpus: ${CLICKHOUSE_CPU_RESERVATION:-0.1} memory: ${CLICKHOUSE_MEMORY_RESERVATION:-1G} minio: @@ -200,7 +200,7 @@ services: cpus: ${MINIO_CPU_LIMIT:-1.0} memory: ${MINIO_MEMORY_LIMIT:-1G} reservations: - cpus: ${MINIO_CPU_RESERVATION:-0.25} + cpus: ${MINIO_CPU_RESERVATION:-0.1} memory: ${MINIO_MEMORY_RESERVATION:-256M} redis: @@ -222,7 +222,7 @@ services: cpus: ${REDIS_CPU_LIMIT:-1.0} memory: ${REDIS_MEMORY_LIMIT:-512M} reservations: - cpus: ${REDIS_CPU_RESERVATION:-0.25} + cpus: ${REDIS_CPU_RESERVATION:-0.1} memory: ${REDIS_MEMORY_RESERVATION:-256M} postgres: @@ -249,7 +249,7 @@ services: cpus: ${POSTGRES_CPU_LIMIT:-2.0} memory: ${POSTGRES_MEMORY_LIMIT:-2G} reservations: - cpus: ${POSTGRES_CPU_RESERVATION:-0.5} + cpus: ${POSTGRES_CPU_RESERVATION:-0.1} memory: ${POSTGRES_MEMORY_RESERVATION:-512M} volumes: diff --git a/apps/librechat/.env.example b/apps/librechat/.env.example index 81db5ec..cab16e1 100644 --- a/apps/librechat/.env.example +++ b/apps/librechat/.env.example @@ -32,19 +32,19 @@ ALLOW_SOCIAL_LOGIN=false # ANTHROPIC_API_KEY=sk-ant-... # Resource Limits - LibreChat -LIBRECHAT_CPU_LIMIT=2 +LIBRECHAT_CPU_LIMIT=2.0 LIBRECHAT_MEMORY_LIMIT=2G -LIBRECHAT_CPU_RESERVATION=0.5 +LIBRECHAT_CPU_RESERVATION=0.1 LIBRECHAT_MEMORY_RESERVATION=512M # Resource Limits - MongoDB -MONGODB_CPU_LIMIT=1 +MONGODB_CPU_LIMIT=1.0 MONGODB_MEMORY_LIMIT=1G -MONGODB_CPU_RESERVATION=0.25 +MONGODB_CPU_RESERVATION=0.1 MONGODB_MEMORY_RESERVATION=256M # Resource Limits - Meilisearch MEILISEARCH_CPU_LIMIT=0.5 MEILISEARCH_MEMORY_LIMIT=512M MEILISEARCH_CPU_RESERVATION=0.1 -MEILISEARCH_MEMORY_RESERVATION=128M +MEILISEARCH_MEMORY_RESERVATION=128M \ No newline at end of file diff --git a/apps/librechat/docker-compose.yaml b/apps/librechat/docker-compose.yaml index 8f88889..de01bac 100644 --- a/apps/librechat/docker-compose.yaml +++ b/apps/librechat/docker-compose.yaml @@ -49,10 +49,10 @@ services: deploy: resources: limits: - cpus: ${LIBRECHAT_CPU_LIMIT:-2} + cpus: ${LIBRECHAT_CPU_LIMIT:-2.0} memory: ${LIBRECHAT_MEMORY_LIMIT:-2G} reservations: - cpus: ${LIBRECHAT_CPU_RESERVATION:-0.5} + cpus: ${LIBRECHAT_CPU_RESERVATION:-0.1} memory: ${LIBRECHAT_MEMORY_RESERVATION:-512M} mongodb: @@ -71,10 +71,10 @@ services: deploy: resources: limits: - cpus: ${MONGODB_CPU_LIMIT:-1} + cpus: ${MONGODB_CPU_LIMIT:-1.0} memory: ${MONGODB_MEMORY_LIMIT:-1G} reservations: - cpus: ${MONGODB_CPU_RESERVATION:-0.25} + cpus: ${MONGODB_CPU_RESERVATION:-0.1} memory: ${MONGODB_MEMORY_RESERVATION:-256M} meilisearch: @@ -87,7 +87,7 @@ services: - MEILI_MASTER_KEY=${MEILI_MASTER_KEY:-changeme_meili_master_key_CHANGEME} - MEILI_NO_ANALYTICS=true 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 timeout: 10s retries: 5 diff --git a/apps/mattermost/.env.example b/apps/mattermost/.env.example index 85a50de..63ec335 100644 --- a/apps/mattermost/.env.example +++ b/apps/mattermost/.env.example @@ -15,15 +15,15 @@ POSTGRES_PASSWORD=mmchangeit MATTERMOST_ENABLE_LOCAL_MODE=false # Resources - Mattermost -MATTERMOST_CPU_LIMIT=2.00 +MATTERMOST_CPU_LIMIT=2.0 MATTERMOST_MEMORY_LIMIT=2G -MATTERMOST_CPU_RESERVATION=0.50 +MATTERMOST_CPU_RESERVATION=0.1 MATTERMOST_MEMORY_RESERVATION=512M # Resources - PostgreSQL -MATTERMOST_DB_CPU_LIMIT=1.00 +MATTERMOST_DB_CPU_LIMIT=1.0 MATTERMOST_DB_MEMORY_LIMIT=1G -MATTERMOST_DB_CPU_RESERVATION=0.25 +MATTERMOST_DB_CPU_RESERVATION=0.1 MATTERMOST_DB_MEMORY_RESERVATION=256M # Logging @@ -31,4 +31,4 @@ MATTERMOST_LOG_MAX_SIZE=100m MATTERMOST_LOG_MAX_FILE=3 # Timezone -TZ=UTC +TZ=UTC \ No newline at end of file diff --git a/apps/mattermost/docker-compose.yaml b/apps/mattermost/docker-compose.yaml index 10f51c2..a19995b 100644 --- a/apps/mattermost/docker-compose.yaml +++ b/apps/mattermost/docker-compose.yaml @@ -27,10 +27,10 @@ services: deploy: resources: limits: - cpus: ${MATTERMOST_DB_CPU_LIMIT:-1.00} + cpus: ${MATTERMOST_DB_CPU_LIMIT:-1.0} memory: ${MATTERMOST_DB_MEMORY_LIMIT:-1G} reservations: - cpus: ${MATTERMOST_DB_CPU_RESERVATION:-0.25} + cpus: ${MATTERMOST_DB_CPU_RESERVATION:-0.1} memory: ${MATTERMOST_DB_MEMORY_RESERVATION:-256M} mattermost: @@ -68,10 +68,10 @@ services: deploy: resources: limits: - cpus: ${MATTERMOST_CPU_LIMIT:-2.00} + cpus: ${MATTERMOST_CPU_LIMIT:-2.0} memory: ${MATTERMOST_MEMORY_LIMIT:-2G} reservations: - cpus: ${MATTERMOST_CPU_RESERVATION:-0.50} + cpus: ${MATTERMOST_CPU_RESERVATION:-0.1} memory: ${MATTERMOST_MEMORY_RESERVATION:-512M} volumes: diff --git a/apps/n8n/docker-compose.yaml b/apps/n8n/docker-compose.yaml index a373361..f907c85 100644 --- a/apps/n8n/docker-compose.yaml +++ b/apps/n8n/docker-compose.yaml @@ -45,7 +45,7 @@ services: cpus: ${N8N_CPU_LIMIT:-2.0} memory: ${N8N_MEMORY_LIMIT:-2G} reservations: - cpus: ${N8N_CPU_RESERVATION:-0.5} + cpus: ${N8N_CPU_RESERVATION:-0.1} memory: ${N8N_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:5678/healthz'] @@ -70,7 +70,7 @@ services: cpus: ${N8N_DB_CPU_LIMIT:-1.0} memory: ${N8N_DB_MEMORY_LIMIT:-1G} reservations: - cpus: ${N8N_DB_CPU_RESERVATION:-0.5} + cpus: ${N8N_DB_CPU_RESERVATION:-0.1} memory: ${N8N_DB_MEMORY_RESERVATION:-512M} volumes: diff --git a/apps/nanobot/.env.example b/apps/nanobot/.env.example index ef6bc19..f7d9d62 100644 --- a/apps/nanobot/.env.example +++ b/apps/nanobot/.env.example @@ -137,8 +137,8 @@ GATEWAY_PORT=18790 # CPU limits NANOBOT_CPU_LIMIT=1.0 -NANOBOT_CPU_RESERVATION=0.5 +NANOBOT_CPU_RESERVATION=0.1 # Memory limits NANOBOT_MEMORY_LIMIT=1G -NANOBOT_MEMORY_RESERVATION=512M +NANOBOT_MEMORY_RESERVATION=512M \ No newline at end of file diff --git a/apps/nanobot/docker-compose.yaml b/apps/nanobot/docker-compose.yaml index 39af48a..9f21699 100644 --- a/apps/nanobot/docker-compose.yaml +++ b/apps/nanobot/docker-compose.yaml @@ -57,7 +57,7 @@ services: - NANOBOT_GATEWAY__PORT=${GATEWAY_PORT:-18790} command: ${NANOBOT_COMMAND:-gateway} 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 timeout: 10s retries: 3 @@ -68,7 +68,7 @@ services: cpus: ${NANOBOT_CPU_LIMIT:-1.0} memory: ${NANOBOT_MEMORY_LIMIT:-1G} reservations: - cpus: ${NANOBOT_CPU_RESERVATION:-0.5} + cpus: ${NANOBOT_CPU_RESERVATION:-0.1} memory: ${NANOBOT_MEMORY_RESERVATION:-512M} volumes: diff --git a/apps/openclaw/.env.example b/apps/openclaw/.env.example index 8b838f3..59a3b79 100644 --- a/apps/openclaw/.env.example +++ b/apps/openclaw/.env.example @@ -46,9 +46,9 @@ CLAUDE_WEB_COOKIE= # Gateway service resource limits OPENCLAW_CPU_LIMIT=2.0 OPENCLAW_MEMORY_LIMIT=2G -OPENCLAW_CPU_RESERVATION=1.0 +OPENCLAW_CPU_RESERVATION=0.1 OPENCLAW_MEMORY_RESERVATION=1G # CLI service resource limits OPENCLAW_CLI_CPU_LIMIT=1.0 -OPENCLAW_CLI_MEMORY_LIMIT=512M +OPENCLAW_CLI_MEMORY_LIMIT=512M \ No newline at end of file diff --git a/apps/openclaw/docker-compose.yaml b/apps/openclaw/docker-compose.yaml index d2cccd8..768e7c3 100644 --- a/apps/openclaw/docker-compose.yaml +++ b/apps/openclaw/docker-compose.yaml @@ -55,12 +55,12 @@ services: cpus: ${OPENCLAW_CPU_LIMIT:-2.0} memory: ${OPENCLAW_MEMORY_LIMIT:-2G} reservations: - cpus: ${OPENCLAW_CPU_RESERVATION:-1.0} + cpus: ${OPENCLAW_CPU_RESERVATION:-0.1} memory: ${OPENCLAW_MEMORY_RESERVATION:-1G} openclaw-cli: <<: *defaults - restart: 'no' + restart: no image: ${GLOBAL_REGISTRY:-ghcr.io/}openclaw/openclaw:${OPENCLAW_VERSION:-2026.2.3} environment: - TZ=${TZ:-UTC} diff --git a/apps/openlit/.env.example b/apps/openlit/.env.example index bf4ad74..172c423 100644 --- a/apps/openlit/.env.example +++ b/apps/openlit/.env.example @@ -62,7 +62,7 @@ OPENLIT_CPU_LIMIT=1.0 OPENLIT_MEMORY_LIMIT=2G # CPU reservation for OpenLIT -OPENLIT_CPU_RESERVATION=0.25 +OPENLIT_CPU_RESERVATION=0.1 # Memory reservation for OpenLIT OPENLIT_MEMORY_RESERVATION=512M @@ -77,7 +77,7 @@ CLICKHOUSE_CPU_LIMIT=2.0 CLICKHOUSE_MEMORY_LIMIT=4G # CPU reservation for ClickHouse -CLICKHOUSE_CPU_RESERVATION=0.5 +CLICKHOUSE_CPU_RESERVATION=0.1 # Memory reservation for ClickHouse CLICKHOUSE_MEMORY_RESERVATION=2G @@ -118,4 +118,4 @@ OPAMP_TLS_MIN_VERSION=1.2 OPAMP_TLS_MAX_VERSION=1.3 # Logging level: debug, info, warn, error (default: info) -OPAMP_LOG_LEVEL=info +OPAMP_LOG_LEVEL=info \ No newline at end of file diff --git a/apps/openlit/docker-compose.yaml b/apps/openlit/docker-compose.yaml index 9bfc12a..888c8e9 100644 --- a/apps/openlit/docker-compose.yaml +++ b/apps/openlit/docker-compose.yaml @@ -40,7 +40,7 @@ services: cpus: ${CLICKHOUSE_CPU_LIMIT:-2.0} memory: ${CLICKHOUSE_MEMORY_LIMIT:-4G} reservations: - cpus: ${CLICKHOUSE_CPU_RESERVATION:-0.5} + cpus: ${CLICKHOUSE_CPU_RESERVATION:-0.1} memory: ${CLICKHOUSE_MEMORY_RESERVATION:-2G} openlit: @@ -92,7 +92,7 @@ services: cpus: ${OPENLIT_CPU_LIMIT:-1.0} memory: ${OPENLIT_MEMORY_LIMIT:-2G} reservations: - cpus: ${OPENLIT_CPU_RESERVATION:-0.25} + cpus: ${OPENLIT_CPU_RESERVATION:-0.1} memory: ${OPENLIT_MEMORY_RESERVATION:-512M} volumes: diff --git a/apps/openobserve/.env.example b/apps/openobserve/.env.example index fbaf657..fd72565 100644 --- a/apps/openobserve/.env.example +++ b/apps/openobserve/.env.example @@ -36,8 +36,8 @@ ZO_S3_SECRET_KEY= # Resource limits # CPU limits (in cores) OPENOBSERVE_CPU_LIMIT=2.0 -OPENOBSERVE_CPU_RESERVATION=0.5 +OPENOBSERVE_CPU_RESERVATION=0.1 # Memory limits OPENOBSERVE_MEMORY_LIMIT=2G -OPENOBSERVE_MEMORY_RESERVATION=512M +OPENOBSERVE_MEMORY_RESERVATION=512M \ No newline at end of file diff --git a/apps/openobserve/docker-compose.yaml b/apps/openobserve/docker-compose.yaml index 1320c51..9cd3a35 100644 --- a/apps/openobserve/docker-compose.yaml +++ b/apps/openobserve/docker-compose.yaml @@ -40,7 +40,7 @@ services: cpus: ${OPENOBSERVE_CPU_LIMIT:-2.0} memory: ${OPENOBSERVE_MEMORY_LIMIT:-2G} reservations: - cpus: ${OPENOBSERVE_CPU_RESERVATION:-0.5} + cpus: ${OPENOBSERVE_CPU_RESERVATION:-0.1} memory: ${OPENOBSERVE_MEMORY_RESERVATION:-512M} volumes: diff --git a/apps/opensandbox/.env.example b/apps/opensandbox/.env.example index 82c9367..716dcbc 100644 --- a/apps/opensandbox/.env.example +++ b/apps/opensandbox/.env.example @@ -35,7 +35,7 @@ OPENSANDBOX_SERVER_CPU_LIMIT=2.0 # OpenSandbox Server CPU reservation # Default: 1.0 (1 CPU core) -OPENSANDBOX_SERVER_CPU_RESERVATION=1.0 +OPENSANDBOX_SERVER_CPU_RESERVATION=0.1 # OpenSandbox Server memory limit # Default: 2G @@ -43,4 +43,4 @@ OPENSANDBOX_SERVER_MEMORY_LIMIT=2G # OpenSandbox Server memory reservation # Default: 1G -OPENSANDBOX_SERVER_MEMORY_RESERVATION=1G +OPENSANDBOX_SERVER_MEMORY_RESERVATION=1G \ No newline at end of file diff --git a/apps/opensandbox/docker-compose.yaml b/apps/opensandbox/docker-compose.yaml index 63032af..ea6e5ab 100644 --- a/apps/opensandbox/docker-compose.yaml +++ b/apps/opensandbox/docker-compose.yaml @@ -41,7 +41,7 @@ services: cpus: ${OPENSANDBOX_SERVER_CPU_LIMIT:-2.0} memory: ${OPENSANDBOX_SERVER_MEMORY_LIMIT:-2G} reservations: - cpus: ${OPENSANDBOX_SERVER_CPU_RESERVATION:-1.0} + cpus: ${OPENSANDBOX_SERVER_CPU_RESERVATION:-0.1} memory: ${OPENSANDBOX_SERVER_MEMORY_RESERVATION:-1G} volumes: diff --git a/apps/opik/.env.example b/apps/opik/.env.example index bbfa61b..d99092c 100644 --- a/apps/opik/.env.example +++ b/apps/opik/.env.example @@ -81,47 +81,47 @@ NGINX_CONF_SUFFIX=local # Resource Limits - MySQL MYSQL_CPU_LIMIT=1.0 MYSQL_MEMORY_LIMIT=1G -MYSQL_CPU_RESERVATION=0.5 +MYSQL_CPU_RESERVATION=0.1 MYSQL_MEMORY_RESERVATION=512M # Resource Limits - Redis REDIS_CPU_LIMIT=0.5 REDIS_MEMORY_LIMIT=512M -REDIS_CPU_RESERVATION=0.25 +REDIS_CPU_RESERVATION=0.1 REDIS_MEMORY_RESERVATION=256M # Resource Limits - ZooKeeper ZOOKEEPER_CPU_LIMIT=0.5 ZOOKEEPER_MEMORY_LIMIT=1G -ZOOKEEPER_CPU_RESERVATION=0.25 +ZOOKEEPER_CPU_RESERVATION=0.1 ZOOKEEPER_MEMORY_RESERVATION=512M # Resource Limits - ClickHouse CLICKHOUSE_CPU_LIMIT=2.0 CLICKHOUSE_MEMORY_LIMIT=4G -CLICKHOUSE_CPU_RESERVATION=0.5 +CLICKHOUSE_CPU_RESERVATION=0.1 CLICKHOUSE_MEMORY_RESERVATION=1G # Resource Limits - MinIO MINIO_CPU_LIMIT=1.0 MINIO_MEMORY_LIMIT=1G -MINIO_CPU_RESERVATION=0.25 +MINIO_CPU_RESERVATION=0.1 MINIO_MEMORY_RESERVATION=512M # Resource Limits - Backend BACKEND_CPU_LIMIT=2.0 BACKEND_MEMORY_LIMIT=2G -BACKEND_CPU_RESERVATION=0.5 +BACKEND_CPU_RESERVATION=0.1 BACKEND_MEMORY_RESERVATION=1G # Resource Limits - Python Backend PYTHON_BACKEND_CPU_LIMIT=1.0 PYTHON_BACKEND_MEMORY_LIMIT=1G -PYTHON_BACKEND_CPU_RESERVATION=0.5 +PYTHON_BACKEND_CPU_RESERVATION=0.1 PYTHON_BACKEND_MEMORY_RESERVATION=512M # Resource Limits - Frontend FRONTEND_CPU_LIMIT=0.5 FRONTEND_MEMORY_LIMIT=512M -FRONTEND_CPU_RESERVATION=0.25 -FRONTEND_MEMORY_RESERVATION=256M +FRONTEND_CPU_RESERVATION=0.1 +FRONTEND_MEMORY_RESERVATION=256M \ No newline at end of file diff --git a/apps/opik/docker-compose.yaml b/apps/opik/docker-compose.yaml index 8733bd2..a157da7 100644 --- a/apps/opik/docker-compose.yaml +++ b/apps/opik/docker-compose.yaml @@ -33,7 +33,7 @@ services: cpus: ${MYSQL_CPU_LIMIT:-1.0} memory: ${MYSQL_MEMORY_LIMIT:-1G} reservations: - cpus: ${MYSQL_CPU_RESERVATION:-0.5} + cpus: ${MYSQL_CPU_RESERVATION:-0.1} memory: ${MYSQL_MEMORY_RESERVATION:-512M} redis: @@ -56,7 +56,7 @@ services: cpus: ${REDIS_CPU_LIMIT:-0.5} memory: ${REDIS_MEMORY_LIMIT:-512M} reservations: - cpus: ${REDIS_CPU_RESERVATION:-0.25} + cpus: ${REDIS_CPU_RESERVATION:-0.1} memory: ${REDIS_MEMORY_RESERVATION:-256M} zookeeper: @@ -93,7 +93,7 @@ services: cpus: ${ZOOKEEPER_CPU_LIMIT:-0.5} memory: ${ZOOKEEPER_MEMORY_LIMIT:-1G} reservations: - cpus: ${ZOOKEEPER_CPU_RESERVATION:-0.25} + cpus: ${ZOOKEEPER_CPU_RESERVATION:-0.1} memory: ${ZOOKEEPER_MEMORY_RESERVATION:-512M} clickhouse-init: @@ -148,7 +148,7 @@ services: cpus: ${CLICKHOUSE_CPU_LIMIT:-2.0} memory: ${CLICKHOUSE_MEMORY_LIMIT:-4G} reservations: - cpus: ${CLICKHOUSE_CPU_RESERVATION:-0.5} + cpus: ${CLICKHOUSE_CPU_RESERVATION:-0.1} memory: ${CLICKHOUSE_MEMORY_RESERVATION:-1G} minio: @@ -176,7 +176,7 @@ services: cpus: ${MINIO_CPU_LIMIT:-1.0} memory: ${MINIO_MEMORY_LIMIT:-1G} reservations: - cpus: ${MINIO_CPU_RESERVATION:-0.25} + cpus: ${MINIO_CPU_RESERVATION:-0.1} memory: ${MINIO_MEMORY_RESERVATION:-512M} minio-init: @@ -258,7 +258,7 @@ services: cpus: ${BACKEND_CPU_LIMIT:-2.0} memory: ${BACKEND_MEMORY_LIMIT:-2G} reservations: - cpus: ${BACKEND_CPU_RESERVATION:-0.5} + cpus: ${BACKEND_CPU_RESERVATION:-0.1} memory: ${BACKEND_MEMORY_RESERVATION:-1G} volumes: - backend_tmp:/tmp @@ -307,7 +307,7 @@ services: cpus: ${PYTHON_BACKEND_CPU_LIMIT:-1.0} memory: ${PYTHON_BACKEND_MEMORY_LIMIT:-1G} reservations: - cpus: ${PYTHON_BACKEND_CPU_RESERVATION:-0.5} + cpus: ${PYTHON_BACKEND_CPU_RESERVATION:-0.1} memory: ${PYTHON_BACKEND_MEMORY_RESERVATION:-512M} volumes: - python_backend_docker:/var/lib/docker @@ -336,7 +336,7 @@ services: cpus: ${FRONTEND_CPU_LIMIT:-0.5} memory: ${FRONTEND_MEMORY_LIMIT:-512M} reservations: - cpus: ${FRONTEND_CPU_RESERVATION:-0.25} + cpus: ${FRONTEND_CPU_RESERVATION:-0.1} memory: ${FRONTEND_MEMORY_RESERVATION:-256M} volumes: diff --git a/apps/ragflow/.env.example b/apps/ragflow/.env.example index ca238e9..be484e7 100644 --- a/apps/ragflow/.env.example +++ b/apps/ragflow/.env.example @@ -25,21 +25,21 @@ MINIO_USER=minioadmin MINIO_PASSWORD=minioadmin # Resource Limits - RAGFlow -RAGFLOW_CPU_LIMIT=4 +RAGFLOW_CPU_LIMIT=4.0 RAGFLOW_MEMORY_LIMIT=4G -RAGFLOW_CPU_RESERVATION=1 +RAGFLOW_CPU_RESERVATION=0.1 RAGFLOW_MEMORY_RESERVATION=2G # Resource Limits - Elasticsearch -ELASTICSEARCH_CPU_LIMIT=2 +ELASTICSEARCH_CPU_LIMIT=2.0 ELASTICSEARCH_MEMORY_LIMIT=2G -ELASTICSEARCH_CPU_RESERVATION=0.5 +ELASTICSEARCH_CPU_RESERVATION=0.1 ELASTICSEARCH_MEMORY_RESERVATION=1G # Resource Limits - MySQL -MYSQL_CPU_LIMIT=1 +MYSQL_CPU_LIMIT=1.0 MYSQL_MEMORY_LIMIT=1G -MYSQL_CPU_RESERVATION=0.25 +MYSQL_CPU_RESERVATION=0.1 MYSQL_MEMORY_RESERVATION=256M # Resource Limits - Redis @@ -49,7 +49,7 @@ REDIS_CPU_RESERVATION=0.1 REDIS_MEMORY_RESERVATION=128M # Resource Limits - MinIO -MINIO_CPU_LIMIT=1 +MINIO_CPU_LIMIT=1.0 MINIO_MEMORY_LIMIT=1G -MINIO_CPU_RESERVATION=0.25 -MINIO_MEMORY_RESERVATION=256M +MINIO_CPU_RESERVATION=0.1 +MINIO_MEMORY_RESERVATION=256M \ No newline at end of file diff --git a/apps/ragflow/docker-compose.yaml b/apps/ragflow/docker-compose.yaml index a8d0948..e2a8409 100644 --- a/apps/ragflow/docker-compose.yaml +++ b/apps/ragflow/docker-compose.yaml @@ -35,7 +35,7 @@ services: - REDIS_PASSWORD=${REDIS_PASSWORD:-redispassword} - SECRET_KEY=${SECRET_KEY:-changeme_secret_key_CHANGEME} 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 timeout: 15s retries: 10 @@ -43,10 +43,10 @@ services: deploy: resources: limits: - cpus: ${RAGFLOW_CPU_LIMIT:-4} + cpus: ${RAGFLOW_CPU_LIMIT:-4.0} memory: ${RAGFLOW_MEMORY_LIMIT:-4G} reservations: - cpus: ${RAGFLOW_CPU_RESERVATION:-1} + cpus: ${RAGFLOW_CPU_RESERVATION:-0.1} memory: ${RAGFLOW_MEMORY_RESERVATION:-2G} es01: @@ -68,10 +68,10 @@ services: deploy: resources: limits: - cpus: ${ELASTICSEARCH_CPU_LIMIT:-2} + cpus: ${ELASTICSEARCH_CPU_LIMIT:-2.0} memory: ${ELASTICSEARCH_MEMORY_LIMIT:-2G} reservations: - cpus: ${ELASTICSEARCH_CPU_RESERVATION:-0.5} + cpus: ${ELASTICSEARCH_CPU_RESERVATION:-0.1} memory: ${ELASTICSEARCH_MEMORY_RESERVATION:-1G} mysql: @@ -92,10 +92,10 @@ services: deploy: resources: limits: - cpus: ${MYSQL_CPU_LIMIT:-1} + cpus: ${MYSQL_CPU_LIMIT:-1.0} memory: ${MYSQL_MEMORY_LIMIT:-1G} reservations: - cpus: ${MYSQL_CPU_RESERVATION:-0.25} + cpus: ${MYSQL_CPU_RESERVATION:-0.1} memory: ${MYSQL_MEMORY_RESERVATION:-256M} redis: @@ -109,7 +109,7 @@ services: volumes: - ragflow_redis_data:/data 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 timeout: 10s retries: 10 @@ -135,7 +135,7 @@ services: ports: - '${MINIO_CONSOLE_PORT_OVERRIDE:-9001}:9001' 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 timeout: 5s retries: 10 @@ -143,10 +143,10 @@ services: deploy: resources: limits: - cpus: ${MINIO_CPU_LIMIT:-1} + cpus: ${MINIO_CPU_LIMIT:-1.0} memory: ${MINIO_MEMORY_LIMIT:-1G} reservations: - cpus: ${MINIO_CPU_RESERVATION:-0.25} + cpus: ${MINIO_CPU_RESERVATION:-0.1} memory: ${MINIO_MEMORY_RESERVATION:-256M} volumes: diff --git a/apps/shannon/.env.example b/apps/shannon/.env.example index 1382f68..7e0b410 100644 --- a/apps/shannon/.env.example +++ b/apps/shannon/.env.example @@ -120,31 +120,31 @@ ENVIRONMENT=production # Gateway GATEWAY_CPU_LIMIT=1.0 GATEWAY_MEMORY_LIMIT=512M -GATEWAY_CPU_RESERVATION=0.25 +GATEWAY_CPU_RESERVATION=0.1 GATEWAY_MEMORY_RESERVATION=256M # Orchestrator ORCHESTRATOR_CPU_LIMIT=2.0 ORCHESTRATOR_MEMORY_LIMIT=2G -ORCHESTRATOR_CPU_RESERVATION=0.5 +ORCHESTRATOR_CPU_RESERVATION=0.1 ORCHESTRATOR_MEMORY_RESERVATION=512M # LLM Service LLM_SERVICE_CPU_LIMIT=2.0 LLM_SERVICE_MEMORY_LIMIT=2G -LLM_SERVICE_CPU_RESERVATION=0.5 +LLM_SERVICE_CPU_RESERVATION=0.1 LLM_SERVICE_MEMORY_RESERVATION=512M # Agent Core AGENT_CORE_CPU_LIMIT=2.0 AGENT_CORE_MEMORY_LIMIT=2G -AGENT_CORE_CPU_RESERVATION=0.5 +AGENT_CORE_CPU_RESERVATION=0.1 AGENT_CORE_MEMORY_RESERVATION=512M # PostgreSQL POSTGRES_CPU_LIMIT=1.0 POSTGRES_MEMORY_LIMIT=1G -POSTGRES_CPU_RESERVATION=0.25 +POSTGRES_CPU_RESERVATION=0.1 POSTGRES_MEMORY_RESERVATION=256M # Redis @@ -156,17 +156,17 @@ REDIS_MEMORY_RESERVATION=128M # Qdrant QDRANT_CPU_LIMIT=1.0 QDRANT_MEMORY_LIMIT=1G -QDRANT_CPU_RESERVATION=0.25 +QDRANT_CPU_RESERVATION=0.1 QDRANT_MEMORY_RESERVATION=256M # Temporal TEMPORAL_CPU_LIMIT=1.0 TEMPORAL_MEMORY_LIMIT=1G -TEMPORAL_CPU_RESERVATION=0.25 +TEMPORAL_CPU_RESERVATION=0.1 TEMPORAL_MEMORY_RESERVATION=256M # Temporal UI (metrics profile) TEMPORAL_UI_CPU_LIMIT=0.5 TEMPORAL_UI_MEMORY_LIMIT=256M TEMPORAL_UI_CPU_RESERVATION=0.1 -TEMPORAL_UI_MEMORY_RESERVATION=128M +TEMPORAL_UI_MEMORY_RESERVATION=128M \ No newline at end of file diff --git a/apps/shannon/docker-compose.yaml b/apps/shannon/docker-compose.yaml index 270dfe3..7b0ba2e 100644 --- a/apps/shannon/docker-compose.yaml +++ b/apps/shannon/docker-compose.yaml @@ -39,7 +39,7 @@ services: cpus: ${POSTGRES_CPU_LIMIT:-1.0} memory: ${POSTGRES_MEMORY_LIMIT:-1G} reservations: - cpus: ${POSTGRES_CPU_RESERVATION:-0.25} + cpus: ${POSTGRES_CPU_RESERVATION:-0.1} memory: ${POSTGRES_MEMORY_RESERVATION:-256M} redis: @@ -81,7 +81,7 @@ services: cpus: ${QDRANT_CPU_LIMIT:-1.0} memory: ${QDRANT_MEMORY_LIMIT:-1G} reservations: - cpus: ${QDRANT_CPU_RESERVATION:-0.25} + cpus: ${QDRANT_CPU_RESERVATION:-0.1} memory: ${QDRANT_MEMORY_RESERVATION:-256M} temporal: @@ -109,7 +109,7 @@ services: cpus: ${TEMPORAL_CPU_LIMIT:-1.0} memory: ${TEMPORAL_MEMORY_LIMIT:-1G} reservations: - cpus: ${TEMPORAL_CPU_RESERVATION:-0.25} + cpus: ${TEMPORAL_CPU_RESERVATION:-0.1} memory: ${TEMPORAL_MEMORY_RESERVATION:-256M} temporal-ui: @@ -199,7 +199,7 @@ services: cpus: ${LLM_SERVICE_CPU_LIMIT:-2.0} memory: ${LLM_SERVICE_MEMORY_LIMIT:-2G} reservations: - cpus: ${LLM_SERVICE_CPU_RESERVATION:-0.5} + cpus: ${LLM_SERVICE_CPU_RESERVATION:-0.1} memory: ${LLM_SERVICE_MEMORY_RESERVATION:-512M} agent-core: @@ -233,7 +233,7 @@ services: cpus: ${AGENT_CORE_CPU_LIMIT:-2.0} memory: ${AGENT_CORE_MEMORY_LIMIT:-2G} reservations: - cpus: ${AGENT_CORE_CPU_RESERVATION:-0.5} + cpus: ${AGENT_CORE_CPU_RESERVATION:-0.1} memory: ${AGENT_CORE_MEMORY_RESERVATION:-512M} orchestrator: @@ -299,7 +299,7 @@ services: cpus: ${ORCHESTRATOR_CPU_LIMIT:-2.0} memory: ${ORCHESTRATOR_MEMORY_LIMIT:-2G} reservations: - cpus: ${ORCHESTRATOR_CPU_RESERVATION:-0.5} + cpus: ${ORCHESTRATOR_CPU_RESERVATION:-0.1} memory: ${ORCHESTRATOR_MEMORY_RESERVATION:-512M} gateway: @@ -343,7 +343,7 @@ services: cpus: ${GATEWAY_CPU_LIMIT:-1.0} memory: ${GATEWAY_MEMORY_LIMIT:-512M} reservations: - cpus: ${GATEWAY_CPU_RESERVATION:-0.25} + cpus: ${GATEWAY_CPU_RESERVATION:-0.1} memory: ${GATEWAY_MEMORY_RESERVATION:-256M} volumes: diff --git a/apps/sim/.env.example b/apps/sim/.env.example index 07ad3ae..ab65c83 100644 --- a/apps/sim/.env.example +++ b/apps/sim/.env.example @@ -70,7 +70,7 @@ POSTGRES_DB=simstudio # Resource Limits - Main Application # ----------------------------------------------------------------------------- SIM_CPU_LIMIT=4.0 -SIM_CPU_RESERVATION=2.0 +SIM_CPU_RESERVATION=0.1 SIM_MEMORY_LIMIT=8G SIM_MEMORY_RESERVATION=4G @@ -78,7 +78,7 @@ SIM_MEMORY_RESERVATION=4G # Resource Limits - Realtime Server # ----------------------------------------------------------------------------- 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_RESERVATION=2G @@ -86,7 +86,7 @@ SIM_REALTIME_MEMORY_RESERVATION=2G # Resource Limits - Database Migrations # ----------------------------------------------------------------------------- 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_RESERVATION=256M @@ -94,7 +94,7 @@ SIM_MIGRATIONS_MEMORY_RESERVATION=256M # Resource Limits - PostgreSQL # ----------------------------------------------------------------------------- POSTGRES_CPU_LIMIT=2.0 -POSTGRES_CPU_RESERVATION=1.0 +POSTGRES_CPU_RESERVATION=0.1 POSTGRES_MEMORY_LIMIT=2G POSTGRES_MEMORY_RESERVATION=1G @@ -102,4 +102,4 @@ POSTGRES_MEMORY_RESERVATION=1G # Logging Configuration # ----------------------------------------------------------------------------- LOG_MAX_SIZE=100m -LOG_MAX_FILE=3 +LOG_MAX_FILE=3 \ No newline at end of file diff --git a/apps/sim/docker-compose.yaml b/apps/sim/docker-compose.yaml index 9bc9899..72de114 100644 --- a/apps/sim/docker-compose.yaml +++ b/apps/sim/docker-compose.yaml @@ -48,7 +48,7 @@ services: cpus: ${SIM_CPU_LIMIT:-4.0} memory: ${SIM_MEMORY_LIMIT:-8G} reservations: - cpus: ${SIM_CPU_RESERVATION:-2.0} + cpus: ${SIM_CPU_RESERVATION:-0.1} memory: ${SIM_MEMORY_RESERVATION:-4G} realtime: @@ -77,7 +77,7 @@ services: cpus: ${SIM_REALTIME_CPU_LIMIT:-2.0} memory: ${SIM_REALTIME_MEMORY_LIMIT:-4G} reservations: - cpus: ${SIM_REALTIME_CPU_RESERVATION:-1.0} + cpus: ${SIM_REALTIME_CPU_RESERVATION:-0.1} memory: ${SIM_REALTIME_MEMORY_RESERVATION:-2G} migrations: @@ -102,7 +102,7 @@ services: cpus: ${SIM_MIGRATIONS_CPU_LIMIT:-1.0} memory: ${SIM_MIGRATIONS_MEMORY_LIMIT:-512M} reservations: - cpus: ${SIM_MIGRATIONS_CPU_RESERVATION:-0.5} + cpus: ${SIM_MIGRATIONS_CPU_RESERVATION:-0.1} memory: ${SIM_MIGRATIONS_MEMORY_RESERVATION:-256M} db: @@ -129,7 +129,7 @@ services: cpus: ${POSTGRES_CPU_LIMIT:-2.0} memory: ${POSTGRES_MEMORY_LIMIT:-2G} reservations: - cpus: ${POSTGRES_CPU_RESERVATION:-1.0} + cpus: ${POSTGRES_CPU_RESERVATION:-0.1} memory: ${POSTGRES_MEMORY_RESERVATION:-1G} volumes: diff --git a/apps/skyvern/.env.example b/apps/skyvern/.env.example index 91a836b..4013b74 100644 --- a/apps/skyvern/.env.example +++ b/apps/skyvern/.env.example @@ -30,9 +30,9 @@ VITE_API_BASE_URL=http://localhost:8000 VITE_WSS_BASE_URL=ws://localhost:8000 # Resource Limits - Skyvern backend (includes Playwright + Chromium) -SKYVERN_CPU_LIMIT=2 +SKYVERN_CPU_LIMIT=2.0 SKYVERN_MEMORY_LIMIT=4G -SKYVERN_CPU_RESERVATION=0.5 +SKYVERN_CPU_RESERVATION=0.1 SKYVERN_MEMORY_RESERVATION=1G # Resource Limits - Skyvern UI @@ -42,7 +42,7 @@ SKYVERN_UI_CPU_RESERVATION=0.1 SKYVERN_UI_MEMORY_RESERVATION=64M # Resource Limits - PostgreSQL -POSTGRES_CPU_LIMIT=1 +POSTGRES_CPU_LIMIT=1.0 POSTGRES_MEMORY_LIMIT=1G -POSTGRES_CPU_RESERVATION=0.25 -POSTGRES_MEMORY_RESERVATION=256M +POSTGRES_CPU_RESERVATION=0.1 +POSTGRES_MEMORY_RESERVATION=256M \ No newline at end of file diff --git a/apps/skyvern/docker-compose.yaml b/apps/skyvern/docker-compose.yaml index d28c85a..b1ed6e3 100644 --- a/apps/skyvern/docker-compose.yaml +++ b/apps/skyvern/docker-compose.yaml @@ -45,10 +45,10 @@ services: deploy: resources: limits: - cpus: ${SKYVERN_CPU_LIMIT:-2} + cpus: ${SKYVERN_CPU_LIMIT:-2.0} memory: ${SKYVERN_MEMORY_LIMIT:-4G} reservations: - cpus: ${SKYVERN_CPU_RESERVATION:-0.5} + cpus: ${SKYVERN_CPU_RESERVATION:-0.1} memory: ${SKYVERN_MEMORY_RESERVATION:-1G} skyvern-ui: @@ -64,7 +64,7 @@ services: - VITE_API_BASE_URL=${VITE_API_BASE_URL:-http://localhost:8000} - VITE_WSS_BASE_URL=${VITE_WSS_BASE_URL:-ws://localhost:8000} 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 timeout: 10s retries: 3 @@ -97,10 +97,10 @@ services: deploy: resources: limits: - cpus: ${POSTGRES_CPU_LIMIT:-1} + cpus: ${POSTGRES_CPU_LIMIT:-1.0} memory: ${POSTGRES_MEMORY_LIMIT:-1G} reservations: - cpus: ${POSTGRES_CPU_RESERVATION:-0.25} + cpus: ${POSTGRES_CPU_RESERVATION:-0.1} memory: ${POSTGRES_MEMORY_RESERVATION:-256M} volumes: diff --git a/apps/stable-diffusion-webui-docker/docker-compose.yaml b/apps/stable-diffusion-webui-docker/docker-compose.yaml index 40d9e28..a0f9398 100644 --- a/apps/stable-diffusion-webui-docker/docker-compose.yaml +++ b/apps/stable-diffusion-webui-docker/docker-compose.yaml @@ -26,7 +26,7 @@ services: cpus: ${SD_WEBUI_CPU_LIMIT:-4.0} memory: ${SD_WEBUI_MEMORY_LIMIT:-16G} reservations: - cpus: ${SD_WEBUI_CPU_RESERVATION:-2.0} + cpus: ${SD_WEBUI_CPU_RESERVATION:-0.1} memory: ${SD_WEBUI_MEMORY_RESERVATION:-8G} devices: - driver: nvidia diff --git a/apps/stirling-pdf/docker-compose.yaml b/apps/stirling-pdf/docker-compose.yaml index d22ef79..97026fa 100644 --- a/apps/stirling-pdf/docker-compose.yaml +++ b/apps/stirling-pdf/docker-compose.yaml @@ -41,7 +41,7 @@ services: cpus: ${STIRLING_CPU_LIMIT:-2.0} memory: ${STIRLING_MEMORY_LIMIT:-4G} reservations: - cpus: ${STIRLING_CPU_RESERVATION:-1.0} + cpus: ${STIRLING_CPU_RESERVATION:-0.1} memory: ${STIRLING_MEMORY_RESERVATION:-2G} healthcheck: test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:8080/'] diff --git a/builds/cube-sandbox/.env.example b/builds/cube-sandbox/.env.example index e6c5e2c..da04c33 100644 --- a/builds/cube-sandbox/.env.example +++ b/builds/cube-sandbox/.env.example @@ -30,7 +30,7 @@ CUBE_FORCE_REINSTALL=0 # CubeSandbox runs MySQL + Redis + CubeProxy + CoreDNS + CubeMaster + CubeAPI + # Cubelet + network-agent inside the wrapper container, then spawns MicroVMs. # 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_CPU_RESERVATION=2 -CUBE_MEMORY_RESERVATION=8G +CUBE_CPU_RESERVATION=0.1 +CUBE_MEMORY_RESERVATION=8G \ No newline at end of file diff --git a/builds/cube-sandbox/README.md b/builds/cube-sandbox/README.md index 8a9329d..7fc0a12 100644 --- a/builds/cube-sandbox/README.md +++ b/builds/cube-sandbox/README.md @@ -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. - **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: - + ```bash docker compose exec cube-sandbox bash ls /data/log/ diff --git a/builds/cube-sandbox/docker-compose.yaml b/builds/cube-sandbox/docker-compose.yaml index acdb71a..f2be3f5 100644 --- a/builds/cube-sandbox/docker-compose.yaml +++ b/builds/cube-sandbox/docker-compose.yaml @@ -89,19 +89,19 @@ services: healthcheck: test: - 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 timeout: 15s 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: resources: limits: - cpus: '${CUBE_CPU_LIMIT:-8}' + cpus: '${CUBE_CPU_LIMIT:-8.0}' memory: ${CUBE_MEMORY_LIMIT:-16G} reservations: - cpus: '${CUBE_CPU_RESERVATION:-2}' + cpus: '${CUBE_CPU_RESERVATION:-0.1}' memory: ${CUBE_MEMORY_RESERVATION:-8G} volumes: diff --git a/builds/debian-dind/.env.example b/builds/debian-dind/.env.example index a062fbd..0416504 100644 --- a/builds/debian-dind/.env.example +++ b/builds/debian-dind/.env.example @@ -25,7 +25,7 @@ INSTALL_NVIDIA_TOOLKIT=false # Resource limits DIND_CPU_LIMIT=2.0 DIND_MEMORY_LIMIT=4G -DIND_CPU_RESERVATION=1.0 +DIND_CPU_RESERVATION=0.1 DIND_MEMORY_RESERVATION=2G # Docker daemon options @@ -33,4 +33,4 @@ DIND_MEMORY_RESERVATION=2G DOCKER_TLS_CERTDIR= # Data directory for named volume -# DATA_DIR=./data +# DATA_DIR=./data \ No newline at end of file diff --git a/builds/debian-dind/docker-compose.yaml b/builds/debian-dind/docker-compose.yaml index 0e2b684..f703529 100644 --- a/builds/debian-dind/docker-compose.yaml +++ b/builds/debian-dind/docker-compose.yaml @@ -44,7 +44,7 @@ services: cpus: ${DIND_CPU_LIMIT:-2.0} memory: ${DIND_MEMORY_LIMIT:-4G} reservations: - cpus: ${DIND_CPU_RESERVATION:-1.0} + cpus: ${DIND_CPU_RESERVATION:-0.1} memory: ${DIND_MEMORY_RESERVATION:-2G} # GPU-enabled DinD (optional) @@ -84,7 +84,7 @@ services: cpus: ${DIND_CPU_LIMIT:-2.0} memory: ${DIND_MEMORY_LIMIT:-4G} reservations: - cpus: ${DIND_CPU_RESERVATION:-1.0} + cpus: ${DIND_CPU_RESERVATION:-0.1} memory: ${DIND_MEMORY_RESERVATION:-2G} devices: - driver: nvidia diff --git a/builds/deer-flow/.env.example b/builds/deer-flow/.env.example index 323038f..b8ee5a9 100644 --- a/builds/deer-flow/.env.example +++ b/builds/deer-flow/.env.example @@ -14,27 +14,27 @@ DEER_FLOW_MODEL_ID=gpt-4.1-mini OPENAI_API_KEY= # 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_CPU_RESERVATION=0.50 +DEER_FLOW_GATEWAY_CPU_RESERVATION=0.1 DEER_FLOW_GATEWAY_MEMORY_RESERVATION=512M # 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_CPU_RESERVATION=0.50 +DEER_FLOW_LANGGRAPH_CPU_RESERVATION=0.1 DEER_FLOW_LANGGRAPH_MEMORY_RESERVATION=512M # 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_CPU_RESERVATION=0.25 +DEER_FLOW_FRONTEND_CPU_RESERVATION=0.1 DEER_FLOW_FRONTEND_MEMORY_RESERVATION=256M # 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_CPU_RESERVATION=0.10 +DEER_FLOW_NGINX_CPU_RESERVATION=0.1 DEER_FLOW_NGINX_MEMORY_RESERVATION=64M # Logging @@ -42,4 +42,4 @@ DEER_FLOW_LOG_MAX_SIZE=100m DEER_FLOW_LOG_MAX_FILE=3 # Timezone -TZ=UTC +TZ=UTC \ No newline at end of file diff --git a/builds/deer-flow/docker-compose.yaml b/builds/deer-flow/docker-compose.yaml index 07c72b2..0b0673a 100644 --- a/builds/deer-flow/docker-compose.yaml +++ b/builds/deer-flow/docker-compose.yaml @@ -53,10 +53,10 @@ services: deploy: resources: limits: - cpus: ${DEER_FLOW_GATEWAY_CPU_LIMIT:-2.00} + cpus: ${DEER_FLOW_GATEWAY_CPU_LIMIT:-2.0} memory: ${DEER_FLOW_GATEWAY_MEMORY_LIMIT:-2G} reservations: - cpus: ${DEER_FLOW_GATEWAY_CPU_RESERVATION:-0.50} + cpus: ${DEER_FLOW_GATEWAY_CPU_RESERVATION:-0.1} memory: ${DEER_FLOW_GATEWAY_MEMORY_RESERVATION:-512M} deerflow-langgraph: @@ -102,10 +102,10 @@ services: deploy: resources: limits: - cpus: ${DEER_FLOW_LANGGRAPH_CPU_LIMIT:-2.00} + cpus: ${DEER_FLOW_LANGGRAPH_CPU_LIMIT:-2.0} memory: ${DEER_FLOW_LANGGRAPH_MEMORY_LIMIT:-2G} reservations: - cpus: ${DEER_FLOW_LANGGRAPH_CPU_RESERVATION:-0.50} + cpus: ${DEER_FLOW_LANGGRAPH_CPU_RESERVATION:-0.1} memory: ${DEER_FLOW_LANGGRAPH_MEMORY_RESERVATION:-512M} deerflow-frontend: @@ -133,10 +133,10 @@ services: deploy: resources: limits: - cpus: ${DEER_FLOW_FRONTEND_CPU_LIMIT:-1.00} + cpus: ${DEER_FLOW_FRONTEND_CPU_LIMIT:-1.0} memory: ${DEER_FLOW_FRONTEND_MEMORY_LIMIT:-1G} reservations: - cpus: ${DEER_FLOW_FRONTEND_CPU_RESERVATION:-0.25} + cpus: ${DEER_FLOW_FRONTEND_CPU_RESERVATION:-0.1} memory: ${DEER_FLOW_FRONTEND_MEMORY_RESERVATION:-256M} deerflow-nginx: @@ -164,8 +164,8 @@ services: deploy: resources: limits: - cpus: ${DEER_FLOW_NGINX_CPU_LIMIT:-0.50} + cpus: ${DEER_FLOW_NGINX_CPU_LIMIT:-0.5} memory: ${DEER_FLOW_NGINX_MEMORY_LIMIT:-256M} reservations: - cpus: ${DEER_FLOW_NGINX_CPU_RESERVATION:-0.10} + cpus: ${DEER_FLOW_NGINX_CPU_RESERVATION:-0.1} memory: ${DEER_FLOW_NGINX_MEMORY_RESERVATION:-64M} diff --git a/builds/goose/.env.example b/builds/goose/.env.example index 2603469..33911c5 100644 --- a/builds/goose/.env.example +++ b/builds/goose/.env.example @@ -52,8 +52,8 @@ GOOSE_MODEL=gpt-4 # ============================================ # CPU limits -GOOSE_CPU_LIMIT=2.00 -GOOSE_CPU_RESERVATION=0.50 +GOOSE_CPU_LIMIT=2.0 +GOOSE_CPU_RESERVATION=0.1 # Memory limits GOOSE_MEMORY_LIMIT=2G @@ -61,4 +61,4 @@ GOOSE_MEMORY_RESERVATION=512M # Logging limits GOOSE_LOG_MAX_SIZE=100m -GOOSE_LOG_MAX_FILE=3 +GOOSE_LOG_MAX_FILE=3 \ No newline at end of file diff --git a/builds/goose/docker-compose.yaml b/builds/goose/docker-compose.yaml index e346901..1a9fd96 100644 --- a/builds/goose/docker-compose.yaml +++ b/builds/goose/docker-compose.yaml @@ -44,10 +44,10 @@ services: deploy: resources: limits: - cpus: ${GOOSE_CPU_LIMIT:-2.00} + cpus: ${GOOSE_CPU_LIMIT:-2.0} memory: ${GOOSE_MEMORY_LIMIT:-2G} reservations: - cpus: ${GOOSE_CPU_RESERVATION:-0.50} + cpus: ${GOOSE_CPU_RESERVATION:-0.1} memory: ${GOOSE_MEMORY_RESERVATION:-512M} volumes: diff --git a/builds/io-paint/docker-compose.yaml b/builds/io-paint/docker-compose.yaml index 53bf8a2..d322287 100644 --- a/builds/io-paint/docker-compose.yaml +++ b/builds/io-paint/docker-compose.yaml @@ -33,7 +33,7 @@ services: cpus: '2.0' memory: 4G reservations: - cpus: '1.0' + cpus: '0.1' memory: 2G devices: - driver: nvidia diff --git a/builds/k3s-inside-dind/.env.example b/builds/k3s-inside-dind/.env.example index bcf2c57..59c96d6 100644 --- a/builds/k3s-inside-dind/.env.example +++ b/builds/k3s-inside-dind/.env.example @@ -41,12 +41,12 @@ K3S_DISABLE_SERVICES=traefik # Resource Limits # CPU limit (cores) -K3S_DIND_CPU_LIMIT=2.00 +K3S_DIND_CPU_LIMIT=2.0 # Memory limit K3S_DIND_MEMORY_LIMIT=4G # Resource Reservations # CPU reservation (cores) -K3S_DIND_CPU_RESERVATION=0.50 +K3S_DIND_CPU_RESERVATION=0.1 # Memory reservation -K3S_DIND_MEMORY_RESERVATION=1G +K3S_DIND_MEMORY_RESERVATION=1G \ No newline at end of file diff --git a/builds/k3s-inside-dind/docker-compose.yaml b/builds/k3s-inside-dind/docker-compose.yaml index 64fd840..73b2e30 100644 --- a/builds/k3s-inside-dind/docker-compose.yaml +++ b/builds/k3s-inside-dind/docker-compose.yaml @@ -44,10 +44,10 @@ services: deploy: resources: limits: - cpus: ${K3S_DIND_CPU_LIMIT:-2.00} + cpus: ${K3S_DIND_CPU_LIMIT:-2.0} memory: ${K3S_DIND_MEMORY_LIMIT:-4G} reservations: - cpus: ${K3S_DIND_CPU_RESERVATION:-0.50} + cpus: ${K3S_DIND_CPU_RESERVATION:-0.1} memory: ${K3S_DIND_MEMORY_RESERVATION:-1G} volumes: diff --git a/builds/microsandbox/.env.example b/builds/microsandbox/.env.example index 97b0382..f8cc9d2 100644 --- a/builds/microsandbox/.env.example +++ b/builds/microsandbox/.env.example @@ -45,10 +45,10 @@ MICROSANDBOX_PORT_OVERRIDE=5555 # CPU limits # MicroSandbox requires more CPU for KVM virtualization -MICROSANDBOX_CPU_LIMIT=4 -MICROSANDBOX_CPU_RESERVATION=1 +MICROSANDBOX_CPU_LIMIT=4.0 +MICROSANDBOX_CPU_RESERVATION=0.1 # Memory limits # MicroSandbox requires more memory for running VMs MICROSANDBOX_MEMORY_LIMIT=4G -MICROSANDBOX_MEMORY_RESERVATION=1G +MICROSANDBOX_MEMORY_RESERVATION=1G \ No newline at end of file diff --git a/builds/microsandbox/docker-compose.yaml b/builds/microsandbox/docker-compose.yaml index cc81091..e263e8c 100644 --- a/builds/microsandbox/docker-compose.yaml +++ b/builds/microsandbox/docker-compose.yaml @@ -66,10 +66,10 @@ services: deploy: resources: limits: - cpus: ${MICROSANDBOX_CPU_LIMIT:-4} + cpus: ${MICROSANDBOX_CPU_LIMIT:-4.0} memory: ${MICROSANDBOX_MEMORY_LIMIT:-4G} reservations: - cpus: ${MICROSANDBOX_CPU_RESERVATION:-1} + cpus: ${MICROSANDBOX_CPU_RESERVATION:-0.1} memory: ${MICROSANDBOX_MEMORY_RESERVATION:-1G} volumes: diff --git a/builds/mineru/docker-compose.yaml b/builds/mineru/docker-compose.yaml index 5795c0a..02076cd 100644 --- a/builds/mineru/docker-compose.yaml +++ b/builds/mineru/docker-compose.yaml @@ -28,7 +28,7 @@ x-mineru-vllm: &mineru-vllm cpus: '16.0' memory: 32G reservations: - cpus: '8.0' + cpus: '0.1' memory: 16G devices: - driver: nvidia diff --git a/builds/multica/.env.example b/builds/multica/.env.example index 3a915b6..4bb044c 100644 --- a/builds/multica/.env.example +++ b/builds/multica/.env.example @@ -30,21 +30,21 @@ MULTICA_GOOGLE_CLIENT_SECRET= MULTICA_GOOGLE_REDIRECT_URI=http://localhost:3000/auth/callback # Resources - PostgreSQL -MULTICA_POSTGRES_CPU_LIMIT=1.00 +MULTICA_POSTGRES_CPU_LIMIT=1.0 MULTICA_POSTGRES_MEMORY_LIMIT=1G -MULTICA_POSTGRES_CPU_RESERVATION=0.25 +MULTICA_POSTGRES_CPU_RESERVATION=0.1 MULTICA_POSTGRES_MEMORY_RESERVATION=256M # Resources - Backend -MULTICA_BACKEND_CPU_LIMIT=2.00 +MULTICA_BACKEND_CPU_LIMIT=2.0 MULTICA_BACKEND_MEMORY_LIMIT=2G -MULTICA_BACKEND_CPU_RESERVATION=0.50 +MULTICA_BACKEND_CPU_RESERVATION=0.1 MULTICA_BACKEND_MEMORY_RESERVATION=512M # Resources - Frontend -MULTICA_FRONTEND_CPU_LIMIT=1.00 +MULTICA_FRONTEND_CPU_LIMIT=1.0 MULTICA_FRONTEND_MEMORY_LIMIT=1G -MULTICA_FRONTEND_CPU_RESERVATION=0.25 +MULTICA_FRONTEND_CPU_RESERVATION=0.1 MULTICA_FRONTEND_MEMORY_RESERVATION=256M # Logging @@ -52,4 +52,4 @@ MULTICA_LOG_MAX_SIZE=100m MULTICA_LOG_MAX_FILE=3 # Timezone -TZ=UTC +TZ=UTC \ No newline at end of file diff --git a/builds/multica/docker-compose.yaml b/builds/multica/docker-compose.yaml index 1fe2ecf..4371b68 100644 --- a/builds/multica/docker-compose.yaml +++ b/builds/multica/docker-compose.yaml @@ -26,10 +26,10 @@ services: deploy: resources: limits: - cpus: ${MULTICA_POSTGRES_CPU_LIMIT:-1.00} + cpus: ${MULTICA_POSTGRES_CPU_LIMIT:-1.0} memory: ${MULTICA_POSTGRES_MEMORY_LIMIT:-1G} reservations: - cpus: ${MULTICA_POSTGRES_CPU_RESERVATION:-0.25} + cpus: ${MULTICA_POSTGRES_CPU_RESERVATION:-0.1} memory: ${MULTICA_POSTGRES_MEMORY_RESERVATION:-256M} multica-backend: @@ -67,10 +67,10 @@ services: deploy: resources: limits: - cpus: ${MULTICA_BACKEND_CPU_LIMIT:-2.00} + cpus: ${MULTICA_BACKEND_CPU_LIMIT:-2.0} memory: ${MULTICA_BACKEND_MEMORY_LIMIT:-2G} reservations: - cpus: ${MULTICA_BACKEND_CPU_RESERVATION:-0.50} + cpus: ${MULTICA_BACKEND_CPU_RESERVATION:-0.1} memory: ${MULTICA_BACKEND_MEMORY_RESERVATION:-512M} multica-frontend: @@ -99,10 +99,10 @@ services: deploy: resources: limits: - cpus: ${MULTICA_FRONTEND_CPU_LIMIT:-1.00} + cpus: ${MULTICA_FRONTEND_CPU_LIMIT:-1.0} memory: ${MULTICA_FRONTEND_MEMORY_LIMIT:-1G} reservations: - cpus: ${MULTICA_FRONTEND_CPU_RESERVATION:-0.25} + cpus: ${MULTICA_FRONTEND_CPU_RESERVATION:-0.1} memory: ${MULTICA_FRONTEND_MEMORY_RESERVATION:-256M} volumes: diff --git a/builds/openfang/.env.example b/builds/openfang/.env.example index 6eba68b..907d03d 100644 --- a/builds/openfang/.env.example +++ b/builds/openfang/.env.example @@ -20,9 +20,9 @@ OPENAI_API_KEY= GROQ_API_KEY= # Resources -OPENFANG_CPU_LIMIT=2.00 +OPENFANG_CPU_LIMIT=2.0 OPENFANG_MEMORY_LIMIT=2G -OPENFANG_CPU_RESERVATION=0.50 +OPENFANG_CPU_RESERVATION=0.1 OPENFANG_MEMORY_RESERVATION=512M # Logging @@ -30,4 +30,4 @@ OPENFANG_LOG_MAX_SIZE=100m OPENFANG_LOG_MAX_FILE=3 # Timezone -TZ=UTC +TZ=UTC \ No newline at end of file diff --git a/builds/openfang/docker-compose.yaml b/builds/openfang/docker-compose.yaml index 702aaca..0ebc8f4 100644 --- a/builds/openfang/docker-compose.yaml +++ b/builds/openfang/docker-compose.yaml @@ -61,10 +61,10 @@ services: deploy: resources: limits: - cpus: ${OPENFANG_CPU_LIMIT:-2.00} + cpus: ${OPENFANG_CPU_LIMIT:-2.0} memory: ${OPENFANG_MEMORY_LIMIT:-2G} reservations: - cpus: ${OPENFANG_CPU_RESERVATION:-0.50} + cpus: ${OPENFANG_CPU_RESERVATION:-0.1} memory: ${OPENFANG_MEMORY_RESERVATION:-512M} volumes: diff --git a/builds/paperclip/.env.example b/builds/paperclip/.env.example index f54de0f..521dcc7 100644 --- a/builds/paperclip/.env.example +++ b/builds/paperclip/.env.example @@ -18,9 +18,9 @@ OPENAI_API_KEY= ANTHROPIC_API_KEY= # Resources -PAPERCLIP_CPU_LIMIT=2.00 +PAPERCLIP_CPU_LIMIT=2.0 PAPERCLIP_MEMORY_LIMIT=4G -PAPERCLIP_CPU_RESERVATION=0.50 +PAPERCLIP_CPU_RESERVATION=0.1 PAPERCLIP_MEMORY_RESERVATION=1G # Logging @@ -28,4 +28,4 @@ PAPERCLIP_LOG_MAX_SIZE=100m PAPERCLIP_LOG_MAX_FILE=3 # Timezone -TZ=UTC +TZ=UTC \ No newline at end of file diff --git a/builds/paperclip/docker-compose.yaml b/builds/paperclip/docker-compose.yaml index 6fbc6cd..9de78bb 100644 --- a/builds/paperclip/docker-compose.yaml +++ b/builds/paperclip/docker-compose.yaml @@ -43,10 +43,10 @@ services: deploy: resources: limits: - cpus: ${PAPERCLIP_CPU_LIMIT:-2.00} + cpus: ${PAPERCLIP_CPU_LIMIT:-2.0} memory: ${PAPERCLIP_MEMORY_LIMIT:-4G} reservations: - cpus: ${PAPERCLIP_CPU_RESERVATION:-0.50} + cpus: ${PAPERCLIP_CPU_RESERVATION:-0.1} memory: ${PAPERCLIP_MEMORY_RESERVATION:-1G} volumes: diff --git a/builds/turboocr/.env.example b/builds/turboocr/.env.example index d42f753..303180b 100644 --- a/builds/turboocr/.env.example +++ b/builds/turboocr/.env.example @@ -56,7 +56,7 @@ TURBOOCR_LOG_FORMAT=json # First-start builds TRT engines; 12 G covers the GPU + engine compilation headroom. TURBOOCR_CPU_LIMIT=8.0 TURBOOCR_MEMORY_LIMIT=12G -TURBOOCR_CPU_RESERVATION=2.0 +TURBOOCR_CPU_RESERVATION=0.1 TURBOOCR_MEMORY_RESERVATION=4G # Number of NVIDIA GPUs to reserve (GPU variant only) @@ -70,4 +70,4 @@ TURBOOCR_LOG_MAX_SIZE=100m TURBOOCR_LOG_MAX_FILE=3 # Timezone -TZ=UTC +TZ=UTC \ No newline at end of file diff --git a/builds/turboocr/docker-compose.yaml b/builds/turboocr/docker-compose.yaml index 6f32be5..7b4267c 100644 --- a/builds/turboocr/docker-compose.yaml +++ b/builds/turboocr/docker-compose.yaml @@ -70,7 +70,7 @@ services: cpus: ${TURBOOCR_CPU_LIMIT:-8.0} memory: ${TURBOOCR_MEMORY_LIMIT:-12G} reservations: - cpus: ${TURBOOCR_CPU_RESERVATION:-2.0} + cpus: ${TURBOOCR_CPU_RESERVATION:-0.1} memory: ${TURBOOCR_MEMORY_RESERVATION:-4G} devices: - driver: nvidia @@ -102,7 +102,7 @@ services: cpus: ${TURBOOCR_CPU_LIMIT:-8.0} memory: ${TURBOOCR_MEMORY_LIMIT:-4G} reservations: - cpus: ${TURBOOCR_CPU_RESERVATION:-2.0} + cpus: ${TURBOOCR_CPU_RESERVATION:-0.1} memory: ${TURBOOCR_MEMORY_RESERVATION:-1G} shm_size: ${TURBOOCR_SHM_SIZE:-512m} diff --git a/mcp-servers/api-gateway/docker-compose.yaml b/mcp-servers/api-gateway/docker-compose.yaml index 60b1172..21a24a3 100644 --- a/mcp-servers/api-gateway/docker-compose.yaml +++ b/mcp-servers/api-gateway/docker-compose.yaml @@ -24,8 +24,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/arxiv-mcp-server/docker-compose.yaml b/mcp-servers/arxiv-mcp-server/docker-compose.yaml index d0e6093..6cdf14d 100644 --- a/mcp-servers/arxiv-mcp-server/docker-compose.yaml +++ b/mcp-servers/arxiv-mcp-server/docker-compose.yaml @@ -27,10 +27,10 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M volumes: diff --git a/mcp-servers/basic-memory/docker-compose.yaml b/mcp-servers/basic-memory/docker-compose.yaml index e8712e6..4df84b9 100644 --- a/mcp-servers/basic-memory/docker-compose.yaml +++ b/mcp-servers/basic-memory/docker-compose.yaml @@ -26,10 +26,10 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M volumes: diff --git a/mcp-servers/clickhouse/docker-compose.yaml b/mcp-servers/clickhouse/docker-compose.yaml index 729360c..a686a84 100644 --- a/mcp-servers/clickhouse/docker-compose.yaml +++ b/mcp-servers/clickhouse/docker-compose.yaml @@ -27,8 +27,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/docker/docker-compose.yaml b/mcp-servers/docker/docker-compose.yaml index d960e73..5b2c9e2 100644 --- a/mcp-servers/docker/docker-compose.yaml +++ b/mcp-servers/docker/docker-compose.yaml @@ -27,8 +27,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/dockerhub/docker-compose.yaml b/mcp-servers/dockerhub/docker-compose.yaml index c0e1a8c..eb00e09 100644 --- a/mcp-servers/dockerhub/docker-compose.yaml +++ b/mcp-servers/dockerhub/docker-compose.yaml @@ -27,8 +27,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/e2b/docker-compose.yaml b/mcp-servers/e2b/docker-compose.yaml index fc0062b..021e252 100644 --- a/mcp-servers/e2b/docker-compose.yaml +++ b/mcp-servers/e2b/docker-compose.yaml @@ -25,8 +25,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/elevenlabs/docker-compose.yaml b/mcp-servers/elevenlabs/docker-compose.yaml index b686b30..6a54361 100644 --- a/mcp-servers/elevenlabs/docker-compose.yaml +++ b/mcp-servers/elevenlabs/docker-compose.yaml @@ -8,10 +8,10 @@ x-defaults: &defaults deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M services: diff --git a/mcp-servers/fetch/docker-compose.yaml b/mcp-servers/fetch/docker-compose.yaml index cf62178..f17a962 100644 --- a/mcp-servers/fetch/docker-compose.yaml +++ b/mcp-servers/fetch/docker-compose.yaml @@ -24,8 +24,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/filesystem/docker-compose.yaml b/mcp-servers/filesystem/docker-compose.yaml index 086dcea..6af0ce1 100644 --- a/mcp-servers/filesystem/docker-compose.yaml +++ b/mcp-servers/filesystem/docker-compose.yaml @@ -26,8 +26,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/firecrawl/docker-compose.yaml b/mcp-servers/firecrawl/docker-compose.yaml index ba1bad4..92a8b88 100644 --- a/mcp-servers/firecrawl/docker-compose.yaml +++ b/mcp-servers/firecrawl/docker-compose.yaml @@ -8,10 +8,10 @@ x-defaults: &defaults deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M services: diff --git a/mcp-servers/grafana/docker-compose.yaml b/mcp-servers/grafana/docker-compose.yaml index 27b9dce..9fce6d0 100644 --- a/mcp-servers/grafana/docker-compose.yaml +++ b/mcp-servers/grafana/docker-compose.yaml @@ -29,10 +29,10 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M grafana: @@ -59,10 +59,10 @@ services: deploy: resources: limits: - cpus: '2.00' + cpus: '2.0' memory: 1G reservations: - cpus: '0.5' + cpus: '0.1' memory: 256M volumes: diff --git a/mcp-servers/markdownify/docker-compose.yaml b/mcp-servers/markdownify/docker-compose.yaml index 4975e9c..a9e9899 100644 --- a/mcp-servers/markdownify/docker-compose.yaml +++ b/mcp-servers/markdownify/docker-compose.yaml @@ -24,8 +24,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/markitdown/docker-compose.yaml b/mcp-servers/markitdown/docker-compose.yaml index 33fce35..b19d6f6 100644 --- a/mcp-servers/markitdown/docker-compose.yaml +++ b/mcp-servers/markitdown/docker-compose.yaml @@ -26,8 +26,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/memory/docker-compose.yaml b/mcp-servers/memory/docker-compose.yaml index 7573933..06f4bd3 100644 --- a/mcp-servers/memory/docker-compose.yaml +++ b/mcp-servers/memory/docker-compose.yaml @@ -26,10 +26,10 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M volumes: diff --git a/mcp-servers/mongodb/docker-compose.yaml b/mcp-servers/mongodb/docker-compose.yaml index 5dcefe6..9cdf485 100644 --- a/mcp-servers/mongodb/docker-compose.yaml +++ b/mcp-servers/mongodb/docker-compose.yaml @@ -29,10 +29,10 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M mongodb: @@ -57,10 +57,10 @@ services: deploy: resources: limits: - cpus: '2.00' + cpus: '2.0' memory: 2G reservations: - cpus: '0.5' + cpus: '0.1' memory: 512M volumes: diff --git a/mcp-servers/neo4j-cypher/docker-compose.yaml b/mcp-servers/neo4j-cypher/docker-compose.yaml index c33fa51..5688792 100644 --- a/mcp-servers/neo4j-cypher/docker-compose.yaml +++ b/mcp-servers/neo4j-cypher/docker-compose.yaml @@ -27,8 +27,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/neo4j-memory/docker-compose.yaml b/mcp-servers/neo4j-memory/docker-compose.yaml index f1e17ac..90c5f43 100644 --- a/mcp-servers/neo4j-memory/docker-compose.yaml +++ b/mcp-servers/neo4j-memory/docker-compose.yaml @@ -27,8 +27,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/notion/docker-compose.yaml b/mcp-servers/notion/docker-compose.yaml index a799404..6f455ae 100644 --- a/mcp-servers/notion/docker-compose.yaml +++ b/mcp-servers/notion/docker-compose.yaml @@ -25,8 +25,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/openapi-schema/docker-compose.yaml b/mcp-servers/openapi-schema/docker-compose.yaml index e3cc889..28fdc69 100644 --- a/mcp-servers/openapi-schema/docker-compose.yaml +++ b/mcp-servers/openapi-schema/docker-compose.yaml @@ -24,8 +24,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/openapi/docker-compose.yaml b/mcp-servers/openapi/docker-compose.yaml index 7e7d441..49222cb 100644 --- a/mcp-servers/openapi/docker-compose.yaml +++ b/mcp-servers/openapi/docker-compose.yaml @@ -24,8 +24,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/openweather/docker-compose.yaml b/mcp-servers/openweather/docker-compose.yaml index 80a8755..101cf57 100644 --- a/mcp-servers/openweather/docker-compose.yaml +++ b/mcp-servers/openweather/docker-compose.yaml @@ -25,8 +25,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/paper-search/docker-compose.yaml b/mcp-servers/paper-search/docker-compose.yaml index f56d11a..e305039 100644 --- a/mcp-servers/paper-search/docker-compose.yaml +++ b/mcp-servers/paper-search/docker-compose.yaml @@ -24,8 +24,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/playwright/docker-compose.yaml b/mcp-servers/playwright/docker-compose.yaml index 003732f..ec6820e 100644 --- a/mcp-servers/playwright/docker-compose.yaml +++ b/mcp-servers/playwright/docker-compose.yaml @@ -26,10 +26,10 @@ services: deploy: resources: limits: - cpus: '2.00' + cpus: '2.0' memory: 2G reservations: - cpus: '0.5' + cpus: '0.1' memory: 512M security_opt: - seccomp:unconfined diff --git a/mcp-servers/redis/docker-compose.yaml b/mcp-servers/redis/docker-compose.yaml index 6a207d7..74e0a94 100644 --- a/mcp-servers/redis/docker-compose.yaml +++ b/mcp-servers/redis/docker-compose.yaml @@ -29,10 +29,10 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M redis: @@ -54,10 +54,10 @@ services: deploy: resources: limits: - cpus: '0.50' + cpus: '0.5' memory: 256M reservations: - cpus: '0.10' + cpus: '0.1' memory: 64M volumes: diff --git a/mcp-servers/rust-mcp-filesystem/docker-compose.yaml b/mcp-servers/rust-mcp-filesystem/docker-compose.yaml index 5f9969b..db88a63 100644 --- a/mcp-servers/rust-mcp-filesystem/docker-compose.yaml +++ b/mcp-servers/rust-mcp-filesystem/docker-compose.yaml @@ -30,10 +30,10 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 256M reservations: - cpus: '0.25' + cpus: '0.1' memory: 64M # 安全限制 read_only: true diff --git a/mcp-servers/sequentialthinking/docker-compose.yaml b/mcp-servers/sequentialthinking/docker-compose.yaml index d8a1864..a87d34b 100644 --- a/mcp-servers/sequentialthinking/docker-compose.yaml +++ b/mcp-servers/sequentialthinking/docker-compose.yaml @@ -24,8 +24,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/sqlite/docker-compose.yaml b/mcp-servers/sqlite/docker-compose.yaml index bece3cb..d81e892 100644 --- a/mcp-servers/sqlite/docker-compose.yaml +++ b/mcp-servers/sqlite/docker-compose.yaml @@ -26,8 +26,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/tavily/docker-compose.yaml b/mcp-servers/tavily/docker-compose.yaml index 3835f02..45c0c14 100644 --- a/mcp-servers/tavily/docker-compose.yaml +++ b/mcp-servers/tavily/docker-compose.yaml @@ -24,8 +24,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/text-to-graphql/docker-compose.yaml b/mcp-servers/text-to-graphql/docker-compose.yaml index 5f12541..5bebaf0 100644 --- a/mcp-servers/text-to-graphql/docker-compose.yaml +++ b/mcp-servers/text-to-graphql/docker-compose.yaml @@ -24,8 +24,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/time/docker-compose.yaml b/mcp-servers/time/docker-compose.yaml index a16984a..5927ee7 100644 --- a/mcp-servers/time/docker-compose.yaml +++ b/mcp-servers/time/docker-compose.yaml @@ -24,8 +24,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/wolfram-alpha/docker-compose.yaml b/mcp-servers/wolfram-alpha/docker-compose.yaml index 054efd3..02742fd 100644 --- a/mcp-servers/wolfram-alpha/docker-compose.yaml +++ b/mcp-servers/wolfram-alpha/docker-compose.yaml @@ -25,8 +25,8 @@ services: deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M diff --git a/mcp-servers/youtube-transcript/docker-compose.yaml b/mcp-servers/youtube-transcript/docker-compose.yaml index 0e24159..c4bd78b 100644 --- a/mcp-servers/youtube-transcript/docker-compose.yaml +++ b/mcp-servers/youtube-transcript/docker-compose.yaml @@ -8,10 +8,10 @@ x-defaults: &defaults deploy: resources: limits: - cpus: '1.00' + cpus: '1.0' memory: 512M reservations: - cpus: '0.25' + cpus: '0.1' memory: 128M services: diff --git a/src/agentgateway/.env.example b/src/agentgateway/.env.example index 2ab8bd5..2f2df77 100644 --- a/src/agentgateway/.env.example +++ b/src/agentgateway/.env.example @@ -12,7 +12,7 @@ AGENTGATEWAY_ADMIN_ADDR=0.0.0.0:15000 # AGENTGATEWAY_ADMIN_PORT_OVERRIDE=15000 # Resource limits -# AGENTGATEWAY_CPU_LIMIT=0.50 -# AGENTGATEWAY_CPU_RESERVATION=0.25 +# AGENTGATEWAY_CPU_LIMIT=0.5 +# AGENTGATEWAY_CPU_RESERVATION=0.1 # AGENTGATEWAY_MEMORY_LIMIT=256M -# AGENTGATEWAY_MEMORY_RESERVATION=128M +# AGENTGATEWAY_MEMORY_RESERVATION=128M \ No newline at end of file diff --git a/src/agentgateway/docker-compose.yaml b/src/agentgateway/docker-compose.yaml index 4a07504..477faa9 100644 --- a/src/agentgateway/docker-compose.yaml +++ b/src/agentgateway/docker-compose.yaml @@ -28,8 +28,8 @@ services: deploy: resources: limits: - cpus: ${AGENTGATEWAY_CPU_LIMIT:-0.50} + cpus: ${AGENTGATEWAY_CPU_LIMIT:-0.5} memory: ${AGENTGATEWAY_MEMORY_LIMIT:-256M} reservations: - cpus: ${AGENTGATEWAY_CPU_RESERVATION:-0.25} + cpus: ${AGENTGATEWAY_CPU_RESERVATION:-0.1} memory: ${AGENTGATEWAY_MEMORY_RESERVATION:-128M} diff --git a/src/anythingllm/.env.example b/src/anythingllm/.env.example index d5e2bad..439299f 100644 --- a/src/anythingllm/.env.example +++ b/src/anythingllm/.env.example @@ -16,7 +16,7 @@ ANYTHINGLLM_UID=1000 ANYTHINGLLM_GID=1000 # Resource Limits -ANYTHINGLLM_CPU_LIMIT=2 +ANYTHINGLLM_CPU_LIMIT=2.0 ANYTHINGLLM_MEMORY_LIMIT=2G -ANYTHINGLLM_CPU_RESERVATION=0.5 -ANYTHINGLLM_MEMORY_RESERVATION=512M +ANYTHINGLLM_CPU_RESERVATION=0.1 +ANYTHINGLLM_MEMORY_RESERVATION=512M \ No newline at end of file diff --git a/src/anythingllm/docker-compose.yaml b/src/anythingllm/docker-compose.yaml index dbd066e..6a23549 100644 --- a/src/anythingllm/docker-compose.yaml +++ b/src/anythingllm/docker-compose.yaml @@ -32,10 +32,10 @@ services: deploy: resources: limits: - cpus: ${ANYTHINGLLM_CPU_LIMIT:-2} + cpus: ${ANYTHINGLLM_CPU_LIMIT:-2.0} memory: ${ANYTHINGLLM_MEMORY_LIMIT:-2G} reservations: - cpus: ${ANYTHINGLLM_CPU_RESERVATION:-0.5} + cpus: ${ANYTHINGLLM_CPU_RESERVATION:-0.1} memory: ${ANYTHINGLLM_MEMORY_RESERVATION:-512M} volumes: diff --git a/src/apache/docker-compose.yaml b/src/apache/docker-compose.yaml index 1b781fb..8b1d85b 100644 --- a/src/apache/docker-compose.yaml +++ b/src/apache/docker-compose.yaml @@ -27,10 +27,10 @@ services: deploy: resources: limits: - cpus: ${APACHE_CPU_LIMIT:-1.00} + cpus: ${APACHE_CPU_LIMIT:-1.0} memory: ${APACHE_MEMORY_LIMIT:-512M} reservations: - cpus: ${APACHE_CPU_RESERVATION:-0.25} + cpus: ${APACHE_CPU_RESERVATION:-0.1} memory: ${APACHE_MEMORY_RESERVATION:-128M} healthcheck: test: [CMD, httpd, -t] diff --git a/src/apisix/docker-compose.yaml b/src/apisix/docker-compose.yaml index af122d7..6459a87 100644 --- a/src/apisix/docker-compose.yaml +++ b/src/apisix/docker-compose.yaml @@ -32,7 +32,7 @@ services: cpus: ${APISIX_CPU_LIMIT:-1.0} memory: ${APISIX_MEMORY_LIMIT:-1G} reservations: - cpus: ${APISIX_CPU_RESERVATION:-0.25} + cpus: ${APISIX_CPU_RESERVATION:-0.1} memory: ${APISIX_MEMORY_RESERVATION:-256M} healthcheck: test: diff --git a/src/bifrost-gateway/docker-compose.yaml b/src/bifrost-gateway/docker-compose.yaml index a1eee37..d80ac3e 100644 --- a/src/bifrost-gateway/docker-compose.yaml +++ b/src/bifrost-gateway/docker-compose.yaml @@ -19,10 +19,10 @@ services: deploy: resources: limits: - cpus: ${BIFROST_CPU_LIMIT:-0.50} + cpus: ${BIFROST_CPU_LIMIT:-0.5} memory: ${BIFROST_MEMORY_LIMIT:-512M} reservations: - cpus: ${BIFROST_CPU_RESERVATION:-0.10} + cpus: ${BIFROST_CPU_RESERVATION:-0.1} memory: ${BIFROST_MEMORY_RESERVATION:-128M} healthcheck: test: @@ -68,10 +68,10 @@ services: deploy: resources: limits: - cpus: ${PROMETHEUS_CPU_LIMIT:-0.50} + cpus: ${PROMETHEUS_CPU_LIMIT:-0.5} memory: ${PROMETHEUS_MEMORY_LIMIT:-512M} reservations: - cpus: ${PROMETHEUS_CPU_RESERVATION:-0.10} + cpus: ${PROMETHEUS_CPU_RESERVATION:-0.1} memory: ${PROMETHEUS_MEMORY_RESERVATION:-128M} grafana: @@ -103,10 +103,10 @@ services: deploy: resources: limits: - cpus: ${GRAFANA_CPU_LIMIT:-0.50} + cpus: ${GRAFANA_CPU_LIMIT:-0.5} memory: ${GRAFANA_MEMORY_LIMIT:-512M} reservations: - cpus: ${GRAFANA_CPU_RESERVATION:-0.10} + cpus: ${GRAFANA_CPU_RESERVATION:-0.1} memory: ${GRAFANA_MEMORY_RESERVATION:-128M} volumes: diff --git a/src/budibase/.env.example b/src/budibase/.env.example index f4e9ca6..aab7eab 100644 --- a/src/budibase/.env.example +++ b/src/budibase/.env.example @@ -41,7 +41,7 @@ TZ=UTC # Resource Limits - Budibase BUDIBASE_CPU_LIMIT=2.0 -BUDIBASE_CPU_RESERVATION=0.5 +BUDIBASE_CPU_RESERVATION=0.1 BUDIBASE_MEMORY_LIMIT=2G BUDIBASE_MEMORY_RESERVATION=512M @@ -49,4 +49,4 @@ BUDIBASE_MEMORY_RESERVATION=512M REDIS_CPU_LIMIT=0.5 REDIS_CPU_RESERVATION=0.1 REDIS_MEMORY_LIMIT=512M -REDIS_MEMORY_RESERVATION=128M +REDIS_MEMORY_RESERVATION=128M \ No newline at end of file diff --git a/src/budibase/docker-compose.yaml b/src/budibase/docker-compose.yaml index d47b3b2..a5fa927 100644 --- a/src/budibase/docker-compose.yaml +++ b/src/budibase/docker-compose.yaml @@ -91,7 +91,7 @@ services: cpus: '${BUDIBASE_CPU_LIMIT:-2.0}' memory: '${BUDIBASE_MEMORY_LIMIT:-2G}' reservations: - cpus: '${BUDIBASE_CPU_RESERVATION:-0.5}' + cpus: '${BUDIBASE_CPU_RESERVATION:-0.1}' memory: '${BUDIBASE_MEMORY_RESERVATION:-512M}' redis: diff --git a/src/bytebot/docker-compose.yaml b/src/bytebot/docker-compose.yaml index ea23a50..e9f3fdc 100644 --- a/src/bytebot/docker-compose.yaml +++ b/src/bytebot/docker-compose.yaml @@ -21,7 +21,7 @@ services: cpus: ${BYTEBOT_DESKTOP_CPU_LIMIT:-2.0} memory: ${BYTEBOT_DESKTOP_MEMORY_LIMIT:-4G} reservations: - cpus: ${BYTEBOT_DESKTOP_CPU_RESERVATION:-1.0} + cpus: ${BYTEBOT_DESKTOP_CPU_RESERVATION:-0.1} memory: ${BYTEBOT_DESKTOP_MEMORY_RESERVATION:-2G} healthcheck: test: @@ -60,7 +60,7 @@ services: cpus: ${BYTEBOT_AGENT_CPU_LIMIT:-1.0} memory: ${BYTEBOT_AGENT_MEMORY_LIMIT:-1G} reservations: - cpus: ${BYTEBOT_AGENT_CPU_RESERVATION:-0.5} + cpus: ${BYTEBOT_AGENT_CPU_RESERVATION:-0.1} memory: ${BYTEBOT_AGENT_MEMORY_RESERVATION:-512M} healthcheck: test: @@ -94,7 +94,7 @@ services: cpus: ${BYTEBOT_UI_CPU_LIMIT:-0.5} memory: ${BYTEBOT_UI_MEMORY_LIMIT:-512M} reservations: - cpus: ${BYTEBOT_UI_CPU_RESERVATION:-0.25} + cpus: ${BYTEBOT_UI_CPU_RESERVATION:-0.1} memory: ${BYTEBOT_UI_MEMORY_RESERVATION:-256M} healthcheck: test: @@ -127,7 +127,7 @@ services: cpus: ${BYTEBOT_DB_CPU_LIMIT:-0.5} memory: ${BYTEBOT_DB_MEMORY_LIMIT:-512M} reservations: - cpus: ${BYTEBOT_DB_CPU_RESERVATION:-0.25} + cpus: ${BYTEBOT_DB_CPU_RESERVATION:-0.1} memory: ${BYTEBOT_DB_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD-SHELL, pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB] diff --git a/src/cassandra/docker-compose.yaml b/src/cassandra/docker-compose.yaml index 7adf6dc..671b737 100644 --- a/src/cassandra/docker-compose.yaml +++ b/src/cassandra/docker-compose.yaml @@ -33,10 +33,10 @@ services: deploy: resources: limits: - cpus: ${CASSANDRA_CPU_LIMIT:-2.00} + cpus: ${CASSANDRA_CPU_LIMIT:-2.0} memory: ${CASSANDRA_MEMORY_LIMIT:-2G} reservations: - cpus: ${CASSANDRA_CPU_RESERVATION:-0.50} + cpus: ${CASSANDRA_CPU_RESERVATION:-0.1} memory: ${CASSANDRA_MEMORY_RESERVATION:-1G} healthcheck: test: [CMD-SHELL, "cqlsh -e 'DESCRIBE CLUSTER'"] diff --git a/src/clash/docker-compose.yaml b/src/clash/docker-compose.yaml index 2a00613..4ca5c37 100644 --- a/src/clash/docker-compose.yaml +++ b/src/clash/docker-compose.yaml @@ -23,7 +23,7 @@ services: cpus: ${CLASH_CPU_LIMIT:-0.5} memory: ${CLASH_MEMORY_LIMIT:-512M} reservations: - cpus: ${CLASH_CPU_RESERVATION:-0.25} + cpus: ${CLASH_CPU_RESERVATION:-0.1} memory: ${CLASH_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:80/'] diff --git a/src/clickhouse/docker-compose.yaml b/src/clickhouse/docker-compose.yaml index 8cb030b..353032a 100644 --- a/src/clickhouse/docker-compose.yaml +++ b/src/clickhouse/docker-compose.yaml @@ -38,7 +38,7 @@ services: cpus: ${CLICKHOUSE_CPU_LIMIT:-4.0} memory: ${CLICKHOUSE_MEMORY_LIMIT:-4G} reservations: - cpus: ${CLICKHOUSE_CPU_RESERVATION:-1.0} + cpus: ${CLICKHOUSE_CPU_RESERVATION:-0.1} memory: ${CLICKHOUSE_MEMORY_RESERVATION:-1G} healthcheck: test: diff --git a/src/conductor/.env.example b/src/conductor/.env.example index 3d84c29..8ff35d1 100644 --- a/src/conductor/.env.example +++ b/src/conductor/.env.example @@ -25,18 +25,18 @@ TZ=UTC # Resource Limits - Conductor Server CONDUCTOR_CPU_LIMIT=2.0 -CONDUCTOR_CPU_RESERVATION=0.5 +CONDUCTOR_CPU_RESERVATION=0.1 CONDUCTOR_MEMORY_LIMIT=2G CONDUCTOR_MEMORY_RESERVATION=512M # Resource Limits - PostgreSQL POSTGRES_CPU_LIMIT=1.0 -POSTGRES_CPU_RESERVATION=0.25 +POSTGRES_CPU_RESERVATION=0.1 POSTGRES_MEMORY_LIMIT=1G POSTGRES_MEMORY_RESERVATION=256M # Resource Limits - Elasticsearch ELASTICSEARCH_CPU_LIMIT=2.0 -ELASTICSEARCH_CPU_RESERVATION=0.5 +ELASTICSEARCH_CPU_RESERVATION=0.1 ELASTICSEARCH_MEMORY_LIMIT=2G -ELASTICSEARCH_MEMORY_RESERVATION=1G +ELASTICSEARCH_MEMORY_RESERVATION=1G \ No newline at end of file diff --git a/src/conductor/docker-compose.yaml b/src/conductor/docker-compose.yaml index 569ba2b..c3fcffe 100644 --- a/src/conductor/docker-compose.yaml +++ b/src/conductor/docker-compose.yaml @@ -83,7 +83,7 @@ services: cpus: '${CONDUCTOR_CPU_LIMIT:-2.0}' memory: '${CONDUCTOR_MEMORY_LIMIT:-2G}' reservations: - cpus: '${CONDUCTOR_CPU_RESERVATION:-0.5}' + cpus: '${CONDUCTOR_CPU_RESERVATION:-0.1}' memory: '${CONDUCTOR_MEMORY_RESERVATION:-512M}' postgres: @@ -111,7 +111,7 @@ services: cpus: '${POSTGRES_CPU_LIMIT:-1.0}' memory: '${POSTGRES_MEMORY_LIMIT:-1G}' reservations: - cpus: '${POSTGRES_CPU_RESERVATION:-0.25}' + cpus: '${POSTGRES_CPU_RESERVATION:-0.1}' memory: '${POSTGRES_MEMORY_RESERVATION:-256M}' elasticsearch: @@ -137,7 +137,7 @@ services: cpus: '${ELASTICSEARCH_CPU_LIMIT:-2.0}' memory: '${ELASTICSEARCH_MEMORY_LIMIT:-2G}' reservations: - cpus: '${ELASTICSEARCH_CPU_RESERVATION:-0.5}' + cpus: '${ELASTICSEARCH_CPU_RESERVATION:-0.1}' memory: '${ELASTICSEARCH_MEMORY_RESERVATION:-1G}' volumes: diff --git a/src/consul/docker-compose.yaml b/src/consul/docker-compose.yaml index df9fcdb..acca7f8 100644 --- a/src/consul/docker-compose.yaml +++ b/src/consul/docker-compose.yaml @@ -38,10 +38,10 @@ services: deploy: resources: limits: - cpus: ${CONSUL_CPU_LIMIT:-1.00} + cpus: ${CONSUL_CPU_LIMIT:-1.0} memory: ${CONSUL_MEMORY_LIMIT:-512M} reservations: - cpus: ${CONSUL_CPU_RESERVATION:-0.25} + cpus: ${CONSUL_CPU_RESERVATION:-0.1} memory: ${CONSUL_MEMORY_RESERVATION:-128M} healthcheck: test: [CMD-SHELL, consul members] diff --git a/src/convex/.env.example b/src/convex/.env.example index e9adf8d..a665320 100644 --- a/src/convex/.env.example +++ b/src/convex/.env.example @@ -137,7 +137,7 @@ TZ=UTC # Resource Limits - Convex Backend # ============================================================================= CONVEX_BACKEND_CPU_LIMIT=2.0 -CONVEX_BACKEND_CPU_RESERVATION=0.5 +CONVEX_BACKEND_CPU_RESERVATION=0.1 CONVEX_BACKEND_MEMORY_LIMIT=2G CONVEX_BACKEND_MEMORY_RESERVATION=512M @@ -145,7 +145,7 @@ CONVEX_BACKEND_MEMORY_RESERVATION=512M # Resource Limits - Convex Dashboard # ============================================================================= CONVEX_DASHBOARD_CPU_LIMIT=0.5 -CONVEX_DASHBOARD_CPU_RESERVATION=0.25 +CONVEX_DASHBOARD_CPU_RESERVATION=0.1 CONVEX_DASHBOARD_MEMORY_LIMIT=256M CONVEX_DASHBOARD_MEMORY_RESERVATION=128M @@ -153,6 +153,6 @@ CONVEX_DASHBOARD_MEMORY_RESERVATION=128M # Resource Limits - PostgreSQL # ============================================================================= POSTGRES_CPU_LIMIT=1.0 -POSTGRES_CPU_RESERVATION=0.25 +POSTGRES_CPU_RESERVATION=0.1 POSTGRES_MEMORY_LIMIT=1G -POSTGRES_MEMORY_RESERVATION=256M +POSTGRES_MEMORY_RESERVATION=256M \ No newline at end of file diff --git a/src/convex/docker-compose.yaml b/src/convex/docker-compose.yaml index 3ec93a1..e1aa561 100644 --- a/src/convex/docker-compose.yaml +++ b/src/convex/docker-compose.yaml @@ -125,7 +125,7 @@ services: cpus: '${CONVEX_BACKEND_CPU_LIMIT:-2.0}' memory: '${CONVEX_BACKEND_MEMORY_LIMIT:-2G}' reservations: - cpus: '${CONVEX_BACKEND_CPU_RESERVATION:-0.5}' + cpus: '${CONVEX_BACKEND_CPU_RESERVATION:-0.1}' memory: '${CONVEX_BACKEND_MEMORY_RESERVATION:-512M}' convex-dashboard: @@ -159,7 +159,7 @@ services: cpus: '${CONVEX_DASHBOARD_CPU_LIMIT:-0.5}' memory: '${CONVEX_DASHBOARD_MEMORY_LIMIT:-256M}' reservations: - cpus: '${CONVEX_DASHBOARD_CPU_RESERVATION:-0.25}' + cpus: '${CONVEX_DASHBOARD_CPU_RESERVATION:-0.1}' memory: '${CONVEX_DASHBOARD_MEMORY_RESERVATION:-128M}' postgres: @@ -187,7 +187,7 @@ services: cpus: '${POSTGRES_CPU_LIMIT:-1.0}' memory: '${POSTGRES_MEMORY_LIMIT:-1G}' reservations: - cpus: '${POSTGRES_CPU_RESERVATION:-0.25}' + cpus: '${POSTGRES_CPU_RESERVATION:-0.1}' memory: '${POSTGRES_MEMORY_RESERVATION:-256M}' volumes: diff --git a/src/dnsmasq/docker-compose.yaml b/src/dnsmasq/docker-compose.yaml index ec4ec7e..07d90ec 100644 --- a/src/dnsmasq/docker-compose.yaml +++ b/src/dnsmasq/docker-compose.yaml @@ -31,8 +31,8 @@ services: deploy: resources: limits: - cpus: ${DNSMASQ_CPU_LIMIT:-0.50} + cpus: ${DNSMASQ_CPU_LIMIT:-0.5} memory: ${DNSMASQ_MEMORY_LIMIT:-128M} reservations: - cpus: ${DNSMASQ_CPU_RESERVATION:-0.10} + cpus: ${DNSMASQ_CPU_RESERVATION:-0.1} memory: ${DNSMASQ_MEMORY_RESERVATION:-32M} diff --git a/src/docker-android/.env.example b/src/docker-android/.env.example index 113e9b4..6f9a3a3 100644 --- a/src/docker-android/.env.example +++ b/src/docker-android/.env.example @@ -19,13 +19,13 @@ # DOCKER_ANDROID_DISABLE_HIDDEN_POLICY=false # DOCKER_ANDROID_SKIP_AUTH=true # DOCKER_ANDROID_MEMORY=8192 -# DOCKER_ANDROID_CORES=4 +# DOCKER_ANDROID_CORES=4.0 # GPU settings # DOCKER_ANDROID_GPU_COUNT=1 # Resource limits -# DOCKER_ANDROID_CPU_LIMIT=2 +# DOCKER_ANDROID_CPU_LIMIT=2.0 # DOCKER_ANDROID_MEMORY_LIMIT=8G -# DOCKER_ANDROID_CPU_RESERVATION=1 -# DOCKER_ANDROID_MEMORY_RESERVATION=4G +# DOCKER_ANDROID_CPU_RESERVATION=0.1 +# DOCKER_ANDROID_MEMORY_RESERVATION=4G \ No newline at end of file diff --git a/src/docker-android/docker-compose.yaml b/src/docker-android/docker-compose.yaml index 6bb2463..29b3d3b 100644 --- a/src/docker-android/docker-compose.yaml +++ b/src/docker-android/docker-compose.yaml @@ -22,7 +22,7 @@ services: - DISABLE_HIDDEN_POLICY=${DOCKER_ANDROID_DISABLE_HIDDEN_POLICY:-false} - SKIP_AUTH=${DOCKER_ANDROID_SKIP_AUTH:-true} - MEMORY=${DOCKER_ANDROID_MEMORY:-8192} - - CORES=${DOCKER_ANDROID_CORES:-4} + - CORES=${DOCKER_ANDROID_CORES:-4.0} devices: - '${DOCKER_ANDROID_KVM_DEVICE:-/dev/kvm}:/dev/kvm' healthcheck: @@ -34,10 +34,10 @@ services: deploy: resources: limits: - cpus: ${DOCKER_ANDROID_CPU_LIMIT:-2} + cpus: ${DOCKER_ANDROID_CPU_LIMIT:-2.0} memory: ${DOCKER_ANDROID_MEMORY_LIMIT:-8G} reservations: - cpus: ${DOCKER_ANDROID_CPU_RESERVATION:-1} + cpus: ${DOCKER_ANDROID_CPU_RESERVATION:-0.1} memory: ${DOCKER_ANDROID_MEMORY_RESERVATION:-4G} docker_android_gpu: @@ -57,7 +57,7 @@ services: - DISABLE_HIDDEN_POLICY=${DOCKER_ANDROID_DISABLE_HIDDEN_POLICY:-false} - SKIP_AUTH=${DOCKER_ANDROID_SKIP_AUTH:-true} - MEMORY=${DOCKER_ANDROID_MEMORY:-8192} - - CORES=${DOCKER_ANDROID_CORES:-4} + - CORES=${DOCKER_ANDROID_CORES:-4.0} devices: - '${DOCKER_ANDROID_KVM_DEVICE:-/dev/kvm}:/dev/kvm' healthcheck: @@ -69,10 +69,10 @@ services: deploy: resources: limits: - cpus: ${DOCKER_ANDROID_CPU_LIMIT:-2} + cpus: ${DOCKER_ANDROID_CPU_LIMIT:-2.0} memory: ${DOCKER_ANDROID_MEMORY_LIMIT:-8G} reservations: - cpus: ${DOCKER_ANDROID_CPU_RESERVATION:-1} + cpus: ${DOCKER_ANDROID_CPU_RESERVATION:-0.1} memory: ${DOCKER_ANDROID_MEMORY_RESERVATION:-4G} devices: - driver: nvidia diff --git a/src/dockge/docker-compose.yaml b/src/dockge/docker-compose.yaml index e4ea42e..41b73f7 100644 --- a/src/dockge/docker-compose.yaml +++ b/src/dockge/docker-compose.yaml @@ -27,7 +27,7 @@ services: cpus: ${DOCKGE_CPU_LIMIT:-1.0} memory: ${DOCKGE_MEMORY_LIMIT:-512M} reservations: - cpus: ${DOCKGE_CPU_RESERVATION:-0.25} + cpus: ${DOCKGE_CPU_RESERVATION:-0.1} memory: ${DOCKGE_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:5001/'] diff --git a/src/doris/.env.example b/src/doris/.env.example index 52ab37b..54da929 100644 --- a/src/doris/.env.example +++ b/src/doris/.env.example @@ -35,8 +35,8 @@ TZ=UTC # ==================== Resource Limits (FE) ==================== # FE CPU limits -# DORIS_FE_CPU_LIMIT=1.00 -# DORIS_FE_CPU_RESERVATION=0.50 +# DORIS_FE_CPU_LIMIT=1.0 +# DORIS_FE_CPU_RESERVATION=0.1 # FE Memory limits # DORIS_FE_MEMORY_LIMIT=2G @@ -45,9 +45,9 @@ TZ=UTC # ==================== Resource Limits (BE) ==================== # BE CPU limits -# DORIS_BE_CPU_LIMIT=2.00 -# DORIS_BE_CPU_RESERVATION=1.00 +# DORIS_BE_CPU_LIMIT=2.0 +# DORIS_BE_CPU_RESERVATION=0.1 # BE Memory limits # DORIS_BE_MEMORY_LIMIT=4G -# DORIS_BE_MEMORY_RESERVATION=2G +# DORIS_BE_MEMORY_RESERVATION=2G \ No newline at end of file diff --git a/src/doris/docker-compose.yaml b/src/doris/docker-compose.yaml index 1bd3eff..7b6e027 100644 --- a/src/doris/docker-compose.yaml +++ b/src/doris/docker-compose.yaml @@ -36,10 +36,10 @@ services: deploy: resources: limits: - cpus: ${DORIS_FE_CPU_LIMIT:-1.00} + cpus: ${DORIS_FE_CPU_LIMIT:-1.0} memory: ${DORIS_FE_MEMORY_LIMIT:-2G} reservations: - cpus: ${DORIS_FE_CPU_RESERVATION:-0.50} + cpus: ${DORIS_FE_CPU_RESERVATION:-0.1} memory: ${DORIS_FE_MEMORY_RESERVATION:-1G} # Doris Backend (BE) node @@ -68,10 +68,10 @@ services: deploy: resources: limits: - cpus: ${DORIS_BE_CPU_LIMIT:-2.00} + cpus: ${DORIS_BE_CPU_LIMIT:-2.0} memory: ${DORIS_BE_MEMORY_LIMIT:-4G} reservations: - cpus: ${DORIS_BE_CPU_RESERVATION:-1.00} + cpus: ${DORIS_BE_CPU_RESERVATION:-0.1} memory: ${DORIS_BE_MEMORY_RESERVATION:-2G} volumes: diff --git a/src/duckdb/docker-compose.yaml b/src/duckdb/docker-compose.yaml index 7d39768..ec5c762 100644 --- a/src/duckdb/docker-compose.yaml +++ b/src/duckdb/docker-compose.yaml @@ -25,7 +25,7 @@ services: cpus: ${DUCKDB_CPU_LIMIT:-2.0} memory: ${DUCKDB_MEMORY_LIMIT:-4G} reservations: - cpus: ${DUCKDB_CPU_RESERVATION:-0.5} + cpus: ${DUCKDB_CPU_RESERVATION:-0.1} memory: ${DUCKDB_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD-SHELL, "duckdb /data/duckdb.db -c 'SELECT 1' || exit 1"] diff --git a/src/easytier/.env.example b/src/easytier/.env.example index 7765071..4073ed3 100644 --- a/src/easytier/.env.example +++ b/src/easytier/.env.example @@ -24,7 +24,7 @@ EASYTIER_UDP_PORT_OVERRIDE=11010 EASYTIER_RPC_PORT_OVERRIDE=15888 # Resource limits -EASYTIER_CPU_LIMIT=0.50 +EASYTIER_CPU_LIMIT=0.5 EASYTIER_MEMORY_LIMIT=128M -EASYTIER_CPU_RESERVATION=0.10 -EASYTIER_MEMORY_RESERVATION=32M +EASYTIER_CPU_RESERVATION=0.1 +EASYTIER_MEMORY_RESERVATION=32M \ No newline at end of file diff --git a/src/easytier/docker-compose.yaml b/src/easytier/docker-compose.yaml index 7a36455..a9bf469 100644 --- a/src/easytier/docker-compose.yaml +++ b/src/easytier/docker-compose.yaml @@ -33,13 +33,13 @@ services: deploy: resources: limits: - cpus: ${EASYTIER_CPU_LIMIT:-0.50} + cpus: ${EASYTIER_CPU_LIMIT:-0.5} memory: ${EASYTIER_MEMORY_LIMIT:-128M} reservations: - cpus: ${EASYTIER_CPU_RESERVATION:-0.10} + cpus: ${EASYTIER_CPU_RESERVATION:-0.1} memory: ${EASYTIER_MEMORY_RESERVATION:-32M} healthcheck: - test: ['CMD', 'easytier-cli', '-p', '127.0.0.1:15888', 'node', 'info'] + test: [CMD, easytier-cli, -p, '127.0.0.1:15888', node, info] interval: 30s timeout: 10s retries: 3 diff --git a/src/elasticsearch/docker-compose.yaml b/src/elasticsearch/docker-compose.yaml index 6c01294..5746ff1 100644 --- a/src/elasticsearch/docker-compose.yaml +++ b/src/elasticsearch/docker-compose.yaml @@ -36,10 +36,10 @@ services: deploy: resources: limits: - cpus: ${ELASTICSEARCH_CPU_LIMIT:-2.00} + cpus: ${ELASTICSEARCH_CPU_LIMIT:-2.0} memory: ${ELASTICSEARCH_MEMORY_LIMIT:-2G} reservations: - cpus: ${ELASTICSEARCH_CPU_RESERVATION:-0.50} + cpus: ${ELASTICSEARCH_CPU_RESERVATION:-0.1} memory: ${ELASTICSEARCH_MEMORY_RESERVATION:-1G} healthcheck: test: diff --git a/src/etcd/docker-compose.yaml b/src/etcd/docker-compose.yaml index 49276ed..090cdc1 100644 --- a/src/etcd/docker-compose.yaml +++ b/src/etcd/docker-compose.yaml @@ -53,7 +53,7 @@ services: cpus: ${ETCD_CPU_LIMIT:-1.0} memory: ${ETCD_MEMORY_LIMIT:-1G} reservations: - cpus: ${ETCD_CPU_RESERVATION:-0.25} + cpus: ${ETCD_CPU_RESERVATION:-0.1} memory: ${ETCD_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD, etcdctl, endpoint, health] diff --git a/src/falkordb/.env.example b/src/falkordb/.env.example index 1063c1c..95403e6 100644 --- a/src/falkordb/.env.example +++ b/src/falkordb/.env.example @@ -9,10 +9,10 @@ FALKORDB_PORT_OVERRIDE=6379 FALKORDB_BROWSER_PORT_OVERRIDE=3000 # Resource limits -FALKORDB_CPU_LIMIT=1.00 +FALKORDB_CPU_LIMIT=1.0 FALKORDB_MEMORY_LIMIT=2G -FALKORDB_CPU_RESERVATION=0.25 +FALKORDB_CPU_RESERVATION=0.1 FALKORDB_MEMORY_RESERVATION=512M # Timezone -TZ=UTC +TZ=UTC \ No newline at end of file diff --git a/src/falkordb/docker-compose.yaml b/src/falkordb/docker-compose.yaml index 1099de2..c8be2b8 100644 --- a/src/falkordb/docker-compose.yaml +++ b/src/falkordb/docker-compose.yaml @@ -26,10 +26,10 @@ services: deploy: resources: limits: - cpus: ${FALKORDB_CPU_LIMIT:-1.00} + cpus: ${FALKORDB_CPU_LIMIT:-1.0} memory: ${FALKORDB_MEMORY_LIMIT:-2G} reservations: - cpus: ${FALKORDB_CPU_RESERVATION:-0.25} + cpus: ${FALKORDB_CPU_RESERVATION:-0.1} memory: ${FALKORDB_MEMORY_RESERVATION:-512M} volumes: diff --git a/src/firecrawl/docker-compose.yaml b/src/firecrawl/docker-compose.yaml index 5d6dbbe..93d22df 100644 --- a/src/firecrawl/docker-compose.yaml +++ b/src/firecrawl/docker-compose.yaml @@ -52,7 +52,7 @@ services: cpus: ${PLAYWRIGHT_CPU_LIMIT:-1.0} memory: ${PLAYWRIGHT_MEMORY_LIMIT:-1G} reservations: - cpus: ${PLAYWRIGHT_CPU_RESERVATION:-0.5} + cpus: ${PLAYWRIGHT_CPU_RESERVATION:-0.1} memory: ${PLAYWRIGHT_MEMORY_RESERVATION:-512M} api: @@ -81,7 +81,7 @@ services: cpus: ${FIRECRAWL_API_CPU_LIMIT:-2.0} memory: ${FIRECRAWL_API_MEMORY_LIMIT:-4G} reservations: - cpus: ${FIRECRAWL_API_CPU_RESERVATION:-1.0} + cpus: ${FIRECRAWL_API_CPU_RESERVATION:-0.1} memory: ${FIRECRAWL_API_MEMORY_RESERVATION:-2G} healthcheck: test: @@ -109,7 +109,7 @@ services: cpus: ${REDIS_CPU_LIMIT:-0.5} memory: ${REDIS_MEMORY_LIMIT:-512M} reservations: - cpus: ${REDIS_CPU_RESERVATION:-0.25} + cpus: ${REDIS_CPU_RESERVATION:-0.1} memory: ${REDIS_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD, redis-cli, ping] @@ -135,7 +135,7 @@ services: cpus: ${NUQPOSTGRES_CPU_LIMIT:-1.0} memory: ${NUQPOSTGRES_MEMORY_LIMIT:-1G} reservations: - cpus: ${NUQPOSTGRES_CPU_RESERVATION:-0.5} + cpus: ${NUQPOSTGRES_CPU_RESERVATION:-0.1} memory: ${NUQPOSTGRES_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD-SHELL, 'pg_isready -U ${POSTGRES_USER:-postgres}'] diff --git a/src/flink/docker-compose.yaml b/src/flink/docker-compose.yaml index 7409fd6..5188def 100644 --- a/src/flink/docker-compose.yaml +++ b/src/flink/docker-compose.yaml @@ -32,7 +32,7 @@ services: cpus: ${FLINK_JOBMANAGER_CPU_LIMIT:-2.0} memory: ${FLINK_JOBMANAGER_MEMORY_LIMIT:-2G} reservations: - cpus: ${FLINK_JOBMANAGER_CPU_RESERVATION:-0.5} + cpus: ${FLINK_JOBMANAGER_CPU_RESERVATION:-0.1} memory: ${FLINK_JOBMANAGER_MEMORY_RESERVATION:-1G} healthcheck: test: [CMD-SHELL, 'wget --no-verbose --tries=1 --spider http://localhost:8081 || exit 1'] @@ -65,7 +65,7 @@ services: cpus: ${FLINK_TASKMANAGER_CPU_LIMIT:-2.0} memory: ${FLINK_TASKMANAGER_MEMORY_LIMIT:-2G} reservations: - cpus: ${FLINK_TASKMANAGER_CPU_RESERVATION:-0.5} + cpus: ${FLINK_TASKMANAGER_CPU_RESERVATION:-0.1} memory: ${FLINK_TASKMANAGER_MEMORY_RESERVATION:-1G} healthcheck: test: [CMD-SHELL, 'ps aux | grep -v grep | grep -q taskmanager || exit 1'] diff --git a/src/flowise/.env.example b/src/flowise/.env.example index 87b3c27..6a8df2c 100644 --- a/src/flowise/.env.example +++ b/src/flowise/.env.example @@ -11,11 +11,11 @@ TZ=UTC FLOWISE_PORT_OVERRIDE=3000 # Resource Limits -FLOWISE_CPU_LIMIT=1 +FLOWISE_CPU_LIMIT=1.0 FLOWISE_MEMORY_LIMIT=1024M -FLOWISE_CPU_RESERVATION=0.5 +FLOWISE_CPU_RESERVATION=0.1 FLOWISE_MEMORY_RESERVATION=512M # Optional basic auth (leave empty to disable) # FLOWISE_USERNAME= -# FLOWISE_PASSWORD= +# FLOWISE_PASSWORD= \ No newline at end of file diff --git a/src/flowise/docker-compose.yaml b/src/flowise/docker-compose.yaml index cdee349..b17c2b4 100644 --- a/src/flowise/docker-compose.yaml +++ b/src/flowise/docker-compose.yaml @@ -33,10 +33,10 @@ services: deploy: resources: limits: - cpus: ${FLOWISE_CPU_LIMIT:-1} + cpus: ${FLOWISE_CPU_LIMIT:-1.0} memory: ${FLOWISE_MEMORY_LIMIT:-1024M} reservations: - cpus: ${FLOWISE_CPU_RESERVATION:-0.5} + cpus: ${FLOWISE_CPU_RESERVATION:-0.1} memory: ${FLOWISE_MEMORY_RESERVATION:-512M} volumes: diff --git a/src/frpc/.env.example b/src/frpc/.env.example index 3f38c67..8d2da29 100644 --- a/src/frpc/.env.example +++ b/src/frpc/.env.example @@ -5,7 +5,7 @@ TZ=UTC # FRP Client Version -FRPC_VERSION=0.65.0 +FRPC_VERSION=0.68.1 # FRP server connection settings FRP_SERVER_ADDR=127.0.0.1 diff --git a/src/frpc/README.md b/src/frpc/README.md index a9daecb..2c371b7 100644 --- a/src/frpc/README.md +++ b/src/frpc/README.md @@ -125,7 +125,7 @@ Access the admin dashboard at `http://localhost:7400` (default). ### Image Configuration - `GLOBAL_REGISTRY`: Optional global registry prefix for pulling images -- `FRPC_VERSION`: FRPC image version (default: `0.65.0`) +- `FRPC_VERSION`: FRPC image version (default: `0.68.1`) - `TZ`: Timezone setting (default: `UTC`) ### Server Connection diff --git a/src/frpc/README.zh.md b/src/frpc/README.zh.md index 37751a2..5701d90 100644 --- a/src/frpc/README.zh.md +++ b/src/frpc/README.zh.md @@ -125,7 +125,7 @@ localPort = 3000 ### 镜像配置 - `GLOBAL_REGISTRY`:可选的全局镜像仓库前缀 -- `FRPC_VERSION`:FRPC 镜像版本(默认:`0.65.0`) +- `FRPC_VERSION`:FRPC 镜像版本(默认:`0.68.1`) - `TZ`:时区设置(默认:`UTC`) ### 服务器连接 diff --git a/src/frpc/docker-compose.yaml b/src/frpc/docker-compose.yaml index 0fc3fd2..6273a78 100644 --- a/src/frpc/docker-compose.yaml +++ b/src/frpc/docker-compose.yaml @@ -9,7 +9,7 @@ x-defaults: &defaults services: frpc: <<: *defaults - image: ${GLOBAL_REGISTRY:-}snowdreamtech/frpc:${FRPC_VERSION:-0.65.0} + image: ${GLOBAL_REGISTRY:-}snowdreamtech/frpc:${FRPC_VERSION:-0.68.1} ports: - '${FRP_ADMIN_PORT:-7400}:${FRP_ADMIN_PORT:-7400}' volumes: diff --git a/src/frps/.env.example b/src/frps/.env.example index 857cc26..85fef0c 100644 --- a/src/frps/.env.example +++ b/src/frps/.env.example @@ -5,7 +5,7 @@ TZ=UTC # FRP Server Version -FRPS_VERSION=0.65.0 +FRPS_VERSION=0.68.1 # Authentication settings FRP_AUTH_METHOD=token diff --git a/src/frps/README.md b/src/frps/README.md index 6adfa90..85adfa1 100644 --- a/src/frps/README.md +++ b/src/frps/README.md @@ -73,7 +73,7 @@ services: ### Image Configuration - `GLOBAL_REGISTRY`: Optional global registry prefix for pulling images -- `FRPS_VERSION`: FRPS image version (default: `0.65.0`) +- `FRPS_VERSION`: FRPS image version (default: `0.68.1`) - `TZ`: Timezone setting (default: `UTC`) ### Server Configuration diff --git a/src/frps/README.zh.md b/src/frps/README.zh.md index 31311b9..d151b1b 100644 --- a/src/frps/README.zh.md +++ b/src/frps/README.zh.md @@ -73,7 +73,7 @@ services: ### 镜像配置 - `GLOBAL_REGISTRY`:可选的全局镜像仓库前缀 -- `FRPS_VERSION`:FRPS 镜像版本(默认:`0.65.0`) +- `FRPS_VERSION`:FRPS 镜像版本(默认:`0.68.1`) - `TZ`:时区设置(默认:`UTC`) ### 服务器配置 diff --git a/src/frps/docker-compose.yaml b/src/frps/docker-compose.yaml index f27a293..39b06d0 100644 --- a/src/frps/docker-compose.yaml +++ b/src/frps/docker-compose.yaml @@ -9,7 +9,7 @@ x-defaults: &defaults services: frps: <<: *defaults - image: ${GLOBAL_REGISTRY:-}snowdreamtech/frps:${FRPS_VERSION:-0.65.0} + image: ${GLOBAL_REGISTRY:-}snowdreamtech/frps:${FRPS_VERSION:-0.68.1} volumes: - ./frps.toml:/etc/frp/frps.toml ports: diff --git a/src/gitea-runner/docker-compose.yaml b/src/gitea-runner/docker-compose.yaml index d748a51..debc04f 100644 --- a/src/gitea-runner/docker-compose.yaml +++ b/src/gitea-runner/docker-compose.yaml @@ -27,7 +27,7 @@ services: cpus: ${GITEA_RUNNER_CPU_LIMIT:-1.0} memory: ${GITEA_RUNNER_MEMORY_LIMIT:-2G} reservations: - cpus: ${GITEA_RUNNER_CPU_RESERVATION:-0.5} + cpus: ${GITEA_RUNNER_CPU_RESERVATION:-0.1} memory: ${GITEA_RUNNER_MEMORY_RESERVATION:-1G} volumes: diff --git a/src/gitea/docker-compose.yaml b/src/gitea/docker-compose.yaml index 23c3b00..a5c0e2b 100644 --- a/src/gitea/docker-compose.yaml +++ b/src/gitea/docker-compose.yaml @@ -34,7 +34,7 @@ services: cpus: ${GITEA_CPU_LIMIT:-1.0} memory: ${GITEA_MEMORY_LIMIT:-1G} reservations: - cpus: ${GITEA_CPU_RESERVATION:-0.5} + cpus: ${GITEA_CPU_RESERVATION:-0.1} memory: ${GITEA_MEMORY_RESERVATION:-512M} healthcheck: test: @@ -68,7 +68,7 @@ services: cpus: ${GITEA_DB_CPU_LIMIT:-1.0} memory: ${GITEA_DB_MEMORY_LIMIT:-1G} reservations: - cpus: ${GITEA_DB_CPU_RESERVATION:-0.5} + cpus: ${GITEA_DB_CPU_RESERVATION:-0.1} memory: ${GITEA_DB_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD-SHELL, pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB] diff --git a/src/gitlab-runner/docker-compose.yaml b/src/gitlab-runner/docker-compose.yaml index 6932887..9de5da1 100644 --- a/src/gitlab-runner/docker-compose.yaml +++ b/src/gitlab-runner/docker-compose.yaml @@ -21,5 +21,5 @@ services: cpus: ${GITLAB_RUNNER_CPU_LIMIT:-1.0} memory: ${GITLAB_RUNNER_MEMORY_LIMIT:-2G} reservations: - cpus: ${GITLAB_RUNNER_CPU_RESERVATION:-0.5} + cpus: ${GITLAB_RUNNER_CPU_RESERVATION:-0.1} memory: ${GITLAB_RUNNER_MEMORY_RESERVATION:-1G} diff --git a/src/gitlab/docker-compose.yaml b/src/gitlab/docker-compose.yaml index 3e44f5e..b56e54e 100644 --- a/src/gitlab/docker-compose.yaml +++ b/src/gitlab/docker-compose.yaml @@ -27,7 +27,7 @@ services: cpus: ${GITLAB_CPU_LIMIT:-2.0} memory: ${GITLAB_MEMORY_LIMIT:-8G} reservations: - cpus: ${GITLAB_CPU_RESERVATION:-1.0} + cpus: ${GITLAB_CPU_RESERVATION:-0.1} memory: ${GITLAB_MEMORY_RESERVATION:-4G} healthcheck: test: [CMD, /opt/gitlab/bin/gitlab-healthcheck, --fail] diff --git a/src/gomodel/.env.example b/src/gomodel/.env.example index 0b2e324..0477bc5 100644 --- a/src/gomodel/.env.example +++ b/src/gomodel/.env.example @@ -33,9 +33,9 @@ GOMODEL_STORAGE_TYPE=sqlite GOMODEL_LOGGING_ENABLED=false # ---- Resource limits ---- -GOMODEL_CPU_LIMIT=1.00 +GOMODEL_CPU_LIMIT=1.0 GOMODEL_MEMORY_LIMIT=512M -GOMODEL_CPU_RESERVATION=0.25 +GOMODEL_CPU_RESERVATION=0.1 GOMODEL_MEMORY_RESERVATION=128M # =========================================================================== @@ -84,4 +84,4 @@ GOMODEL_MEMORY_RESERVATION=128M # vLLM (OpenAI-compatible server — API key optional) # VLLM_BASE_URL=http://host.docker.internal:8000/v1 -# VLLM_API_KEY=token-abc123 +# VLLM_API_KEY=token-abc123 \ No newline at end of file diff --git a/src/gomodel/docker-compose.yaml b/src/gomodel/docker-compose.yaml index 611b578..3f32cc8 100644 --- a/src/gomodel/docker-compose.yaml +++ b/src/gomodel/docker-compose.yaml @@ -52,10 +52,10 @@ services: deploy: resources: limits: - cpus: ${GOMODEL_CPU_LIMIT:-1.00} + cpus: ${GOMODEL_CPU_LIMIT:-1.0} memory: ${GOMODEL_MEMORY_LIMIT:-512M} reservations: - cpus: ${GOMODEL_CPU_RESERVATION:-0.25} + cpus: ${GOMODEL_CPU_RESERVATION:-0.1} memory: ${GOMODEL_MEMORY_RESERVATION:-128M} volumes: diff --git a/src/gpustack/docker-compose.yaml b/src/gpustack/docker-compose.yaml index 4889a47..1ebabac 100644 --- a/src/gpustack/docker-compose.yaml +++ b/src/gpustack/docker-compose.yaml @@ -29,7 +29,7 @@ services: cpus: ${GPUSTACK_CPU_LIMIT:-8.0} memory: ${GPUSTACK_MEMORY_LIMIT:-8G} reservations: - cpus: ${GPUSTACK_CPU_RESERVATION:-2.0} + cpus: ${GPUSTACK_CPU_RESERVATION:-0.1} memory: ${GPUSTACK_MEMORY_RESERVATION:-4G} devices: - driver: nvidia diff --git a/src/grafana/docker-compose.yaml b/src/grafana/docker-compose.yaml index 78a3961..187b391 100644 --- a/src/grafana/docker-compose.yaml +++ b/src/grafana/docker-compose.yaml @@ -34,7 +34,7 @@ services: cpus: ${GRAFANA_CPU_LIMIT:-1.0} memory: ${GRAFANA_MEMORY_LIMIT:-1G} reservations: - cpus: ${GRAFANA_CPU_RESERVATION:-0.25} + cpus: ${GRAFANA_CPU_RESERVATION:-0.1} memory: ${GRAFANA_MEMORY_RESERVATION:-256M} healthcheck: test: diff --git a/src/halo/docker-compose.yaml b/src/halo/docker-compose.yaml index a6d9a71..783549f 100644 --- a/src/halo/docker-compose.yaml +++ b/src/halo/docker-compose.yaml @@ -32,7 +32,7 @@ services: cpus: ${HALO_CPU_LIMIT:-2.0} memory: ${HALO_MEMORY_LIMIT:-2G} reservations: - cpus: ${HALO_CPU_RESERVATION:-0.5} + cpus: ${HALO_CPU_RESERVATION:-0.1} memory: ${HALO_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:8090/actuator/health'] @@ -64,7 +64,7 @@ services: cpus: ${HALO_DB_CPU_LIMIT:-1.0} memory: ${HALO_DB_MEMORY_LIMIT:-1G} reservations: - cpus: ${HALO_DB_CPU_RESERVATION:-0.25} + cpus: ${HALO_DB_CPU_RESERVATION:-0.1} memory: ${HALO_DB_MEMORY_RESERVATION:-256M} volumes: diff --git a/src/harbor/docker-compose.yaml b/src/harbor/docker-compose.yaml index 51f38e5..31b459a 100644 --- a/src/harbor/docker-compose.yaml +++ b/src/harbor/docker-compose.yaml @@ -44,7 +44,7 @@ services: cpus: ${HARBOR_CORE_CPU_LIMIT:-2.0} memory: ${HARBOR_CORE_MEMORY_LIMIT:-2G} reservations: - cpus: ${HARBOR_CORE_CPU_RESERVATION:-0.5} + cpus: ${HARBOR_CORE_CPU_RESERVATION:-0.1} memory: ${HARBOR_CORE_MEMORY_RESERVATION:-1G} healthcheck: test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:8080/api/v2.0/ping'] @@ -81,7 +81,7 @@ services: cpus: ${HARBOR_JOBSERVICE_CPU_LIMIT:-1.0} memory: ${HARBOR_JOBSERVICE_MEMORY_LIMIT:-1G} reservations: - cpus: ${HARBOR_JOBSERVICE_CPU_RESERVATION:-0.25} + cpus: ${HARBOR_JOBSERVICE_CPU_RESERVATION:-0.1} memory: ${HARBOR_JOBSERVICE_MEMORY_RESERVATION:-512M} # Harbor Registry @@ -99,7 +99,7 @@ services: cpus: ${HARBOR_REGISTRY_CPU_LIMIT:-1.0} memory: ${HARBOR_REGISTRY_MEMORY_LIMIT:-1G} reservations: - cpus: ${HARBOR_REGISTRY_CPU_RESERVATION:-0.25} + cpus: ${HARBOR_REGISTRY_CPU_RESERVATION:-0.1} memory: ${HARBOR_REGISTRY_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:5000/'] @@ -120,7 +120,7 @@ services: cpus: ${HARBOR_PORTAL_CPU_LIMIT:-0.5} memory: ${HARBOR_PORTAL_MEMORY_LIMIT:-512M} reservations: - cpus: ${HARBOR_PORTAL_CPU_RESERVATION:-0.25} + cpus: ${HARBOR_PORTAL_CPU_RESERVATION:-0.1} memory: ${HARBOR_PORTAL_MEMORY_RESERVATION:-256M} # Harbor Proxy (Nginx) @@ -145,7 +145,7 @@ services: cpus: ${HARBOR_PROXY_CPU_LIMIT:-1.0} memory: ${HARBOR_PROXY_MEMORY_LIMIT:-512M} reservations: - cpus: ${HARBOR_PROXY_CPU_RESERVATION:-0.25} + cpus: ${HARBOR_PROXY_CPU_RESERVATION:-0.1} memory: ${HARBOR_PROXY_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:8080/'] @@ -167,10 +167,10 @@ services: deploy: resources: limits: - cpus: ${HARBOR_DB_CPU_LIMIT:-1.00} + cpus: ${HARBOR_DB_CPU_LIMIT:-1.0} memory: ${HARBOR_DB_MEMORY_LIMIT:-1G} reservations: - cpus: ${HARBOR_DB_CPU_RESERVATION:-0.25} + cpus: ${HARBOR_DB_CPU_RESERVATION:-0.1} memory: ${HARBOR_DB_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD-SHELL, pg_isready -U postgres] @@ -190,10 +190,10 @@ services: deploy: resources: limits: - cpus: ${HARBOR_REDIS_CPU_LIMIT:-0.50} + cpus: ${HARBOR_REDIS_CPU_LIMIT:-0.5} memory: ${HARBOR_REDIS_MEMORY_LIMIT:-256M} reservations: - cpus: ${HARBOR_REDIS_CPU_RESERVATION:-0.10} + cpus: ${HARBOR_REDIS_CPU_RESERVATION:-0.1} memory: ${HARBOR_REDIS_MEMORY_RESERVATION:-64M} healthcheck: test: [CMD, redis-cli, ping] diff --git a/src/hbase/docker-compose.yaml b/src/hbase/docker-compose.yaml index 16bec80..a5895aa 100644 --- a/src/hbase/docker-compose.yaml +++ b/src/hbase/docker-compose.yaml @@ -28,7 +28,7 @@ services: cpus: ${HBASE_CPU_LIMIT:-4.0} memory: ${HBASE_MEMORY_LIMIT:-4G} reservations: - cpus: ${HBASE_CPU_RESERVATION:-1.0} + cpus: ${HBASE_CPU_RESERVATION:-0.1} memory: ${HBASE_MEMORY_RESERVATION:-2G} healthcheck: test: [CMD-SHELL, "echo 'status' | hbase shell -n || exit 1"] diff --git a/src/influxdb/.env.example b/src/influxdb/.env.example index d9d9cbc..005be7a 100644 --- a/src/influxdb/.env.example +++ b/src/influxdb/.env.example @@ -29,5 +29,5 @@ INFLUXDB_PORT_OVERRIDE=8086 # Resource limits INFLUXDB_CPU_LIMIT=2.0 INFLUXDB_MEMORY_LIMIT=2G -INFLUXDB_CPU_RESERVATION=0.5 -INFLUXDB_MEMORY_RESERVATION=512M +INFLUXDB_CPU_RESERVATION=0.1 +INFLUXDB_MEMORY_RESERVATION=512M \ No newline at end of file diff --git a/src/influxdb/docker-compose.yaml b/src/influxdb/docker-compose.yaml index 6af07af..2e60049 100644 --- a/src/influxdb/docker-compose.yaml +++ b/src/influxdb/docker-compose.yaml @@ -31,7 +31,7 @@ services: cpus: ${INFLUXDB_CPU_LIMIT:-2.0} memory: ${INFLUXDB_MEMORY_LIMIT:-2G} reservations: - cpus: ${INFLUXDB_CPU_RESERVATION:-0.5} + cpus: ${INFLUXDB_CPU_RESERVATION:-0.1} memory: ${INFLUXDB_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD, influx, ping] diff --git a/src/inngest/.env.example b/src/inngest/.env.example index caa82b3..ce6858c 100644 --- a/src/inngest/.env.example +++ b/src/inngest/.env.example @@ -59,8 +59,8 @@ TZ=UTC # Resource Limits - Inngest # ============================================================ -INNGEST_CPU_LIMIT=1.00 -INNGEST_CPU_RESERVATION=0.50 +INNGEST_CPU_LIMIT=1.0 +INNGEST_CPU_RESERVATION=0.1 INNGEST_MEMORY_LIMIT=512M INNGEST_MEMORY_RESERVATION=256M @@ -68,8 +68,8 @@ INNGEST_MEMORY_RESERVATION=256M # Resource Limits - PostgreSQL # ============================================================ -INNGEST_PG_CPU_LIMIT=0.50 -INNGEST_PG_CPU_RESERVATION=0.25 +INNGEST_PG_CPU_LIMIT=0.5 +INNGEST_PG_CPU_RESERVATION=0.1 INNGEST_PG_MEMORY_LIMIT=256M INNGEST_PG_MEMORY_RESERVATION=128M @@ -77,7 +77,7 @@ INNGEST_PG_MEMORY_RESERVATION=128M # Resource Limits - Redis # ============================================================ -INNGEST_REDIS_CPU_LIMIT=0.50 -INNGEST_REDIS_CPU_RESERVATION=0.25 +INNGEST_REDIS_CPU_LIMIT=0.5 +INNGEST_REDIS_CPU_RESERVATION=0.1 INNGEST_REDIS_MEMORY_LIMIT=128M -INNGEST_REDIS_MEMORY_RESERVATION=64M +INNGEST_REDIS_MEMORY_RESERVATION=64M \ No newline at end of file diff --git a/src/inngest/docker-compose.yaml b/src/inngest/docker-compose.yaml index abf592a..93d0917 100644 --- a/src/inngest/docker-compose.yaml +++ b/src/inngest/docker-compose.yaml @@ -73,10 +73,10 @@ services: deploy: resources: limits: - cpus: ${INNGEST_CPU_LIMIT:-1.00} + cpus: ${INNGEST_CPU_LIMIT:-1.0} memory: ${INNGEST_MEMORY_LIMIT:-512M} reservations: - cpus: ${INNGEST_CPU_RESERVATION:-0.50} + cpus: ${INNGEST_CPU_RESERVATION:-0.1} memory: ${INNGEST_MEMORY_RESERVATION:-256M} postgres: @@ -109,10 +109,10 @@ services: deploy: resources: limits: - cpus: ${INNGEST_PG_CPU_LIMIT:-0.50} + cpus: ${INNGEST_PG_CPU_LIMIT:-0.5} memory: ${INNGEST_PG_MEMORY_LIMIT:-256M} reservations: - cpus: ${INNGEST_PG_CPU_RESERVATION:-0.25} + cpus: ${INNGEST_PG_CPU_RESERVATION:-0.1} memory: ${INNGEST_PG_MEMORY_RESERVATION:-128M} redis: @@ -134,10 +134,10 @@ services: deploy: resources: limits: - cpus: ${INNGEST_REDIS_CPU_LIMIT:-0.50} + cpus: ${INNGEST_REDIS_CPU_LIMIT:-0.5} memory: ${INNGEST_REDIS_MEMORY_LIMIT:-128M} reservations: - cpus: ${INNGEST_REDIS_CPU_RESERVATION:-0.25} + cpus: ${INNGEST_REDIS_CPU_RESERVATION:-0.1} memory: ${INNGEST_REDIS_MEMORY_RESERVATION:-64M} volumes: diff --git a/src/jenkins/docker-compose.yaml b/src/jenkins/docker-compose.yaml index 9a27212..daf4359 100644 --- a/src/jenkins/docker-compose.yaml +++ b/src/jenkins/docker-compose.yaml @@ -28,10 +28,10 @@ services: deploy: resources: limits: - cpus: ${JENKINS_CPU_LIMIT:-2.00} + cpus: ${JENKINS_CPU_LIMIT:-2.0} memory: ${JENKINS_MEMORY_LIMIT:-3G} reservations: - cpus: ${JENKINS_CPU_RESERVATION:-0.50} + cpus: ${JENKINS_CPU_RESERVATION:-0.1} memory: ${JENKINS_MEMORY_RESERVATION:-1G} healthcheck: test: [CMD-SHELL, 'curl -f http://localhost:8080/login || exit 1'] diff --git a/src/kafka/docker-compose.yaml b/src/kafka/docker-compose.yaml index a65aaa8..aceeb39 100644 --- a/src/kafka/docker-compose.yaml +++ b/src/kafka/docker-compose.yaml @@ -28,10 +28,10 @@ services: deploy: resources: limits: - cpus: ${ZOOKEEPER_CPU_LIMIT:-1.00} + cpus: ${ZOOKEEPER_CPU_LIMIT:-1.0} memory: ${ZOOKEEPER_MEMORY_LIMIT:-1G} reservations: - cpus: ${ZOOKEEPER_CPU_RESERVATION:-0.25} + cpus: ${ZOOKEEPER_CPU_RESERVATION:-0.1} memory: ${ZOOKEEPER_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD-SHELL, 'echo ruok | nc localhost 2181 | grep imok'] @@ -76,10 +76,10 @@ services: deploy: resources: limits: - cpus: ${KAFKA_CPU_LIMIT:-2.00} + cpus: ${KAFKA_CPU_LIMIT:-2.0} memory: ${KAFKA_MEMORY_LIMIT:-2G} reservations: - cpus: ${KAFKA_CPU_RESERVATION:-0.50} + cpus: ${KAFKA_CPU_RESERVATION:-0.1} memory: ${KAFKA_MEMORY_RESERVATION:-1G} healthcheck: test: @@ -113,10 +113,10 @@ services: deploy: resources: limits: - cpus: ${KAFKA_UI_CPU_LIMIT:-0.50} + cpus: ${KAFKA_UI_CPU_LIMIT:-0.5} memory: ${KAFKA_UI_MEMORY_LIMIT:-512M} reservations: - cpus: ${KAFKA_UI_CPU_RESERVATION:-0.10} + cpus: ${KAFKA_UI_CPU_RESERVATION:-0.1} memory: ${KAFKA_UI_MEMORY_RESERVATION:-128M} volumes: diff --git a/src/kestra/.env.example b/src/kestra/.env.example index 97ba113..41c3ea2 100644 --- a/src/kestra/.env.example +++ b/src/kestra/.env.example @@ -28,12 +28,12 @@ TZ=UTC # Resource Limits - Kestra KESTRA_CPU_LIMIT=2.0 -KESTRA_CPU_RESERVATION=0.5 +KESTRA_CPU_RESERVATION=0.1 KESTRA_MEMORY_LIMIT=2G KESTRA_MEMORY_RESERVATION=512M # Resource Limits - PostgreSQL POSTGRES_CPU_LIMIT=1.0 -POSTGRES_CPU_RESERVATION=0.25 +POSTGRES_CPU_RESERVATION=0.1 POSTGRES_MEMORY_LIMIT=1G -POSTGRES_MEMORY_RESERVATION=256M +POSTGRES_MEMORY_RESERVATION=256M \ No newline at end of file diff --git a/src/kestra/docker-compose.yaml b/src/kestra/docker-compose.yaml index 0532212..147cd05 100644 --- a/src/kestra/docker-compose.yaml +++ b/src/kestra/docker-compose.yaml @@ -86,7 +86,7 @@ services: cpus: '${KESTRA_CPU_LIMIT:-2.0}' memory: '${KESTRA_MEMORY_LIMIT:-2G}' reservations: - cpus: '${KESTRA_CPU_RESERVATION:-0.5}' + cpus: '${KESTRA_CPU_RESERVATION:-0.1}' memory: '${KESTRA_MEMORY_RESERVATION:-512M}' postgres: @@ -111,7 +111,7 @@ services: cpus: '${POSTGRES_CPU_LIMIT:-1.0}' memory: '${POSTGRES_MEMORY_LIMIT:-1G}' reservations: - cpus: '${POSTGRES_CPU_RESERVATION:-0.25}' + cpus: '${POSTGRES_CPU_RESERVATION:-0.1}' memory: '${POSTGRES_MEMORY_RESERVATION:-256M}' volumes: diff --git a/src/kibana/docker-compose.yaml b/src/kibana/docker-compose.yaml index ce6bd7b..d7d70c1 100644 --- a/src/kibana/docker-compose.yaml +++ b/src/kibana/docker-compose.yaml @@ -29,10 +29,10 @@ services: deploy: resources: limits: - cpus: ${KIBANA_CPU_LIMIT:-1.00} + cpus: ${KIBANA_CPU_LIMIT:-1.0} memory: ${KIBANA_MEMORY_LIMIT:-1G} reservations: - cpus: ${KIBANA_CPU_RESERVATION:-0.25} + cpus: ${KIBANA_CPU_RESERVATION:-0.1} memory: ${KIBANA_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD-SHELL, 'curl -f http://localhost:5601/api/status || exit 1'] diff --git a/src/kodbox/docker-compose.yaml b/src/kodbox/docker-compose.yaml index b71d8df..ff00600 100644 --- a/src/kodbox/docker-compose.yaml +++ b/src/kodbox/docker-compose.yaml @@ -35,7 +35,7 @@ services: cpus: ${KODBOX_CPU_LIMIT:-2.0} memory: ${KODBOX_MEMORY_LIMIT:-2G} reservations: - cpus: ${KODBOX_CPU_RESERVATION:-0.5} + cpus: ${KODBOX_CPU_RESERVATION:-0.1} memory: ${KODBOX_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:80/'] @@ -71,7 +71,7 @@ services: cpus: ${KODBOX_DB_CPU_LIMIT:-1.0} memory: ${KODBOX_DB_MEMORY_LIMIT:-1G} reservations: - cpus: ${KODBOX_DB_CPU_RESERVATION:-0.25} + cpus: ${KODBOX_DB_CPU_RESERVATION:-0.1} memory: ${KODBOX_DB_MEMORY_RESERVATION:-256M} kodbox-redis: @@ -94,10 +94,10 @@ services: deploy: resources: limits: - cpus: ${KODBOX_REDIS_CPU_LIMIT:-0.50} + cpus: ${KODBOX_REDIS_CPU_LIMIT:-0.5} memory: ${KODBOX_REDIS_MEMORY_LIMIT:-512M} reservations: - cpus: ${KODBOX_REDIS_CPU_RESERVATION:-0.25} + cpus: ${KODBOX_REDIS_CPU_RESERVATION:-0.1} memory: ${KODBOX_REDIS_MEMORY_RESERVATION:-128M} volumes: diff --git a/src/kong/docker-compose.yaml b/src/kong/docker-compose.yaml index 13ddf35..a654248 100644 --- a/src/kong/docker-compose.yaml +++ b/src/kong/docker-compose.yaml @@ -21,10 +21,10 @@ services: deploy: resources: limits: - cpus: ${KONG_DB_CPU_LIMIT:-1.00} + cpus: ${KONG_DB_CPU_LIMIT:-1.0} memory: ${KONG_DB_MEMORY_LIMIT:-512M} reservations: - cpus: ${KONG_DB_CPU_RESERVATION:-0.25} + cpus: ${KONG_DB_CPU_RESERVATION:-0.1} memory: ${KONG_DB_MEMORY_RESERVATION:-128M} healthcheck: test: [CMD-SHELL, pg_isready -U kong] @@ -83,10 +83,10 @@ services: deploy: resources: limits: - cpus: ${KONG_CPU_LIMIT:-1.00} + cpus: ${KONG_CPU_LIMIT:-1.0} memory: ${KONG_MEMORY_LIMIT:-1G} reservations: - cpus: ${KONG_CPU_RESERVATION:-0.25} + cpus: ${KONG_CPU_RESERVATION:-0.1} memory: ${KONG_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD-SHELL, kong health] @@ -113,10 +113,10 @@ services: deploy: resources: limits: - cpus: ${KONGA_CPU_LIMIT:-0.50} + cpus: ${KONGA_CPU_LIMIT:-0.5} memory: ${KONGA_MEMORY_LIMIT:-256M} reservations: - cpus: ${KONGA_CPU_RESERVATION:-0.10} + cpus: ${KONGA_CPU_RESERVATION:-0.1} memory: ${KONGA_MEMORY_RESERVATION:-64M} profiles: - gui diff --git a/src/laminar/docker-compose.yaml b/src/laminar/docker-compose.yaml index b8b1844..914e239 100644 --- a/src/laminar/docker-compose.yaml +++ b/src/laminar/docker-compose.yaml @@ -39,7 +39,7 @@ services: cpus: ${LAMINAR_POSTGRES_CPU_LIMIT:-1.0} memory: ${LAMINAR_POSTGRES_MEMORY_LIMIT:-1G} reservations: - cpus: ${LAMINAR_POSTGRES_CPU_RESERVATION:-0.25} + cpus: ${LAMINAR_POSTGRES_CPU_RESERVATION:-0.1} memory: ${LAMINAR_POSTGRES_MEMORY_RESERVATION:-256M} clickhouse: @@ -79,7 +79,7 @@ services: cpus: ${LAMINAR_CLICKHOUSE_CPU_LIMIT:-2.0} memory: ${LAMINAR_CLICKHOUSE_MEMORY_LIMIT:-2G} reservations: - cpus: ${LAMINAR_CLICKHOUSE_CPU_RESERVATION:-0.5} + cpus: ${LAMINAR_CLICKHOUSE_CPU_RESERVATION:-0.1} memory: ${LAMINAR_CLICKHOUSE_MEMORY_RESERVATION:-512M} quickwit: @@ -110,7 +110,7 @@ services: cpus: ${LAMINAR_QUICKWIT_CPU_LIMIT:-1.0} memory: ${LAMINAR_QUICKWIT_MEMORY_LIMIT:-1G} reservations: - cpus: ${LAMINAR_QUICKWIT_CPU_RESERVATION:-0.25} + cpus: ${LAMINAR_QUICKWIT_CPU_RESERVATION:-0.1} memory: ${LAMINAR_QUICKWIT_MEMORY_RESERVATION:-256M} query-engine: @@ -139,7 +139,7 @@ services: cpus: ${LAMINAR_QUERY_ENGINE_CPU_LIMIT:-1.0} memory: ${LAMINAR_QUERY_ENGINE_MEMORY_LIMIT:-512M} reservations: - cpus: ${LAMINAR_QUERY_ENGINE_CPU_RESERVATION:-0.25} + cpus: ${LAMINAR_QUERY_ENGINE_CPU_RESERVATION:-0.1} memory: ${LAMINAR_QUERY_ENGINE_MEMORY_RESERVATION:-128M} app-server: @@ -195,7 +195,7 @@ services: cpus: ${LAMINAR_APP_SERVER_CPU_LIMIT:-2.0} memory: ${LAMINAR_APP_SERVER_MEMORY_LIMIT:-2G} reservations: - cpus: ${LAMINAR_APP_SERVER_CPU_RESERVATION:-0.5} + cpus: ${LAMINAR_APP_SERVER_CPU_RESERVATION:-0.1} memory: ${LAMINAR_APP_SERVER_MEMORY_RESERVATION:-512M} frontend: @@ -252,7 +252,7 @@ services: cpus: ${LAMINAR_FRONTEND_CPU_LIMIT:-1.0} memory: ${LAMINAR_FRONTEND_MEMORY_LIMIT:-1G} reservations: - cpus: ${LAMINAR_FRONTEND_CPU_RESERVATION:-0.25} + cpus: ${LAMINAR_FRONTEND_CPU_RESERVATION:-0.1} memory: ${LAMINAR_FRONTEND_MEMORY_RESERVATION:-256M} volumes: diff --git a/src/letta/.env.example b/src/letta/.env.example index 671f428..49d91c4 100644 --- a/src/letta/.env.example +++ b/src/letta/.env.example @@ -17,7 +17,7 @@ LETTA_PORT_OVERRIDE=8283 # OLLAMA_BASE_URL=http://host.docker.internal:11434 # Resource Limits -LETTA_CPU_LIMIT=1 +LETTA_CPU_LIMIT=1.0 LETTA_MEMORY_LIMIT=1G -LETTA_CPU_RESERVATION=0.25 -LETTA_MEMORY_RESERVATION=256M +LETTA_CPU_RESERVATION=0.1 +LETTA_MEMORY_RESERVATION=256M \ No newline at end of file diff --git a/src/letta/docker-compose.yaml b/src/letta/docker-compose.yaml index a6750f4..f1e9a1d 100644 --- a/src/letta/docker-compose.yaml +++ b/src/letta/docker-compose.yaml @@ -33,10 +33,10 @@ services: deploy: resources: limits: - cpus: ${LETTA_CPU_LIMIT:-1} + cpus: ${LETTA_CPU_LIMIT:-1.0} memory: ${LETTA_MEMORY_LIMIT:-1G} reservations: - cpus: ${LETTA_CPU_RESERVATION:-0.25} + cpus: ${LETTA_CPU_RESERVATION:-0.1} memory: ${LETTA_MEMORY_RESERVATION:-256M} volumes: diff --git a/src/libreoffice/docker-compose.yaml b/src/libreoffice/docker-compose.yaml index 385e4dc..cbe2825 100644 --- a/src/libreoffice/docker-compose.yaml +++ b/src/libreoffice/docker-compose.yaml @@ -27,10 +27,10 @@ services: deploy: resources: limits: - cpus: ${LIBREOFFICE_CPU_LIMIT:-2.00} + cpus: ${LIBREOFFICE_CPU_LIMIT:-2.0} memory: ${LIBREOFFICE_MEMORY_LIMIT:-2G} reservations: - cpus: ${LIBREOFFICE_CPU_RESERVATION:-0.50} + cpus: ${LIBREOFFICE_CPU_RESERVATION:-0.1} memory: ${LIBREOFFICE_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD, curl, -f, -k, 'https://localhost:3001/'] diff --git a/src/libsql/.env.example b/src/libsql/.env.example index ad41aeb..c56e372 100644 --- a/src/libsql/.env.example +++ b/src/libsql/.env.example @@ -61,11 +61,11 @@ LIBSQL_PRIMARY_URL=http://libsql:5001 # Primary instance resource limits LIBSQL_CPU_LIMIT=1.0 LIBSQL_MEMORY_LIMIT=512M -LIBSQL_CPU_RESERVATION=0.5 +LIBSQL_CPU_RESERVATION=0.1 LIBSQL_MEMORY_RESERVATION=256M # Replica instance resource limits (when replica profile is enabled) LIBSQL_REPLICA_CPU_LIMIT=1.0 LIBSQL_REPLICA_MEMORY_LIMIT=512M -LIBSQL_REPLICA_CPU_RESERVATION=0.5 -LIBSQL_REPLICA_MEMORY_RESERVATION=256M +LIBSQL_REPLICA_CPU_RESERVATION=0.1 +LIBSQL_REPLICA_MEMORY_RESERVATION=256M \ No newline at end of file diff --git a/src/libsql/docker-compose.yaml b/src/libsql/docker-compose.yaml index 744569a..aa5211b 100644 --- a/src/libsql/docker-compose.yaml +++ b/src/libsql/docker-compose.yaml @@ -42,7 +42,7 @@ services: cpus: ${LIBSQL_CPU_LIMIT:-1.0} memory: ${LIBSQL_MEMORY_LIMIT:-512M} reservations: - cpus: ${LIBSQL_CPU_RESERVATION:-0.5} + cpus: ${LIBSQL_CPU_RESERVATION:-0.1} memory: ${LIBSQL_MEMORY_RESERVATION:-256M} # Replica instance (optional, use with profile) @@ -79,7 +79,7 @@ services: cpus: ${LIBSQL_REPLICA_CPU_LIMIT:-1.0} memory: ${LIBSQL_REPLICA_MEMORY_LIMIT:-512M} reservations: - cpus: ${LIBSQL_REPLICA_CPU_RESERVATION:-0.5} + cpus: ${LIBSQL_REPLICA_CPU_RESERVATION:-0.1} memory: ${LIBSQL_REPLICA_MEMORY_RESERVATION:-256M} volumes: diff --git a/src/litellm/docker-compose.yaml b/src/litellm/docker-compose.yaml index 5562682..6451063 100644 --- a/src/litellm/docker-compose.yaml +++ b/src/litellm/docker-compose.yaml @@ -41,10 +41,10 @@ services: deploy: resources: limits: - cpus: ${LITELLM_CPU_LIMIT:-2.00} + cpus: ${LITELLM_CPU_LIMIT:-2.0} memory: ${LITELLM_MEMORY_LIMIT:-2G} reservations: - cpus: ${LITELLM_CPU_RESERVATION:-0.50} + cpus: ${LITELLM_CPU_RESERVATION:-0.1} memory: ${LITELLM_MEMORY_RESERVATION:-512M} db: @@ -68,10 +68,10 @@ services: deploy: resources: limits: - cpus: ${LITELLM_DB_CPU_LIMIT:-1.00} + cpus: ${LITELLM_DB_CPU_LIMIT:-1.0} memory: ${LITELLM_DB_MEMORY_LIMIT:-1G} reservations: - cpus: ${LITELLM_DB_CPU_RESERVATION:-0.25} + cpus: ${LITELLM_DB_CPU_RESERVATION:-0.1} memory: ${LITELLM_DB_MEMORY_RESERVATION:-256M} prometheus: @@ -99,10 +99,10 @@ services: deploy: resources: limits: - cpus: ${LITELLM_PROMETHEUS_CPU_LIMIT:-1.00} + cpus: ${LITELLM_PROMETHEUS_CPU_LIMIT:-1.0} memory: ${LITELLM_PROMETHEUS_MEMORY_LIMIT:-1G} reservations: - cpus: ${LITELLM_PROMETHEUS_CPU_RESERVATION:-0.25} + cpus: ${LITELLM_PROMETHEUS_CPU_RESERVATION:-0.1} memory: ${LITELLM_PROMETHEUS_MEMORY_RESERVATION:-256M} volumes: diff --git a/src/llama.cpp/.env.example b/src/llama-cpp/.env.example similarity index 95% rename from src/llama.cpp/.env.example rename to src/llama-cpp/.env.example index 90a2b18..80ffc45 100644 --- a/src/llama.cpp/.env.example +++ b/src/llama-cpp/.env.example @@ -50,7 +50,7 @@ LLAMA_CPP_GPU_COUNT=1 LLAMA_CPP_SERVER_CPU_LIMIT=4.0 # Server CPU reservation (in cores) -LLAMA_CPP_SERVER_CPU_RESERVATION=2.0 +LLAMA_CPP_SERVER_CPU_RESERVATION=0.1 # Server memory limit LLAMA_CPP_SERVER_MEMORY_LIMIT=8G @@ -75,7 +75,7 @@ LLAMA_CPP_PROMPT=Hello, how are you? LLAMA_CPP_CLI_CPU_LIMIT=2.0 # CLI CPU reservation (in cores) -LLAMA_CPP_CLI_CPU_RESERVATION=1.0 +LLAMA_CPP_CLI_CPU_RESERVATION=0.1 # CLI memory limit LLAMA_CPP_CLI_MEMORY_LIMIT=4G @@ -97,10 +97,10 @@ LLAMA_CPP_FULL_VARIANT=full LLAMA_CPP_FULL_CPU_LIMIT=2.0 # Full CPU reservation (in cores) -LLAMA_CPP_FULL_CPU_RESERVATION=1.0 +LLAMA_CPP_FULL_CPU_RESERVATION=0.1 # Full memory limit LLAMA_CPP_FULL_MEMORY_LIMIT=4G # Full memory reservation -LLAMA_CPP_FULL_MEMORY_RESERVATION=2G +LLAMA_CPP_FULL_MEMORY_RESERVATION=2G \ No newline at end of file diff --git a/src/llama.cpp/README.md b/src/llama-cpp/README.md similarity index 100% rename from src/llama.cpp/README.md rename to src/llama-cpp/README.md diff --git a/src/llama.cpp/README.zh.md b/src/llama-cpp/README.zh.md similarity index 100% rename from src/llama.cpp/README.zh.md rename to src/llama-cpp/README.zh.md diff --git a/src/llama.cpp/docker-compose.yaml b/src/llama-cpp/docker-compose.yaml similarity index 94% rename from src/llama.cpp/docker-compose.yaml rename to src/llama-cpp/docker-compose.yaml index 2ff89e1..3e763df 100644 --- a/src/llama.cpp/docker-compose.yaml +++ b/src/llama-cpp/docker-compose.yaml @@ -52,7 +52,7 @@ services: cpus: ${LLAMA_CPP_SERVER_CPU_LIMIT:-4.0} memory: ${LLAMA_CPP_SERVER_MEMORY_LIMIT:-8G} reservations: - cpus: ${LLAMA_CPP_SERVER_CPU_RESERVATION:-2.0} + cpus: ${LLAMA_CPP_SERVER_CPU_RESERVATION:-0.1} memory: ${LLAMA_CPP_SERVER_MEMORY_RESERVATION:-4G} profiles: - server @@ -97,7 +97,7 @@ services: cpus: ${LLAMA_CPP_SERVER_CPU_LIMIT:-4.0} memory: ${LLAMA_CPP_SERVER_MEMORY_LIMIT:-8G} reservations: - cpus: ${LLAMA_CPP_SERVER_CPU_RESERVATION:-2.0} + cpus: ${LLAMA_CPP_SERVER_CPU_RESERVATION:-0.1} memory: ${LLAMA_CPP_SERVER_MEMORY_RESERVATION:-4G} devices: - driver: nvidia @@ -150,7 +150,7 @@ services: cpus: ${LLAMA_CPP_SERVER_CPU_LIMIT:-4.0} memory: ${LLAMA_CPP_SERVER_MEMORY_LIMIT:-8G} reservations: - cpus: ${LLAMA_CPP_SERVER_CPU_RESERVATION:-2.0} + cpus: ${LLAMA_CPP_SERVER_CPU_RESERVATION:-0.1} memory: ${LLAMA_CPP_SERVER_MEMORY_RESERVATION:-4G} profiles: - gpu @@ -178,7 +178,7 @@ services: cpus: ${LLAMA_CPP_CLI_CPU_LIMIT:-2.0} memory: ${LLAMA_CPP_CLI_MEMORY_LIMIT:-4G} reservations: - cpus: ${LLAMA_CPP_CLI_CPU_RESERVATION:-1.0} + cpus: ${LLAMA_CPP_CLI_CPU_RESERVATION:-0.1} memory: ${LLAMA_CPP_CLI_MEMORY_RESERVATION:-2G} profiles: - cli @@ -198,7 +198,7 @@ services: cpus: ${LLAMA_CPP_FULL_CPU_LIMIT:-2.0} memory: ${LLAMA_CPP_FULL_MEMORY_LIMIT:-4G} reservations: - cpus: ${LLAMA_CPP_FULL_CPU_RESERVATION:-1.0} + cpus: ${LLAMA_CPP_FULL_CPU_RESERVATION:-0.1} memory: ${LLAMA_CPP_FULL_MEMORY_RESERVATION:-2G} profiles: - full diff --git a/src/llama-swap/.env.example b/src/llama-swap/.env.example index 22897e3..a2d6897 100644 --- a/src/llama-swap/.env.example +++ b/src/llama-swap/.env.example @@ -53,10 +53,10 @@ LLAMA_SWAP_GPU_COUNT=1 LLAMA_SWAP_CPU_LIMIT=4.0 # CPU reservation (in cores) -LLAMA_SWAP_CPU_RESERVATION=2.0 +LLAMA_SWAP_CPU_RESERVATION=0.1 # Memory limit (e.g., 8G, 16G) LLAMA_SWAP_MEMORY_LIMIT=8G # Memory reservation (e.g., 4G, 8G) -LLAMA_SWAP_MEMORY_RESERVATION=4G +LLAMA_SWAP_MEMORY_RESERVATION=4G \ No newline at end of file diff --git a/src/llama-swap/docker-compose.yaml b/src/llama-swap/docker-compose.yaml index 4155a7a..b06ad6f 100644 --- a/src/llama-swap/docker-compose.yaml +++ b/src/llama-swap/docker-compose.yaml @@ -40,7 +40,7 @@ services: cpus: ${LLAMA_SWAP_CPU_LIMIT:-4.0} memory: ${LLAMA_SWAP_MEMORY_LIMIT:-8G} reservations: - cpus: ${LLAMA_SWAP_CPU_RESERVATION:-2.0} + cpus: ${LLAMA_SWAP_CPU_RESERVATION:-0.1} memory: ${LLAMA_SWAP_MEMORY_RESERVATION:-4G} # llama-swap - NVIDIA CUDA variant @@ -73,7 +73,7 @@ services: cpus: ${LLAMA_SWAP_CPU_LIMIT:-4.0} memory: ${LLAMA_SWAP_MEMORY_LIMIT:-8G} reservations: - cpus: ${LLAMA_SWAP_CPU_RESERVATION:-2.0} + cpus: ${LLAMA_SWAP_CPU_RESERVATION:-0.1} memory: ${LLAMA_SWAP_MEMORY_RESERVATION:-4G} devices: - driver: nvidia @@ -117,7 +117,7 @@ services: cpus: ${LLAMA_SWAP_CPU_LIMIT:-4.0} memory: ${LLAMA_SWAP_MEMORY_LIMIT:-8G} reservations: - cpus: ${LLAMA_SWAP_CPU_RESERVATION:-2.0} + cpus: ${LLAMA_SWAP_CPU_RESERVATION:-0.1} memory: ${LLAMA_SWAP_MEMORY_RESERVATION:-4G} profiles: - gpu-amd diff --git a/src/lmdeploy/.env.example b/src/lmdeploy/.env.example index f352b87..fe6aeca 100644 --- a/src/lmdeploy/.env.example +++ b/src/lmdeploy/.env.example @@ -17,11 +17,11 @@ HF_TOKEN= # Resource limits LMDEPLOY_CPU_LIMIT=4.0 LMDEPLOY_MEMORY_LIMIT=8G -LMDEPLOY_CPU_RESERVATION=2.0 +LMDEPLOY_CPU_RESERVATION=0.1 LMDEPLOY_MEMORY_RESERVATION=4G # Shared memory size (required for some models) LMDEPLOY_SHM_SIZE=4g # Timezone -TZ=UTC +TZ=UTC \ No newline at end of file diff --git a/src/lmdeploy/docker-compose.yaml b/src/lmdeploy/docker-compose.yaml index 88b6781..ae1b40a 100644 --- a/src/lmdeploy/docker-compose.yaml +++ b/src/lmdeploy/docker-compose.yaml @@ -38,7 +38,7 @@ services: cpus: ${LMDEPLOY_CPU_LIMIT:-4.0} memory: ${LMDEPLOY_MEMORY_LIMIT:-8G} reservations: - cpus: ${LMDEPLOY_CPU_RESERVATION:-2.0} + cpus: ${LMDEPLOY_CPU_RESERVATION:-0.1} memory: ${LMDEPLOY_MEMORY_RESERVATION:-4G} devices: - driver: nvidia diff --git a/src/logstash/docker-compose.yaml b/src/logstash/docker-compose.yaml index 20d5a42..2a86d55 100644 --- a/src/logstash/docker-compose.yaml +++ b/src/logstash/docker-compose.yaml @@ -38,10 +38,10 @@ services: deploy: resources: limits: - cpus: ${LOGSTASH_CPU_LIMIT:-1.50} + cpus: ${LOGSTASH_CPU_LIMIT:-1.5} memory: ${LOGSTASH_MEMORY_LIMIT:-2G} reservations: - cpus: ${LOGSTASH_CPU_RESERVATION:-0.50} + cpus: ${LOGSTASH_CPU_RESERVATION:-0.1} memory: ${LOGSTASH_MEMORY_RESERVATION:-1G} healthcheck: test: [CMD-SHELL, 'curl -f http://localhost:9600/_node/stats || exit 1'] diff --git a/src/loki/.env.example b/src/loki/.env.example index d416bf7..5c0842f 100644 --- a/src/loki/.env.example +++ b/src/loki/.env.example @@ -15,5 +15,5 @@ LOKI_CPU_LIMIT=1.0 LOKI_MEMORY_LIMIT=1G # Resource Reservations -LOKI_CPU_RESERVATION=0.25 -LOKI_MEMORY_RESERVATION=256M +LOKI_CPU_RESERVATION=0.1 +LOKI_MEMORY_RESERVATION=256M \ No newline at end of file diff --git a/src/loki/docker-compose.yaml b/src/loki/docker-compose.yaml index 4f87299..a6d1ce2 100644 --- a/src/loki/docker-compose.yaml +++ b/src/loki/docker-compose.yaml @@ -25,7 +25,7 @@ services: cpus: ${LOKI_CPU_LIMIT:-1.0} memory: ${LOKI_MEMORY_LIMIT:-1G} reservations: - cpus: ${LOKI_CPU_RESERVATION:-0.25} + cpus: ${LOKI_CPU_RESERVATION:-0.1} memory: ${LOKI_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:3100/ready'] diff --git a/src/mariadb-galera/docker-compose.yaml b/src/mariadb-galera/docker-compose.yaml index 87c5c4d..51cacf6 100644 --- a/src/mariadb-galera/docker-compose.yaml +++ b/src/mariadb-galera/docker-compose.yaml @@ -31,7 +31,7 @@ x-mariadb-galera: &mariadb-galera cpus: ${MARIADB_CPU_LIMIT:-2.0} memory: ${MARIADB_MEMORY_LIMIT:-2G} reservations: - cpus: ${MARIADB_CPU_RESERVATION:-1.0} + cpus: ${MARIADB_CPU_RESERVATION:-0.1} memory: ${MARIADB_MEMORY_RESERVATION:-1G} healthcheck: test: [CMD, healthcheck.sh, --connect, --innodb_initialized] diff --git a/src/memos/.env.example b/src/memos/.env.example index f141dfe..95f79d7 100644 --- a/src/memos/.env.example +++ b/src/memos/.env.example @@ -33,5 +33,5 @@ TZ=UTC # Resource Limits MEMOS_CPU_LIMIT=1.0 MEMOS_MEMORY_LIMIT=512M -MEMOS_CPU_RESERVATION=0.25 -MEMOS_MEMORY_RESERVATION=128M +MEMOS_CPU_RESERVATION=0.1 +MEMOS_MEMORY_RESERVATION=128M \ No newline at end of file diff --git a/src/memos/docker-compose.yaml b/src/memos/docker-compose.yaml index 15d5f75..03e5463 100644 --- a/src/memos/docker-compose.yaml +++ b/src/memos/docker-compose.yaml @@ -30,7 +30,7 @@ services: cpus: ${MEMOS_CPU_LIMIT:-1.0} memory: ${MEMOS_MEMORY_LIMIT:-512M} reservations: - cpus: ${MEMOS_CPU_RESERVATION:-0.25} + cpus: ${MEMOS_CPU_RESERVATION:-0.1} memory: ${MEMOS_MEMORY_RESERVATION:-128M} healthcheck: test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:5230/'] diff --git a/src/milvus-standalone-embed/docker-compose.yaml b/src/milvus-standalone-embed/docker-compose.yaml index 8f73118..29280a2 100644 --- a/src/milvus-standalone-embed/docker-compose.yaml +++ b/src/milvus-standalone-embed/docker-compose.yaml @@ -40,7 +40,7 @@ services: cpus: ${MILVUS_EMBED_CPU_LIMIT:-2.0} memory: ${MILVUS_EMBED_MEMORY_LIMIT:-4G} reservations: - cpus: ${MILVUS_EMBED_CPU_RESERVATION:-1.0} + cpus: ${MILVUS_EMBED_CPU_RESERVATION:-0.1} memory: ${MILVUS_EMBED_MEMORY_RESERVATION:-2G} attu: @@ -59,7 +59,7 @@ services: deploy: resources: limits: - cpus: ${ATTU_CPU_LIMIT:-0.25} + cpus: ${ATTU_CPU_LIMIT:-0.3} memory: ${ATTU_MEMORY_LIMIT:-256M} reservations: cpus: ${ATTU_CPU_RESERVATION:-0.1} diff --git a/src/milvus-standalone/docker-compose.yaml b/src/milvus-standalone/docker-compose.yaml index d450bd2..bb242d7 100644 --- a/src/milvus-standalone/docker-compose.yaml +++ b/src/milvus-standalone/docker-compose.yaml @@ -28,7 +28,7 @@ services: deploy: resources: limits: - cpus: ${ETCD_CPU_LIMIT:-0.25} + cpus: ${ETCD_CPU_LIMIT:-0.3} memory: ${ETCD_MEMORY_LIMIT:-256M} reservations: cpus: ${ETCD_CPU_RESERVATION:-0.1} @@ -95,7 +95,7 @@ services: cpus: ${MILVUS_CPU_LIMIT:-2.0} memory: ${MILVUS_MEMORY_LIMIT:-4G} reservations: - cpus: ${MILVUS_CPU_RESERVATION:-1.0} + cpus: ${MILVUS_CPU_RESERVATION:-0.1} memory: ${MILVUS_MEMORY_RESERVATION:-2G} attu: @@ -114,7 +114,7 @@ services: deploy: resources: limits: - cpus: ${ATTU_CPU_LIMIT:-0.25} + cpus: ${ATTU_CPU_LIMIT:-0.3} memory: ${ATTU_MEMORY_LIMIT:-256M} reservations: cpus: ${ATTU_CPU_RESERVATION:-0.1} diff --git a/src/minecraft-bedrock-server/docker-compose.yaml b/src/minecraft-bedrock-server/docker-compose.yaml index 0d895f9..4b8725e 100644 --- a/src/minecraft-bedrock-server/docker-compose.yaml +++ b/src/minecraft-bedrock-server/docker-compose.yaml @@ -40,7 +40,7 @@ services: cpus: ${BEDROCK_CPU_LIMIT:-2.0} memory: ${BEDROCK_MEMORY_LIMIT:-2G} reservations: - cpus: ${BEDROCK_CPU_RESERVATION:-1.0} + cpus: ${BEDROCK_CPU_RESERVATION:-0.1} memory: ${BEDROCK_MEMORY_RESERVATION:-1G} healthcheck: test: [CMD-SHELL, '[ -f /data/valid_known_packs.json ]'] diff --git a/src/minio/.env.example b/src/minio/.env.example index a903162..5eb1c1d 100644 --- a/src/minio/.env.example +++ b/src/minio/.env.example @@ -15,5 +15,5 @@ TZ=UTC # Resource Limits MINIO_CPU_LIMIT=0.5 MINIO_MEMORY_LIMIT=1G -MINIO_CPU_RESERVATION=0.25 -MINIO_MEMORY_RESERVATION=512M +MINIO_CPU_RESERVATION=0.1 +MINIO_MEMORY_RESERVATION=512M \ No newline at end of file diff --git a/src/minio/docker-compose.yaml b/src/minio/docker-compose.yaml index 79fad3e..6bee9b6 100644 --- a/src/minio/docker-compose.yaml +++ b/src/minio/docker-compose.yaml @@ -32,7 +32,7 @@ services: cpus: ${MINIO_CPU_LIMIT:-0.5} memory: ${MINIO_MEMORY_LIMIT:-1G} reservations: - cpus: ${MINIO_CPU_RESERVATION:-0.25} + cpus: ${MINIO_CPU_RESERVATION:-0.1} memory: ${MINIO_MEMORY_RESERVATION:-512M} volumes: diff --git a/src/mlflow/docker-compose.yaml b/src/mlflow/docker-compose.yaml index 544a253..e6cc959 100644 --- a/src/mlflow/docker-compose.yaml +++ b/src/mlflow/docker-compose.yaml @@ -23,7 +23,7 @@ services: cpus: ${POSTGRES_MLFLOW_CPU_LIMIT:-1.0} memory: ${POSTGRES_MLFLOW_MEMORY_LIMIT:-1G} reservations: - cpus: ${POSTGRES_MLFLOW_CPU_RESERVATION:-0.5} + cpus: ${POSTGRES_MLFLOW_CPU_RESERVATION:-0.1} memory: ${POSTGRES_MLFLOW_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD-SHELL, 'pg_isready -U ${POSTGRES_USER:-mlflow}'] @@ -51,7 +51,7 @@ services: cpus: ${MINIO_MLFLOW_CPU_LIMIT:-1.0} memory: ${MINIO_MLFLOW_MEMORY_LIMIT:-1G} reservations: - cpus: ${MINIO_MLFLOW_CPU_RESERVATION:-0.5} + cpus: ${MINIO_MLFLOW_CPU_RESERVATION:-0.1} memory: ${MINIO_MLFLOW_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD, curl, -f, 'http://localhost:9000/minio/health/live'] @@ -111,7 +111,7 @@ services: cpus: ${MLFLOW_CPU_LIMIT:-2.0} memory: ${MLFLOW_MEMORY_LIMIT:-2G} reservations: - cpus: ${MLFLOW_CPU_RESERVATION:-1.0} + cpus: ${MLFLOW_CPU_RESERVATION:-0.1} memory: ${MLFLOW_MEMORY_RESERVATION:-1G} healthcheck: test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:5000/health'] diff --git a/src/mongodb-replicaset-single/docker-compose.yaml b/src/mongodb-replicaset-single/docker-compose.yaml index ec4bb89..d96506a 100644 --- a/src/mongodb-replicaset-single/docker-compose.yaml +++ b/src/mongodb-replicaset-single/docker-compose.yaml @@ -34,10 +34,10 @@ x-mongo: &mongo deploy: resources: limits: - cpus: ${MONGO_REPLICA_SINGLE_CPU_LIMIT:-1.00} + cpus: ${MONGO_REPLICA_SINGLE_CPU_LIMIT:-1.0} memory: ${MONGO_REPLICA_SINGLE_MEMORY_LIMIT:-2048M} reservations: - cpus: ${MONGO_REPLICA_SINGLE_CPU_RESERVATION:-0.50} + cpus: ${MONGO_REPLICA_SINGLE_CPU_RESERVATION:-0.1} memory: ${MONGO_REPLICA_SINGLE_MEMORY_RESERVATION:-1024M} services: @@ -102,10 +102,10 @@ services: deploy: resources: limits: - cpus: ${MONGO_REPLICA_SINGLE_INIT_CPU_LIMIT:-1.00} + cpus: ${MONGO_REPLICA_SINGLE_INIT_CPU_LIMIT:-1.0} memory: ${MONGO_REPLICA_SINGLE_INIT_MEMORY_LIMIT:-2048M} reservations: - cpus: ${MONGO_REPLICA_SINGLE_INIT_CPU_RESERVATION:-0.50} + cpus: ${MONGO_REPLICA_SINGLE_INIT_CPU_RESERVATION:-0.1} memory: ${MONGO_REPLICA_SINGLE_INIT_MEMORY_RESERVATION:-1024M} volumes: diff --git a/src/mongodb-replicaset/docker-compose.yaml b/src/mongodb-replicaset/docker-compose.yaml index 3f28477..54e8477 100644 --- a/src/mongodb-replicaset/docker-compose.yaml +++ b/src/mongodb-replicaset/docker-compose.yaml @@ -34,10 +34,10 @@ x-mongo: &mongo deploy: resources: limits: - cpus: ${MONGO_REPLICA_CPU_LIMIT:-1.00} + cpus: ${MONGO_REPLICA_CPU_LIMIT:-1.0} memory: ${MONGO_REPLICA_MEMORY_LIMIT:-2048M} reservations: - cpus: ${MONGO_REPLICA_CPU_RESERVATION:-0.50} + cpus: ${MONGO_REPLICA_CPU_RESERVATION:-0.1} memory: ${MONGO_REPLICA_MEMORY_RESERVATION:-1024M} services: @@ -126,10 +126,10 @@ services: deploy: resources: limits: - cpus: ${MONGO_REPLICA_INIT_CPU_LIMIT:-1.00} + cpus: ${MONGO_REPLICA_INIT_CPU_LIMIT:-1.0} memory: ${MONGO_REPLICA_INIT_MEMORY_LIMIT:-2048M} reservations: - cpus: ${MONGO_REPLICA_INIT_CPU_RESERVATION:-0.50} + cpus: ${MONGO_REPLICA_INIT_CPU_RESERVATION:-0.1} memory: ${MONGO_REPLICA_INIT_MEMORY_RESERVATION:-1024M} volumes: diff --git a/src/mongodb-standalone/docker-compose.yaml b/src/mongodb-standalone/docker-compose.yaml index 2f0cbda..643d090 100644 --- a/src/mongodb-standalone/docker-compose.yaml +++ b/src/mongodb-standalone/docker-compose.yaml @@ -28,10 +28,10 @@ services: deploy: resources: limits: - cpus: ${MONGO_CPU_LIMIT:-1.00} + cpus: ${MONGO_CPU_LIMIT:-1.0} memory: ${MONGO_MEMORY_LIMIT:-2048M} reservations: - cpus: ${MONGO_CPU_RESERVATION:-0.50} + cpus: ${MONGO_CPU_RESERVATION:-0.1} memory: ${MONGO_MEMORY_RESERVATION:-1024M} volumes: diff --git a/src/mysql/docker-compose.yaml b/src/mysql/docker-compose.yaml index 47b5463..362ce9e 100644 --- a/src/mysql/docker-compose.yaml +++ b/src/mysql/docker-compose.yaml @@ -27,7 +27,7 @@ services: cpus: ${MYSQL_CPU_LIMIT:-2.0} memory: ${MYSQL_MEMORY_LIMIT:-2G} reservations: - cpus: ${MYSQL_CPU_RESERVATION:-0.5} + cpus: ${MYSQL_CPU_RESERVATION:-0.1} memory: ${MYSQL_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD, mysqladmin, ping, -h, localhost, -u, root, -p$$MYSQL_ROOT_PASSWORD] diff --git a/src/nacos/docker-compose.yaml b/src/nacos/docker-compose.yaml index f21c74d..49fd32e 100644 --- a/src/nacos/docker-compose.yaml +++ b/src/nacos/docker-compose.yaml @@ -34,7 +34,7 @@ services: cpus: ${NACOS_CPU_LIMIT:-1.0} memory: ${NACOS_MEMORY_LIMIT:-1G} reservations: - cpus: ${NACOS_CPU_RESERVATION:-0.5} + cpus: ${NACOS_CPU_RESERVATION:-0.1} memory: ${NACOS_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:8848/nacos/'] diff --git a/src/nebulagraph/docker-compose.yaml b/src/nebulagraph/docker-compose.yaml index fb63b83..ee60d81 100644 --- a/src/nebulagraph/docker-compose.yaml +++ b/src/nebulagraph/docker-compose.yaml @@ -33,7 +33,7 @@ services: cpus: ${NEBULA_METAD_CPU_LIMIT:-0.5} memory: ${NEBULA_METAD_MEMORY_LIMIT:-512M} reservations: - cpus: ${NEBULA_METAD_CPU_RESERVATION:-0.25} + cpus: ${NEBULA_METAD_CPU_RESERVATION:-0.1} memory: ${NEBULA_METAD_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD, /usr/local/nebula/bin/nebula-metad, --version] @@ -71,7 +71,7 @@ services: cpus: ${NEBULA_STORAGED_CPU_LIMIT:-1.0} memory: ${NEBULA_STORAGED_MEMORY_LIMIT:-1G} reservations: - cpus: ${NEBULA_STORAGED_CPU_RESERVATION:-0.5} + cpus: ${NEBULA_STORAGED_CPU_RESERVATION:-0.1} memory: ${NEBULA_STORAGED_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD, /usr/local/nebula/bin/nebula-storaged, --version] @@ -109,7 +109,7 @@ services: cpus: ${NEBULA_GRAPHD_CPU_LIMIT:-1.0} memory: ${NEBULA_GRAPHD_MEMORY_LIMIT:-1G} reservations: - cpus: ${NEBULA_GRAPHD_CPU_RESERVATION:-0.5} + cpus: ${NEBULA_GRAPHD_CPU_RESERVATION:-0.1} memory: ${NEBULA_GRAPHD_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD, /usr/local/nebula/bin/nebula-graphd, --version] diff --git a/src/neo4j/docker-compose.yaml b/src/neo4j/docker-compose.yaml index 2c69af8..ea73dd8 100644 --- a/src/neo4j/docker-compose.yaml +++ b/src/neo4j/docker-compose.yaml @@ -31,7 +31,7 @@ services: cpus: ${NEO4J_CPU_LIMIT:-2.0} memory: ${NEO4J_MEMORY_LIMIT:-2G} reservations: - cpus: ${NEO4J_CPU_RESERVATION:-0.5} + cpus: ${NEO4J_CPU_RESERVATION:-0.1} memory: ${NEO4J_MEMORY_RESERVATION:-1G} healthcheck: test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:7474/'] diff --git a/src/nexa-sdk/.env.example b/src/nexa-sdk/.env.example index 51fbb36..0eb3282 100644 --- a/src/nexa-sdk/.env.example +++ b/src/nexa-sdk/.env.example @@ -16,5 +16,5 @@ TZ=UTC # Resource limits NEXA_SDK_CPU_LIMIT=4.0 NEXA_SDK_MEMORY_LIMIT=8G -NEXA_SDK_CPU_RESERVATION=1.0 -NEXA_SDK_MEMORY_RESERVATION=2G +NEXA_SDK_CPU_RESERVATION=0.1 +NEXA_SDK_MEMORY_RESERVATION=2G \ No newline at end of file diff --git a/src/nexa-sdk/docker-compose.yaml b/src/nexa-sdk/docker-compose.yaml index fbdab20..5466d67 100644 --- a/src/nexa-sdk/docker-compose.yaml +++ b/src/nexa-sdk/docker-compose.yaml @@ -36,7 +36,7 @@ services: cpus: ${NEXA_SDK_CPU_LIMIT:-4.0} memory: ${NEXA_SDK_MEMORY_LIMIT:-8G} reservations: - cpus: ${NEXA_SDK_CPU_RESERVATION:-1.0} + cpus: ${NEXA_SDK_CPU_RESERVATION:-0.1} memory: ${NEXA_SDK_MEMORY_RESERVATION:-2G} # GPU-accelerated service with CUDA support @@ -65,7 +65,7 @@ services: cpus: ${NEXA_SDK_CPU_LIMIT:-8.0} memory: ${NEXA_SDK_MEMORY_LIMIT:-16G} reservations: - cpus: ${NEXA_SDK_CPU_RESERVATION:-2.0} + cpus: ${NEXA_SDK_CPU_RESERVATION:-0.1} memory: ${NEXA_SDK_MEMORY_RESERVATION:-4G} devices: - driver: nvidia diff --git a/src/nginx/docker-compose.yaml b/src/nginx/docker-compose.yaml index e140498..7eaa5b9 100644 --- a/src/nginx/docker-compose.yaml +++ b/src/nginx/docker-compose.yaml @@ -28,10 +28,10 @@ services: deploy: resources: limits: - cpus: ${NGINX_CPU_LIMIT:-1.00} + cpus: ${NGINX_CPU_LIMIT:-1.0} memory: ${NGINX_MEMORY_LIMIT:-512M} reservations: - cpus: ${NGINX_CPU_RESERVATION:-0.25} + cpus: ${NGINX_CPU_RESERVATION:-0.1} memory: ${NGINX_MEMORY_RESERVATION:-64M} healthcheck: test: diff --git a/src/node-exporter/docker-compose.yaml b/src/node-exporter/docker-compose.yaml index 741f445..7b19a40 100644 --- a/src/node-exporter/docker-compose.yaml +++ b/src/node-exporter/docker-compose.yaml @@ -24,7 +24,7 @@ services: deploy: resources: limits: - cpus: ${NODE_EXPORTER_CPU_LIMIT:-0.25} + cpus: ${NODE_EXPORTER_CPU_LIMIT:-0.3} memory: ${NODE_EXPORTER_MEMORY_LIMIT:-128M} reservations: cpus: ${NODE_EXPORTER_CPU_RESERVATION:-0.1} diff --git a/src/oceanbase/docker-compose.yaml b/src/oceanbase/docker-compose.yaml index b47754b..0eb9a19 100644 --- a/src/oceanbase/docker-compose.yaml +++ b/src/oceanbase/docker-compose.yaml @@ -31,7 +31,7 @@ services: cpus: ${OCEANBASE_CPU_LIMIT:-4.0} memory: ${OCEANBASE_MEMORY_LIMIT:-10G} reservations: - cpus: ${OCEANBASE_CPU_RESERVATION:-2.0} + cpus: ${OCEANBASE_CPU_RESERVATION:-0.1} memory: ${OCEANBASE_MEMORY_RESERVATION:-8G} healthcheck: test: [CMD-SHELL, "mysql -h127.0.0.1 -P2881 -uroot -p$$OB_ROOT_PASSWORD -e 'SELECT 1' || exit 1"] diff --git a/src/odoo/docker-compose.yaml b/src/odoo/docker-compose.yaml index ab5e15e..cb6cdc7 100644 --- a/src/odoo/docker-compose.yaml +++ b/src/odoo/docker-compose.yaml @@ -31,7 +31,7 @@ services: cpus: ${ODOO_CPU_LIMIT:-2.0} memory: ${ODOO_MEMORY_LIMIT:-2G} reservations: - cpus: ${ODOO_CPU_RESERVATION:-0.5} + cpus: ${ODOO_CPU_RESERVATION:-0.1} memory: ${ODOO_MEMORY_RESERVATION:-1G} healthcheck: test: @@ -64,7 +64,7 @@ services: cpus: ${ODOO_DB_CPU_LIMIT:-1.0} memory: ${ODOO_DB_MEMORY_LIMIT:-1G} reservations: - cpus: ${ODOO_DB_CPU_RESERVATION:-0.25} + cpus: ${ODOO_DB_CPU_RESERVATION:-0.1} memory: ${ODOO_DB_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD-SHELL, 'pg_isready -U ${POSTGRES_USER:-odoo}'] diff --git a/src/ollama/docker-compose.yaml b/src/ollama/docker-compose.yaml index 6204ed6..9490d87 100644 --- a/src/ollama/docker-compose.yaml +++ b/src/ollama/docker-compose.yaml @@ -32,7 +32,7 @@ services: cpus: ${OLLAMA_CPU_LIMIT:-8.0} memory: ${OLLAMA_MEMORY_LIMIT:-16G} reservations: - cpus: ${OLLAMA_CPU_RESERVATION:-2.0} + cpus: ${OLLAMA_CPU_RESERVATION:-0.1} memory: ${OLLAMA_MEMORY_RESERVATION:-4G} devices: - driver: nvidia diff --git a/src/open-webui/.env.example b/src/open-webui/.env.example index 414be01..b3a5535 100644 --- a/src/open-webui/.env.example +++ b/src/open-webui/.env.example @@ -11,9 +11,9 @@ TZ=UTC OPEN_WEBUI_PORT_OVERRIDE=8080 # Resource Limits -OPEN_WEBUI_CPU_LIMIT=1 +OPEN_WEBUI_CPU_LIMIT=1.0 OPEN_WEBUI_MEMORY_LIMIT=1024M -OPEN_WEBUI_CPU_RESERVATION=0.5 +OPEN_WEBUI_CPU_RESERVATION=0.1 OPEN_WEBUI_MEMORY_RESERVATION=512M # OpenAI API Configuration (optional) @@ -24,4 +24,4 @@ OPEN_WEBUI_MEMORY_RESERVATION=512M # ENABLE_OLLAMA_API=true # WebUI URL (optional, for external access configuration) -# WEBUI_URL= +# WEBUI_URL= \ No newline at end of file diff --git a/src/open-webui/docker-compose.yaml b/src/open-webui/docker-compose.yaml index 837e58f..50a3bdf 100644 --- a/src/open-webui/docker-compose.yaml +++ b/src/open-webui/docker-compose.yaml @@ -22,10 +22,10 @@ services: deploy: resources: limits: - cpus: ${OPEN_WEBUI_CPU_LIMIT:-1} + cpus: ${OPEN_WEBUI_CPU_LIMIT:-1.0} memory: ${OPEN_WEBUI_MEMORY_LIMIT:-1024M} reservations: - cpus: ${OPEN_WEBUI_CPU_RESERVATION:-0.5} + cpus: ${OPEN_WEBUI_CPU_RESERVATION:-0.1} memory: ${OPEN_WEBUI_MEMORY_RESERVATION:-512M} volumes: diff --git a/src/opencode/.env.example b/src/opencode/.env.example index cdbcec9..fa24fd5 100644 --- a/src/opencode/.env.example +++ b/src/opencode/.env.example @@ -27,5 +27,5 @@ MISTRAL_API_KEY= # Resource Limits OPENCODE_CPU_LIMIT=1.0 OPENCODE_MEMORY_LIMIT=2G -OPENCODE_CPU_RESERVATION=0.25 -OPENCODE_MEMORY_RESERVATION=512M +OPENCODE_CPU_RESERVATION=0.1 +OPENCODE_MEMORY_RESERVATION=512M \ No newline at end of file diff --git a/src/opencode/docker-compose.yaml b/src/opencode/docker-compose.yaml index 4cbde34..3b6ccec 100644 --- a/src/opencode/docker-compose.yaml +++ b/src/opencode/docker-compose.yaml @@ -46,7 +46,7 @@ services: cpus: ${OPENCODE_CPU_LIMIT:-1.0} memory: ${OPENCODE_MEMORY_LIMIT:-2G} reservations: - cpus: ${OPENCODE_CPU_RESERVATION:-0.25} + cpus: ${OPENCODE_CPU_RESERVATION:-0.1} memory: ${OPENCODE_MEMORY_RESERVATION:-512M} volumes: diff --git a/src/opencut/docker-compose.yaml b/src/opencut/docker-compose.yaml index 58f1ee0..b72b951 100644 --- a/src/opencut/docker-compose.yaml +++ b/src/opencut/docker-compose.yaml @@ -28,10 +28,10 @@ services: deploy: resources: limits: - cpus: ${OPENCUT_DB_CPU_LIMIT:-2.00} + cpus: ${OPENCUT_DB_CPU_LIMIT:-2.0} memory: ${OPENCUT_DB_MEMORY_LIMIT:-1G} reservations: - cpus: ${OPENCUT_DB_CPU_RESERVATION:-0.50} + cpus: ${OPENCUT_DB_CPU_RESERVATION:-0.1} memory: ${OPENCUT_DB_MEMORY_RESERVATION:-256M} redis: @@ -48,10 +48,10 @@ services: deploy: resources: limits: - cpus: ${OPENCUT_REDIS_CPU_LIMIT:-1.00} + cpus: ${OPENCUT_REDIS_CPU_LIMIT:-1.0} memory: ${OPENCUT_REDIS_MEMORY_LIMIT:-512M} reservations: - cpus: ${OPENCUT_REDIS_CPU_RESERVATION:-0.25} + cpus: ${OPENCUT_REDIS_CPU_RESERVATION:-0.1} memory: ${OPENCUT_REDIS_MEMORY_RESERVATION:-128M} serverless-redis-http: @@ -75,10 +75,10 @@ services: deploy: resources: limits: - cpus: ${OPENCUT_SRH_CPU_LIMIT:-1.00} + cpus: ${OPENCUT_SRH_CPU_LIMIT:-1.0} memory: ${OPENCUT_SRH_MEMORY_LIMIT:-256M} reservations: - cpus: ${OPENCUT_SRH_CPU_RESERVATION:-0.25} + cpus: ${OPENCUT_SRH_CPU_RESERVATION:-0.1} memory: ${OPENCUT_SRH_MEMORY_RESERVATION:-64M} web: @@ -116,10 +116,10 @@ services: deploy: resources: limits: - cpus: ${OPENCUT_WEB_CPU_LIMIT:-2.00} + cpus: ${OPENCUT_WEB_CPU_LIMIT:-2.0} memory: ${OPENCUT_WEB_MEMORY_LIMIT:-2G} reservations: - cpus: ${OPENCUT_WEB_CPU_RESERVATION:-0.50} + cpus: ${OPENCUT_WEB_CPU_RESERVATION:-0.1} memory: ${OPENCUT_WEB_MEMORY_RESERVATION:-512M} volumes: diff --git a/src/openlist/docker-compose.yaml b/src/openlist/docker-compose.yaml index 7c1b539..b01b4ca 100644 --- a/src/openlist/docker-compose.yaml +++ b/src/openlist/docker-compose.yaml @@ -25,7 +25,7 @@ services: cpus: ${OPENLIST_CPU_LIMIT:-1.0} memory: ${OPENLIST_MEMORY_LIMIT:-1G} reservations: - cpus: ${OPENLIST_CPU_RESERVATION:-0.25} + cpus: ${OPENLIST_CPU_RESERVATION:-0.1} memory: ${OPENLIST_MEMORY_RESERVATION:-256M} healthcheck: test: diff --git a/src/opensearch/docker-compose.yaml b/src/opensearch/docker-compose.yaml index bbd782b..b38688d 100644 --- a/src/opensearch/docker-compose.yaml +++ b/src/opensearch/docker-compose.yaml @@ -37,7 +37,7 @@ services: cpus: ${OPENSEARCH_CPU_LIMIT:-2.0} memory: ${OPENSEARCH_MEMORY_LIMIT:-2G} reservations: - cpus: ${OPENSEARCH_CPU_RESERVATION:-1.0} + cpus: ${OPENSEARCH_CPU_RESERVATION:-0.1} memory: ${OPENSEARCH_MEMORY_RESERVATION:-1G} healthcheck: test: @@ -65,7 +65,7 @@ services: cpus: ${OPENSEARCH_DASHBOARDS_CPU_LIMIT:-1.0} memory: ${OPENSEARCH_DASHBOARDS_MEMORY_LIMIT:-1G} reservations: - cpus: ${OPENSEARCH_DASHBOARDS_CPU_RESERVATION:-0.5} + cpus: ${OPENSEARCH_DASHBOARDS_CPU_RESERVATION:-0.1} memory: ${OPENSEARCH_DASHBOARDS_MEMORY_RESERVATION:-512M} healthcheck: test: diff --git a/src/openviking/.env.example b/src/openviking/.env.example index ae8df99..f127459 100644 --- a/src/openviking/.env.example +++ b/src/openviking/.env.example @@ -24,10 +24,10 @@ OPENVIKING_LOG_MAX_SIZE=100m OPENVIKING_LOG_MAX_FILE=3 # Resources -OPENVIKING_CPU_LIMIT=2.00 +OPENVIKING_CPU_LIMIT=2.0 OPENVIKING_MEMORY_LIMIT=2G -OPENVIKING_CPU_RESERVATION=0.50 +OPENVIKING_CPU_RESERVATION=0.1 OPENVIKING_MEMORY_RESERVATION=512M # Timezone -TZ=UTC +TZ=UTC \ No newline at end of file diff --git a/src/openviking/docker-compose.yaml b/src/openviking/docker-compose.yaml index a3294f8..0720762 100644 --- a/src/openviking/docker-compose.yaml +++ b/src/openviking/docker-compose.yaml @@ -75,10 +75,10 @@ services: deploy: resources: limits: - cpus: ${OPENVIKING_CPU_LIMIT:-2.00} + cpus: ${OPENVIKING_CPU_LIMIT:-2.0} memory: ${OPENVIKING_MEMORY_LIMIT:-2G} reservations: - cpus: ${OPENVIKING_CPU_RESERVATION:-0.50} + cpus: ${OPENVIKING_CPU_RESERVATION:-0.1} memory: ${OPENVIKING_MEMORY_RESERVATION:-512M} volumes: diff --git a/src/otel-collector/.env.example b/src/otel-collector/.env.example index d7d7a19..3340c2e 100644 --- a/src/otel-collector/.env.example +++ b/src/otel-collector/.env.example @@ -56,7 +56,7 @@ OTEL_COLLECTOR_CPU_LIMIT=1.0 OTEL_COLLECTOR_MEMORY_LIMIT=2G # CPU reservation for OTel Collector -OTEL_COLLECTOR_CPU_RESERVATION=0.25 +OTEL_COLLECTOR_CPU_RESERVATION=0.1 # Memory reservation for OTel Collector -OTEL_COLLECTOR_MEMORY_RESERVATION=512M +OTEL_COLLECTOR_MEMORY_RESERVATION=512M \ No newline at end of file diff --git a/src/otel-collector/docker-compose.yaml b/src/otel-collector/docker-compose.yaml index 011f33f..bb4d921 100644 --- a/src/otel-collector/docker-compose.yaml +++ b/src/otel-collector/docker-compose.yaml @@ -40,7 +40,7 @@ services: cpus: ${OTEL_COLLECTOR_CPU_LIMIT:-1.0} memory: ${OTEL_COLLECTOR_MEMORY_LIMIT:-2G} reservations: - cpus: ${OTEL_COLLECTOR_CPU_RESERVATION:-0.25} + cpus: ${OTEL_COLLECTOR_CPU_RESERVATION:-0.1} memory: ${OTEL_COLLECTOR_MEMORY_RESERVATION:-512M} healthcheck: test: diff --git a/src/overleaf/.env.example b/src/overleaf/.env.example index 26941f0..7ea5cfc 100644 --- a/src/overleaf/.env.example +++ b/src/overleaf/.env.example @@ -44,8 +44,8 @@ TZ=UTC # ==================== Resource Limits (Overleaf) ==================== # Overleaf CPU limits -# OVERLEAF_CPU_LIMIT=2.00 -# OVERLEAF_CPU_RESERVATION=0.50 +# OVERLEAF_CPU_LIMIT=2.0 +# OVERLEAF_CPU_RESERVATION=0.1 # Overleaf Memory limits # OVERLEAF_MEMORY_LIMIT=2G @@ -54,8 +54,8 @@ TZ=UTC # ==================== Resource Limits (MongoDB) ==================== # MongoDB CPU limits -# MONGO_CPU_LIMIT=1.00 -# MONGO_CPU_RESERVATION=0.25 +# MONGO_CPU_LIMIT=1.0 +# MONGO_CPU_RESERVATION=0.1 # MongoDB Memory limits # MONGO_MEMORY_LIMIT=1G @@ -64,9 +64,9 @@ TZ=UTC # ==================== Resource Limits (Redis) ==================== # Redis CPU limits -# REDIS_CPU_LIMIT=0.50 -# REDIS_CPU_RESERVATION=0.25 +# REDIS_CPU_LIMIT=0.5 +# REDIS_CPU_RESERVATION=0.1 # Redis Memory limits # REDIS_MEMORY_LIMIT=512M -# REDIS_MEMORY_RESERVATION=256M +# REDIS_MEMORY_RESERVATION=256M \ No newline at end of file diff --git a/src/overleaf/docker-compose.yaml b/src/overleaf/docker-compose.yaml index 4ab5bd0..f037b81 100644 --- a/src/overleaf/docker-compose.yaml +++ b/src/overleaf/docker-compose.yaml @@ -29,10 +29,10 @@ services: deploy: resources: limits: - cpus: ${MONGO_CPU_LIMIT:-1.00} + cpus: ${MONGO_CPU_LIMIT:-1.0} memory: ${MONGO_MEMORY_LIMIT:-1G} reservations: - cpus: ${MONGO_CPU_RESERVATION:-0.25} + cpus: ${MONGO_CPU_RESERVATION:-0.1} memory: ${MONGO_MEMORY_RESERVATION:-512M} # Redis for session and cache storage @@ -54,10 +54,10 @@ services: deploy: resources: limits: - cpus: ${REDIS_CPU_LIMIT:-0.50} + cpus: ${REDIS_CPU_LIMIT:-0.5} memory: ${REDIS_MEMORY_LIMIT:-512M} reservations: - cpus: ${REDIS_CPU_RESERVATION:-0.25} + cpus: ${REDIS_CPU_RESERVATION:-0.1} memory: ${REDIS_MEMORY_RESERVATION:-256M} # Overleaf main application @@ -94,10 +94,10 @@ services: deploy: resources: limits: - cpus: ${OVERLEAF_CPU_LIMIT:-2.00} + cpus: ${OVERLEAF_CPU_LIMIT:-2.0} memory: ${OVERLEAF_MEMORY_LIMIT:-2G} reservations: - cpus: ${OVERLEAF_CPU_RESERVATION:-0.50} + cpus: ${OVERLEAF_CPU_RESERVATION:-0.1} memory: ${OVERLEAF_MEMORY_RESERVATION:-1G} volumes: diff --git a/src/phoenix/.env.example b/src/phoenix/.env.example index 2322cee..6162c63 100644 --- a/src/phoenix/.env.example +++ b/src/phoenix/.env.example @@ -22,11 +22,11 @@ POSTGRES_DB=phoenix # Resource limits for Phoenix PHOENIX_CPU_LIMIT=2.0 PHOENIX_MEMORY_LIMIT=2G -PHOENIX_CPU_RESERVATION=0.5 +PHOENIX_CPU_RESERVATION=0.1 PHOENIX_MEMORY_RESERVATION=512M # Resource limits for PostgreSQL PHOENIX_DB_CPU_LIMIT=1.0 PHOENIX_DB_MEMORY_LIMIT=1G -PHOENIX_DB_CPU_RESERVATION=0.25 -PHOENIX_DB_MEMORY_RESERVATION=256M +PHOENIX_DB_CPU_RESERVATION=0.1 +PHOENIX_DB_MEMORY_RESERVATION=256M \ No newline at end of file diff --git a/src/phoenix/docker-compose.yaml b/src/phoenix/docker-compose.yaml index 7e9dfcf..6e17b42 100644 --- a/src/phoenix/docker-compose.yaml +++ b/src/phoenix/docker-compose.yaml @@ -37,7 +37,7 @@ x-phoenix-common: &phoenix-common cpus: ${PHOENIX_CPU_LIMIT:-2.0} memory: ${PHOENIX_MEMORY_LIMIT:-2G} reservations: - cpus: ${PHOENIX_CPU_RESERVATION:-0.5} + cpus: ${PHOENIX_CPU_RESERVATION:-0.1} memory: ${PHOENIX_MEMORY_RESERVATION:-512M} services: @@ -93,7 +93,7 @@ services: cpus: ${PHOENIX_DB_CPU_LIMIT:-1.0} memory: ${PHOENIX_DB_MEMORY_LIMIT:-1G} reservations: - cpus: ${PHOENIX_DB_CPU_RESERVATION:-0.25} + cpus: ${PHOENIX_DB_CPU_RESERVATION:-0.1} memory: ${PHOENIX_DB_MEMORY_RESERVATION:-256M} volumes: diff --git a/src/pingap/.env.example b/src/pingap/.env.example index 7b0a40e..c50376b 100644 --- a/src/pingap/.env.example +++ b/src/pingap/.env.example @@ -30,5 +30,5 @@ PINGAP_ADMIN_PASSWORD=password # Resource Limits PINGAP_CPU_LIMIT=1.0 PINGAP_MEMORY_LIMIT=512M -PINGAP_CPU_RESERVATION=0.5 -PINGAP_MEMORY_RESERVATION=256M +PINGAP_CPU_RESERVATION=0.1 +PINGAP_MEMORY_RESERVATION=256M \ No newline at end of file diff --git a/src/pingap/docker-compose.yaml b/src/pingap/docker-compose.yaml index 19362e8..f290996 100644 --- a/src/pingap/docker-compose.yaml +++ b/src/pingap/docker-compose.yaml @@ -28,7 +28,7 @@ services: - pingap - --autoreload healthcheck: - test: ["CMD-SHELL", "bash -c 'echo >/dev/tcp/localhost/80' || exit 1"] + test: [CMD-SHELL, "bash -c 'echo >/dev/tcp/localhost/80' || exit 1"] interval: 30s timeout: 10s retries: 3 @@ -39,7 +39,7 @@ services: cpus: ${PINGAP_CPU_LIMIT:-1.0} memory: ${PINGAP_MEMORY_LIMIT:-512M} reservations: - cpus: ${PINGAP_CPU_RESERVATION:-0.5} + cpus: ${PINGAP_CPU_RESERVATION:-0.1} memory: ${PINGAP_MEMORY_RESERVATION:-256M} volumes: diff --git a/src/pingora-proxy-manager/.env.example b/src/pingora-proxy-manager/.env.example index ccbff28..ace5e78 100644 --- a/src/pingora-proxy-manager/.env.example +++ b/src/pingora-proxy-manager/.env.example @@ -24,10 +24,10 @@ PINGORA_DASHBOARD_PORT_OVERRIDE=81 PINGORA_HTTPS_PORT_OVERRIDE=443 # Resource limits -PINGORA_CPU_LIMIT=2.00 +PINGORA_CPU_LIMIT=2.0 PINGORA_MEMORY_LIMIT=512M -PINGORA_CPU_RESERVATION=0.50 +PINGORA_CPU_RESERVATION=0.1 PINGORA_MEMORY_RESERVATION=256M # Optional: Global registry prefix (e.g., registry.example.com/) -# GLOBAL_REGISTRY= +# GLOBAL_REGISTRY= \ No newline at end of file diff --git a/src/pingora-proxy-manager/docker-compose.yaml b/src/pingora-proxy-manager/docker-compose.yaml index c64b9e6..1823477 100644 --- a/src/pingora-proxy-manager/docker-compose.yaml +++ b/src/pingora-proxy-manager/docker-compose.yaml @@ -34,10 +34,10 @@ services: deploy: resources: limits: - cpus: '${PINGORA_CPU_LIMIT:-2.00}' + cpus: '${PINGORA_CPU_LIMIT:-2.0}' memory: '${PINGORA_MEMORY_LIMIT:-512M}' reservations: - cpus: '${PINGORA_CPU_RESERVATION:-0.50}' + cpus: '${PINGORA_CPU_RESERVATION:-0.1}' memory: '${PINGORA_MEMORY_RESERVATION:-256M}' # Security hardening cap_drop: diff --git a/src/pocketbase/docker-compose.yaml b/src/pocketbase/docker-compose.yaml index 0a7a5cd..cafb072 100644 --- a/src/pocketbase/docker-compose.yaml +++ b/src/pocketbase/docker-compose.yaml @@ -35,7 +35,7 @@ services: deploy: resources: limits: - cpus: ${POCKETBASE_CPU_LIMIT:-0.25} + cpus: ${POCKETBASE_CPU_LIMIT:-0.3} memory: ${POCKETBASE_MEMORY_LIMIT:-256M} reservations: cpus: ${POCKETBASE_CPU_RESERVATION:-0.1} diff --git a/src/podman/.env.example b/src/podman/.env.example index 4f0fd95..c8c0798 100644 --- a/src/podman/.env.example +++ b/src/podman/.env.example @@ -13,5 +13,5 @@ TZ=UTC # Resource Limits # PODMAN_CPU_LIMIT=2.0 # PODMAN_MEMORY_LIMIT=4G -# PODMAN_CPU_RESERVATION=1.0 -# PODMAN_MEMORY_RESERVATION=2G +# PODMAN_CPU_RESERVATION=0.1 +# PODMAN_MEMORY_RESERVATION=2G \ No newline at end of file diff --git a/src/podman/docker-compose.yaml b/src/podman/docker-compose.yaml index 8b93aca..40a0d7e 100644 --- a/src/podman/docker-compose.yaml +++ b/src/podman/docker-compose.yaml @@ -37,7 +37,7 @@ services: cpus: ${PODMAN_CPU_LIMIT:-2.0} memory: ${PODMAN_MEMORY_LIMIT:-4G} reservations: - cpus: ${PODMAN_CPU_RESERVATION:-1.0} + cpus: ${PODMAN_CPU_RESERVATION:-0.1} memory: ${PODMAN_MEMORY_RESERVATION:-2G} volumes: diff --git a/src/pogocache/.env.example b/src/pogocache/.env.example index 9d122c6..f30793d 100644 --- a/src/pogocache/.env.example +++ b/src/pogocache/.env.example @@ -5,11 +5,11 @@ POGOCACHE_VERSION=1.3.1 POGOCACHE_PORT_OVERRIDE=9401 # Resource limits -POGOCACHE_CPU_LIMIT=0.50 +POGOCACHE_CPU_LIMIT=0.5 POGOCACHE_MEMORY_LIMIT=512M -POGOCACHE_CPU_RESERVATION=0.10 +POGOCACHE_CPU_RESERVATION=0.1 POGOCACHE_MEMORY_RESERVATION=128M # Extra arguments for pogocache # Example: --auth mypassword --threads 4 -POGOCACHE_EXTRA_ARGS= +POGOCACHE_EXTRA_ARGS= \ No newline at end of file diff --git a/src/pogocache/docker-compose.yaml b/src/pogocache/docker-compose.yaml index 0829955..d46b450 100644 --- a/src/pogocache/docker-compose.yaml +++ b/src/pogocache/docker-compose.yaml @@ -32,10 +32,10 @@ services: deploy: resources: limits: - cpus: ${POGOCACHE_CPU_LIMIT:-0.50} + cpus: ${POGOCACHE_CPU_LIMIT:-0.5} memory: ${POGOCACHE_MEMORY_LIMIT:-512M} reservations: - cpus: ${POGOCACHE_CPU_RESERVATION:-0.10} + cpus: ${POGOCACHE_CPU_RESERVATION:-0.1} memory: ${POGOCACHE_MEMORY_RESERVATION:-128M} volumes: diff --git a/src/portainer/docker-compose.yaml b/src/portainer/docker-compose.yaml index 0c4ec07..3623f45 100644 --- a/src/portainer/docker-compose.yaml +++ b/src/portainer/docker-compose.yaml @@ -29,10 +29,10 @@ services: deploy: resources: limits: - cpus: ${PORTAINER_CPU_LIMIT:-1.00} + cpus: ${PORTAINER_CPU_LIMIT:-1.0} memory: ${PORTAINER_MEMORY_LIMIT:-512M} reservations: - cpus: ${PORTAINER_CPU_RESERVATION:-0.25} + cpus: ${PORTAINER_CPU_RESERVATION:-0.1} memory: ${PORTAINER_MEMORY_RESERVATION:-128M} volumes: diff --git a/src/portkey-gateway/docker-compose.yaml b/src/portkey-gateway/docker-compose.yaml index 14a7eb3..7b192df 100644 --- a/src/portkey-gateway/docker-compose.yaml +++ b/src/portkey-gateway/docker-compose.yaml @@ -23,8 +23,8 @@ services: deploy: resources: limits: - cpus: ${PORTKEY_GATEWAY_CPU_LIMIT:-1.00} + cpus: ${PORTKEY_GATEWAY_CPU_LIMIT:-1.0} memory: ${PORTKEY_GATEWAY_MEMORY_LIMIT:-512M} reservations: - cpus: ${PORTKEY_GATEWAY_CPU_RESERVATION:-0.25} + cpus: ${PORTKEY_GATEWAY_CPU_RESERVATION:-0.1} memory: ${PORTKEY_GATEWAY_MEMORY_RESERVATION:-128M} diff --git a/src/postgres/docker-compose.yaml b/src/postgres/docker-compose.yaml index 8a4694b..5e2e896 100644 --- a/src/postgres/docker-compose.yaml +++ b/src/postgres/docker-compose.yaml @@ -28,7 +28,7 @@ services: cpus: ${POSTGRES_CPU_LIMIT:-2.0} memory: ${POSTGRES_MEMORY_LIMIT:-2G} reservations: - cpus: ${POSTGRES_CPU_RESERVATION:-0.5} + cpus: ${POSTGRES_CPU_RESERVATION:-0.1} memory: ${POSTGRES_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD-SHELL, pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB] diff --git a/src/prometheus/docker-compose.yaml b/src/prometheus/docker-compose.yaml index cce3f09..43cafe6 100644 --- a/src/prometheus/docker-compose.yaml +++ b/src/prometheus/docker-compose.yaml @@ -39,7 +39,7 @@ services: cpus: ${PROMETHEUS_CPU_LIMIT:-1.0} memory: ${PROMETHEUS_MEMORY_LIMIT:-2G} reservations: - cpus: ${PROMETHEUS_CPU_RESERVATION:-0.25} + cpus: ${PROMETHEUS_CPU_RESERVATION:-0.1} memory: ${PROMETHEUS_MEMORY_RESERVATION:-512M} healthcheck: test: diff --git a/src/pulsar/.env.example b/src/pulsar/.env.example index 55a8c7a..0560ef0 100644 --- a/src/pulsar/.env.example +++ b/src/pulsar/.env.example @@ -26,8 +26,8 @@ TZ=UTC # ==================== Resource Limits (Standalone) ==================== # CPU limits -# PULSAR_CPU_LIMIT=2.00 -# PULSAR_CPU_RESERVATION=0.50 +# PULSAR_CPU_LIMIT=2.0 +# PULSAR_CPU_RESERVATION=0.1 # Memory limits # PULSAR_MEMORY_LIMIT=2G @@ -50,19 +50,19 @@ TZ=UTC # ==================== Resource Limits (Cluster Mode) ==================== # ZooKeeper resources -# ZOOKEEPER_CPU_LIMIT=1.00 -# ZOOKEEPER_CPU_RESERVATION=0.25 +# ZOOKEEPER_CPU_LIMIT=1.0 +# ZOOKEEPER_CPU_RESERVATION=0.1 # ZOOKEEPER_MEMORY_LIMIT=512M # ZOOKEEPER_MEMORY_RESERVATION=256M # BookKeeper resources -# BOOKIE_CPU_LIMIT=1.00 -# BOOKIE_CPU_RESERVATION=0.25 +# BOOKIE_CPU_LIMIT=1.0 +# BOOKIE_CPU_RESERVATION=0.1 # BOOKIE_MEMORY_LIMIT=1G # BOOKIE_MEMORY_RESERVATION=512M # Broker resources -# BROKER_CPU_LIMIT=2.00 -# BROKER_CPU_RESERVATION=0.50 +# BROKER_CPU_LIMIT=2.0 +# BROKER_CPU_RESERVATION=0.1 # BROKER_MEMORY_LIMIT=2G -# BROKER_MEMORY_RESERVATION=512M +# BROKER_MEMORY_RESERVATION=512M \ No newline at end of file diff --git a/src/pulsar/docker-compose.yaml b/src/pulsar/docker-compose.yaml index a6d8c85..8cee90c 100644 --- a/src/pulsar/docker-compose.yaml +++ b/src/pulsar/docker-compose.yaml @@ -31,10 +31,10 @@ services: deploy: resources: limits: - cpus: ${PULSAR_CPU_LIMIT:-2.00} + cpus: ${PULSAR_CPU_LIMIT:-2.0} memory: ${PULSAR_MEMORY_LIMIT:-2G} reservations: - cpus: ${PULSAR_CPU_RESERVATION:-0.50} + cpus: ${PULSAR_CPU_RESERVATION:-0.1} memory: ${PULSAR_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD-SHELL, 'bin/pulsar-admin brokers healthcheck || exit 1'] @@ -64,10 +64,10 @@ services: deploy: resources: limits: - cpus: ${ZOOKEEPER_CPU_LIMIT:-1.00} + cpus: ${ZOOKEEPER_CPU_LIMIT:-1.0} memory: ${ZOOKEEPER_MEMORY_LIMIT:-512M} reservations: - cpus: ${ZOOKEEPER_CPU_RESERVATION:-0.25} + cpus: ${ZOOKEEPER_CPU_RESERVATION:-0.1} memory: ${ZOOKEEPER_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD, bin/pulsar-zookeeper-ruok.sh] @@ -118,10 +118,10 @@ services: deploy: resources: limits: - cpus: ${BOOKIE_CPU_LIMIT:-1.00} + cpus: ${BOOKIE_CPU_LIMIT:-1.0} memory: ${BOOKIE_MEMORY_LIMIT:-1G} reservations: - cpus: ${BOOKIE_CPU_RESERVATION:-0.25} + cpus: ${BOOKIE_CPU_RESERVATION:-0.1} memory: ${BOOKIE_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD, bin/bookkeeper, shell, bookiesanity] @@ -159,10 +159,10 @@ services: deploy: resources: limits: - cpus: ${BROKER_CPU_LIMIT:-2.00} + cpus: ${BROKER_CPU_LIMIT:-2.0} memory: ${BROKER_MEMORY_LIMIT:-2G} reservations: - cpus: ${BROKER_CPU_RESERVATION:-0.50} + cpus: ${BROKER_CPU_RESERVATION:-0.1} memory: ${BROKER_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD, bin/pulsar-admin, brokers, healthcheck] diff --git a/src/pytorch/docker-compose.yaml b/src/pytorch/docker-compose.yaml index 8a199cb..9aaaa42 100644 --- a/src/pytorch/docker-compose.yaml +++ b/src/pytorch/docker-compose.yaml @@ -32,7 +32,7 @@ services: cpus: ${PYTORCH_CPU_LIMIT:-4.0} memory: ${PYTORCH_MEMORY_LIMIT:-16G} reservations: - cpus: ${PYTORCH_CPU_RESERVATION:-2.0} + cpus: ${PYTORCH_CPU_RESERVATION:-0.1} memory: ${PYTORCH_MEMORY_RESERVATION:-8G} devices: - driver: nvidia diff --git a/src/qdrant/docker-compose.yaml b/src/qdrant/docker-compose.yaml index e19abd6..d87e517 100644 --- a/src/qdrant/docker-compose.yaml +++ b/src/qdrant/docker-compose.yaml @@ -25,7 +25,7 @@ services: cpus: ${QDRANT_CPU_LIMIT:-1.0} memory: ${QDRANT_MEMORY_LIMIT:-1G} reservations: - cpus: ${QDRANT_CPU_RESERVATION:-0.5} + cpus: ${QDRANT_CPU_RESERVATION:-0.1} memory: ${QDRANT_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:6333/'] diff --git a/src/rabbitmq/docker-compose.yaml b/src/rabbitmq/docker-compose.yaml index 69dcf5a..7ab69ba 100644 --- a/src/rabbitmq/docker-compose.yaml +++ b/src/rabbitmq/docker-compose.yaml @@ -25,7 +25,7 @@ services: cpus: ${RABBITMQ_CPU_LIMIT:-1.0} memory: ${RABBITMQ_MEMORY_LIMIT:-1G} reservations: - cpus: ${RABBITMQ_CPU_RESERVATION:-0.5} + cpus: ${RABBITMQ_CPU_RESERVATION:-0.1} memory: ${RABBITMQ_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD, rabbitmq-diagnostics, -q, ping] diff --git a/src/ray/.env.example b/src/ray/.env.example index e7a4e5d..dc99d2b 100644 --- a/src/ray/.env.example +++ b/src/ray/.env.example @@ -2,14 +2,14 @@ RAY_VERSION="2.42.1-py312" # Ray head node configuration -RAY_HEAD_NUM_CPUS=4 +RAY_HEAD_NUM_CPUS=4.0 RAY_HEAD_MEMORY=8589934592 # 8GB in bytes # Ray worker node configuration -RAY_WORKER_NUM_CPUS=2 +RAY_WORKER_NUM_CPUS=2.0 RAY_WORKER_MEMORY=4294967296 # 4GB in bytes # Port overrides RAY_DASHBOARD_PORT_OVERRIDE=8265 RAY_CLIENT_PORT_OVERRIDE=10001 -RAY_GCS_PORT_OVERRIDE=6379 +RAY_GCS_PORT_OVERRIDE=6379 \ No newline at end of file diff --git a/src/ray/docker-compose.yaml b/src/ray/docker-compose.yaml index 598d10a..2b777fd 100644 --- a/src/ray/docker-compose.yaml +++ b/src/ray/docker-compose.yaml @@ -17,7 +17,7 @@ services: - '${RAY_GCS_PORT_OVERRIDE:-6379}:6379' environment: TZ: ${TZ:-UTC} - RAY_NUM_CPUS: ${RAY_HEAD_NUM_CPUS:-4} + RAY_NUM_CPUS: ${RAY_HEAD_NUM_CPUS:-4.0} RAY_MEMORY: ${RAY_HEAD_MEMORY:-8589934592} volumes: - ray_storage:/tmp/ray @@ -27,7 +27,7 @@ services: cpus: ${RAY_HEAD_CPU_LIMIT:-4.0} memory: ${RAY_HEAD_MEMORY_LIMIT:-8G} reservations: - cpus: ${RAY_HEAD_CPU_RESERVATION:-2.0} + cpus: ${RAY_HEAD_CPU_RESERVATION:-0.1} memory: ${RAY_HEAD_MEMORY_RESERVATION:-4G} healthcheck: test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:8265/'] @@ -45,7 +45,7 @@ services: condition: service_healthy environment: TZ: ${TZ:-UTC} - RAY_NUM_CPUS: ${RAY_WORKER_NUM_CPUS:-2} + RAY_NUM_CPUS: ${RAY_WORKER_NUM_CPUS:-2.0} RAY_MEMORY: ${RAY_WORKER_MEMORY:-4294967296} deploy: resources: @@ -53,7 +53,7 @@ services: cpus: ${RAY_WORKER_1_CPU_LIMIT:-2.0} memory: ${RAY_WORKER_1_MEMORY_LIMIT:-4G} reservations: - cpus: ${RAY_WORKER_1_CPU_RESERVATION:-1.0} + cpus: ${RAY_WORKER_1_CPU_RESERVATION:-0.1} memory: ${RAY_WORKER_1_MEMORY_RESERVATION:-2G} ray-worker-2: @@ -65,7 +65,7 @@ services: condition: service_healthy environment: TZ: ${TZ:-UTC} - RAY_NUM_CPUS: ${RAY_WORKER_NUM_CPUS:-2} + RAY_NUM_CPUS: ${RAY_WORKER_NUM_CPUS:-2.0} RAY_MEMORY: ${RAY_WORKER_MEMORY:-4294967296} deploy: resources: @@ -73,7 +73,7 @@ services: cpus: ${RAY_WORKER_2_CPU_LIMIT:-2.0} memory: ${RAY_WORKER_2_MEMORY_LIMIT:-4G} reservations: - cpus: ${RAY_WORKER_2_CPU_RESERVATION:-1.0} + cpus: ${RAY_WORKER_2_CPU_RESERVATION:-0.1} memory: ${RAY_WORKER_2_MEMORY_RESERVATION:-2G} volumes: diff --git a/src/redis-cluster/docker-compose.yaml b/src/redis-cluster/docker-compose.yaml index 59b127b..f8a4db3 100644 --- a/src/redis-cluster/docker-compose.yaml +++ b/src/redis-cluster/docker-compose.yaml @@ -52,7 +52,7 @@ services: cpus: ${REDIS_CLUSTER_1_CPU_LIMIT:-0.5} memory: ${REDIS_CLUSTER_1_MEMORY_LIMIT:-512M} reservations: - cpus: ${REDIS_CLUSTER_1_CPU_RESERVATION:-0.25} + cpus: ${REDIS_CLUSTER_1_CPU_RESERVATION:-0.1} memory: ${REDIS_CLUSTER_1_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD, redis-cli, ping] @@ -77,7 +77,7 @@ services: cpus: ${REDIS_CLUSTER_2_CPU_LIMIT:-0.5} memory: ${REDIS_CLUSTER_2_MEMORY_LIMIT:-512M} reservations: - cpus: ${REDIS_CLUSTER_2_CPU_RESERVATION:-0.25} + cpus: ${REDIS_CLUSTER_2_CPU_RESERVATION:-0.1} memory: ${REDIS_CLUSTER_2_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD, redis-cli, ping] @@ -102,7 +102,7 @@ services: cpus: ${REDIS_CLUSTER_3_CPU_LIMIT:-0.5} memory: ${REDIS_CLUSTER_3_MEMORY_LIMIT:-512M} reservations: - cpus: ${REDIS_CLUSTER_3_CPU_RESERVATION:-0.25} + cpus: ${REDIS_CLUSTER_3_CPU_RESERVATION:-0.1} memory: ${REDIS_CLUSTER_3_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD, redis-cli, ping] @@ -127,7 +127,7 @@ services: cpus: ${REDIS_CLUSTER_4_CPU_LIMIT:-0.5} memory: ${REDIS_CLUSTER_4_MEMORY_LIMIT:-512M} reservations: - cpus: ${REDIS_CLUSTER_4_CPU_RESERVATION:-0.25} + cpus: ${REDIS_CLUSTER_4_CPU_RESERVATION:-0.1} memory: ${REDIS_CLUSTER_4_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD, redis-cli, ping] @@ -152,7 +152,7 @@ services: cpus: ${REDIS_CLUSTER_5_CPU_LIMIT:-0.5} memory: ${REDIS_CLUSTER_5_MEMORY_LIMIT:-512M} reservations: - cpus: ${REDIS_CLUSTER_5_CPU_RESERVATION:-0.25} + cpus: ${REDIS_CLUSTER_5_CPU_RESERVATION:-0.1} memory: ${REDIS_CLUSTER_5_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD, redis-cli, ping] @@ -177,7 +177,7 @@ services: cpus: ${REDIS_CLUSTER_6_CPU_LIMIT:-0.5} memory: ${REDIS_CLUSTER_6_MEMORY_LIMIT:-512M} reservations: - cpus: ${REDIS_CLUSTER_6_CPU_RESERVATION:-0.25} + cpus: ${REDIS_CLUSTER_6_CPU_RESERVATION:-0.1} memory: ${REDIS_CLUSTER_6_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD, redis-cli, ping] diff --git a/src/redis/.env.example b/src/redis/.env.example index df46b24..ec8431a 100644 --- a/src/redis/.env.example +++ b/src/redis/.env.example @@ -17,9 +17,9 @@ TZ=UTC SKIP_FIX_PERMS= # CPU limits -REDIS_CPU_LIMIT=0.50 -REDIS_CPU_RESERVATION=0.25 +REDIS_CPU_LIMIT=0.5 +REDIS_CPU_RESERVATION=0.1 # Memory limits REDIS_MEMORY_LIMIT=256M -REDIS_MEMORY_RESERVATION=128M +REDIS_MEMORY_RESERVATION=128M \ No newline at end of file diff --git a/src/redis/docker-compose.yaml b/src/redis/docker-compose.yaml index 969246d..4502c4e 100644 --- a/src/redis/docker-compose.yaml +++ b/src/redis/docker-compose.yaml @@ -38,10 +38,10 @@ services: deploy: resources: limits: - cpus: ${REDIS_CPU_LIMIT:-0.50} + cpus: ${REDIS_CPU_LIMIT:-0.5} memory: ${REDIS_MEMORY_LIMIT:-256M} reservations: - cpus: ${REDIS_CPU_RESERVATION:-0.25} + cpus: ${REDIS_CPU_RESERVATION:-0.1} memory: ${REDIS_MEMORY_RESERVATION:-128M} volumes: diff --git a/src/redpanda/.env.example b/src/redpanda/.env.example index 032912e..55a3990 100644 --- a/src/redpanda/.env.example +++ b/src/redpanda/.env.example @@ -37,11 +37,11 @@ REDPANDA_LOG_LEVEL=info # Redpanda resource limits REDPANDA_CPU_LIMIT=2.0 REDPANDA_MEMORY_LIMIT=2G -REDPANDA_CPU_RESERVATION=1.0 +REDPANDA_CPU_RESERVATION=0.1 REDPANDA_MEMORY_RESERVATION=1G # Redpanda Console resource limits REDPANDA_CONSOLE_CPU_LIMIT=0.5 REDPANDA_CONSOLE_MEMORY_LIMIT=512M -REDPANDA_CONSOLE_CPU_RESERVATION=0.25 -REDPANDA_CONSOLE_MEMORY_RESERVATION=256M +REDPANDA_CONSOLE_CPU_RESERVATION=0.1 +REDPANDA_CONSOLE_MEMORY_RESERVATION=256M \ No newline at end of file diff --git a/src/redpanda/docker-compose.yaml b/src/redpanda/docker-compose.yaml index 6edbe3e..ebf307c 100644 --- a/src/redpanda/docker-compose.yaml +++ b/src/redpanda/docker-compose.yaml @@ -50,7 +50,7 @@ services: cpus: ${REDPANDA_CPU_LIMIT:-2.0} memory: ${REDPANDA_MEMORY_LIMIT:-2G} reservations: - cpus: ${REDPANDA_CPU_RESERVATION:-1.0} + cpus: ${REDPANDA_CPU_RESERVATION:-0.1} memory: ${REDPANDA_MEMORY_RESERVATION:-1G} console: @@ -83,7 +83,7 @@ services: cpus: ${REDPANDA_CONSOLE_CPU_LIMIT:-0.5} memory: ${REDPANDA_CONSOLE_MEMORY_LIMIT:-512M} reservations: - cpus: ${REDPANDA_CONSOLE_CPU_RESERVATION:-0.25} + cpus: ${REDPANDA_CONSOLE_CPU_RESERVATION:-0.1} memory: ${REDPANDA_CONSOLE_MEMORY_RESERVATION:-256M} volumes: diff --git a/src/renovate/.env.example b/src/renovate/.env.example index b8e402a..ed12b22 100644 --- a/src/renovate/.env.example +++ b/src/renovate/.env.example @@ -89,7 +89,7 @@ RENOVATE_CONFIG_FILE=/usr/src/app/config.js # CPU limits RENOVATE_CPU_LIMIT=2.0 -RENOVATE_CPU_RESERVATION=0.5 +RENOVATE_CPU_RESERVATION=0.1 # Memory limits RENOVATE_MEMORY_LIMIT=2G @@ -99,4 +99,4 @@ RENOVATE_MEMORY_RESERVATION=512M # User and group ID for file permissions PUID=1000 -PGID=1000 +PGID=1000 \ No newline at end of file diff --git a/src/renovate/docker-compose.yaml b/src/renovate/docker-compose.yaml index 4643298..381a5cc 100644 --- a/src/renovate/docker-compose.yaml +++ b/src/renovate/docker-compose.yaml @@ -83,7 +83,7 @@ services: cpus: ${RENOVATE_CPU_LIMIT:-2.0} memory: ${RENOVATE_MEMORY_LIMIT:-2G} reservations: - cpus: ${RENOVATE_CPU_RESERVATION:-0.5} + cpus: ${RENOVATE_CPU_RESERVATION:-0.1} memory: ${RENOVATE_MEMORY_RESERVATION:-512M} # Security options diff --git a/src/restate-cluster/docker-compose.yaml b/src/restate-cluster/docker-compose.yaml index 8fa2128..68a5281 100644 --- a/src/restate-cluster/docker-compose.yaml +++ b/src/restate-cluster/docker-compose.yaml @@ -35,10 +35,10 @@ x-restate: &restate-defaults deploy: resources: limits: - cpus: ${RESTATE_CLUSTER_CPU_LIMIT:-2.00} + cpus: ${RESTATE_CLUSTER_CPU_LIMIT:-2.0} memory: ${RESTATE_CLUSTER_MEMORY_LIMIT:-2G} reservations: - cpus: ${RESTATE_CLUSTER_CPU_RESERVATION:-0.50} + cpus: ${RESTATE_CLUSTER_CPU_RESERVATION:-0.1} memory: ${RESTATE_CLUSTER_MEMORY_RESERVATION:-512M} services: @@ -133,10 +133,10 @@ services: deploy: resources: limits: - cpus: ${RESTATE_CLUSTER_MINIO_CPU_LIMIT:-1.00} + cpus: ${RESTATE_CLUSTER_MINIO_CPU_LIMIT:-1.0} memory: ${RESTATE_CLUSTER_MINIO_MEMORY_LIMIT:-512M} reservations: - cpus: ${RESTATE_CLUSTER_MINIO_CPU_RESERVATION:-0.25} + cpus: ${RESTATE_CLUSTER_MINIO_CPU_RESERVATION:-0.1} memory: ${RESTATE_CLUSTER_MINIO_MEMORY_RESERVATION:-128M} volumes: diff --git a/src/restate/docker-compose.yaml b/src/restate/docker-compose.yaml index ba53950..51f12e8 100644 --- a/src/restate/docker-compose.yaml +++ b/src/restate/docker-compose.yaml @@ -29,10 +29,10 @@ services: deploy: resources: limits: - cpus: ${RESTATE_CPU_LIMIT:-2.00} + cpus: ${RESTATE_CPU_LIMIT:-2.0} memory: ${RESTATE_MEMORY_LIMIT:-2G} reservations: - cpus: ${RESTATE_CPU_RESERVATION:-0.50} + cpus: ${RESTATE_CPU_RESERVATION:-0.1} memory: ${RESTATE_MEMORY_RESERVATION:-512M} volumes: diff --git a/src/rocketmq/docker-compose.yaml b/src/rocketmq/docker-compose.yaml index 36a2e2c..f09d515 100644 --- a/src/rocketmq/docker-compose.yaml +++ b/src/rocketmq/docker-compose.yaml @@ -24,7 +24,7 @@ services: cpus: ${ROCKETMQ_NAMESRV_CPU_LIMIT:-1.0} memory: ${ROCKETMQ_NAMESRV_MEMORY_LIMIT:-1G} reservations: - cpus: ${ROCKETMQ_NAMESRV_CPU_RESERVATION:-0.25} + cpus: ${ROCKETMQ_NAMESRV_CPU_RESERVATION:-0.1} memory: ${ROCKETMQ_NAMESRV_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD-SHELL, 'mqadmin clusterList -n localhost:9876 || exit 1'] @@ -57,7 +57,7 @@ services: cpus: ${ROCKETMQ_BROKER_CPU_LIMIT:-2.0} memory: ${ROCKETMQ_BROKER_MEMORY_LIMIT:-2G} reservations: - cpus: ${ROCKETMQ_BROKER_CPU_RESERVATION:-0.5} + cpus: ${ROCKETMQ_BROKER_CPU_RESERVATION:-0.1} memory: ${ROCKETMQ_BROKER_MEMORY_RESERVATION:-1G} healthcheck: test: [CMD-SHELL, 'mqadmin clusterList -n namesrv:9876 | grep -q broker || exit 1'] @@ -83,7 +83,7 @@ services: cpus: ${ROCKETMQ_DASHBOARD_CPU_LIMIT:-1.0} memory: ${ROCKETMQ_DASHBOARD_MEMORY_LIMIT:-512M} reservations: - cpus: ${ROCKETMQ_DASHBOARD_CPU_RESERVATION:-0.25} + cpus: ${ROCKETMQ_DASHBOARD_CPU_RESERVATION:-0.1} memory: ${ROCKETMQ_DASHBOARD_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD-SHELL, 'wget --no-verbose --tries=1 --spider http://localhost:8080 || exit 1'] diff --git a/src/searxng/docker-compose.yaml b/src/searxng/docker-compose.yaml index f1c823c..4e8638b 100644 --- a/src/searxng/docker-compose.yaml +++ b/src/searxng/docker-compose.yaml @@ -33,10 +33,10 @@ services: deploy: resources: limits: - cpus: ${SEARXNG_CADDY_CPU_LIMIT:-0.50} + cpus: ${SEARXNG_CADDY_CPU_LIMIT:-0.5} memory: ${SEARXNG_CADDY_MEMORY_LIMIT:-256M} reservations: - cpus: ${SEARXNG_CADDY_CPU_RESERVATION:-0.10} + cpus: ${SEARXNG_CADDY_CPU_RESERVATION:-0.1} memory: ${SEARXNG_CADDY_MEMORY_RESERVATION:-64M} redis: @@ -62,10 +62,10 @@ services: deploy: resources: limits: - cpus: ${SEARXNG_REDIS_CPU_LIMIT:-0.50} + cpus: ${SEARXNG_REDIS_CPU_LIMIT:-0.5} memory: ${SEARXNG_REDIS_MEMORY_LIMIT:-256M} reservations: - cpus: ${SEARXNG_REDIS_CPU_RESERVATION:-0.10} + cpus: ${SEARXNG_REDIS_CPU_RESERVATION:-0.1} memory: ${SEARXNG_REDIS_MEMORY_RESERVATION:-64M} searxng: @@ -100,10 +100,10 @@ services: deploy: resources: limits: - cpus: ${SEARXNG_CPU_LIMIT:-1.00} + cpus: ${SEARXNG_CPU_LIMIT:-1.0} memory: ${SEARXNG_MEMORY_LIMIT:-1G} reservations: - cpus: ${SEARXNG_CPU_RESERVATION:-0.25} + cpus: ${SEARXNG_CPU_RESERVATION:-0.1} memory: ${SEARXNG_MEMORY_RESERVATION:-256M} networks: diff --git a/src/selenium/.env.example b/src/selenium/.env.example index 920d1f6..7b441fa 100644 --- a/src/selenium/.env.example +++ b/src/selenium/.env.example @@ -44,5 +44,5 @@ SE_START_XVFB=true # Resource Limits SELENIUM_CPU_LIMIT=2.0 SELENIUM_MEMORY_LIMIT=2G -SELENIUM_CPU_RESERVATION=1.0 -SELENIUM_MEMORY_RESERVATION=1G +SELENIUM_CPU_RESERVATION=0.1 +SELENIUM_MEMORY_RESERVATION=1G \ No newline at end of file diff --git a/src/selenium/docker-compose.yaml b/src/selenium/docker-compose.yaml index 3162255..f60e137 100644 --- a/src/selenium/docker-compose.yaml +++ b/src/selenium/docker-compose.yaml @@ -43,7 +43,7 @@ services: cpus: ${SELENIUM_CPU_LIMIT:-2.0} memory: ${SELENIUM_MEMORY_LIMIT:-2G} reservations: - cpus: ${SELENIUM_CPU_RESERVATION:-1.0} + cpus: ${SELENIUM_CPU_RESERVATION:-0.1} memory: ${SELENIUM_MEMORY_RESERVATION:-1G} volumes: diff --git a/src/signoz/.env.example b/src/signoz/.env.example index d186e8d..7ac0526 100644 --- a/src/signoz/.env.example +++ b/src/signoz/.env.example @@ -62,7 +62,7 @@ SIGNOZ_CLICKHOUSE_CPU_LIMIT=2.0 SIGNOZ_CLICKHOUSE_MEMORY_LIMIT=4G # CPU reservation for ClickHouse -SIGNOZ_CLICKHOUSE_CPU_RESERVATION=0.5 +SIGNOZ_CLICKHOUSE_CPU_RESERVATION=0.1 # Memory reservation for ClickHouse SIGNOZ_CLICKHOUSE_MEMORY_RESERVATION=1G @@ -78,7 +78,7 @@ SIGNOZ_OTEL_COLLECTOR_CPU_LIMIT=1.0 SIGNOZ_OTEL_COLLECTOR_MEMORY_LIMIT=2G # CPU reservation for OTel Collector -SIGNOZ_OTEL_COLLECTOR_CPU_RESERVATION=0.25 +SIGNOZ_OTEL_COLLECTOR_CPU_RESERVATION=0.1 # Memory reservation for OTel Collector SIGNOZ_OTEL_COLLECTOR_MEMORY_RESERVATION=512M @@ -94,7 +94,7 @@ SIGNOZ_CPU_LIMIT=1.0 SIGNOZ_MEMORY_LIMIT=2G # CPU reservation for SigNoz -SIGNOZ_CPU_RESERVATION=0.25 +SIGNOZ_CPU_RESERVATION=0.1 # Memory reservation for SigNoz SIGNOZ_MEMORY_RESERVATION=256M @@ -113,4 +113,4 @@ SIGNOZ_ZOOKEEPER_MEMORY_LIMIT=512M SIGNOZ_ZOOKEEPER_CPU_RESERVATION=0.1 # Memory reservation for ZooKeeper -SIGNOZ_ZOOKEEPER_MEMORY_RESERVATION=128M +SIGNOZ_ZOOKEEPER_MEMORY_RESERVATION=128M \ No newline at end of file diff --git a/src/signoz/docker-compose.yaml b/src/signoz/docker-compose.yaml index 58d89e4..3fb20b7 100644 --- a/src/signoz/docker-compose.yaml +++ b/src/signoz/docker-compose.yaml @@ -110,7 +110,7 @@ services: cpus: ${SIGNOZ_CLICKHOUSE_CPU_LIMIT:-2.0} memory: ${SIGNOZ_CLICKHOUSE_MEMORY_LIMIT:-4G} reservations: - cpus: ${SIGNOZ_CLICKHOUSE_CPU_RESERVATION:-0.5} + cpus: ${SIGNOZ_CLICKHOUSE_CPU_RESERVATION:-0.1} memory: ${SIGNOZ_CLICKHOUSE_MEMORY_RESERVATION:-1G} # One-shot migration: bootstraps and runs schema migrations @@ -163,7 +163,7 @@ services: cpus: ${SIGNOZ_CPU_LIMIT:-1.0} memory: ${SIGNOZ_MEMORY_LIMIT:-2G} reservations: - cpus: ${SIGNOZ_CPU_RESERVATION:-0.25} + cpus: ${SIGNOZ_CPU_RESERVATION:-0.1} memory: ${SIGNOZ_MEMORY_RESERVATION:-256M} # OTel Collector for receiving telemetry data @@ -202,7 +202,7 @@ services: cpus: ${SIGNOZ_OTEL_COLLECTOR_CPU_LIMIT:-1.0} memory: ${SIGNOZ_OTEL_COLLECTOR_MEMORY_LIMIT:-2G} reservations: - cpus: ${SIGNOZ_OTEL_COLLECTOR_CPU_RESERVATION:-0.25} + cpus: ${SIGNOZ_OTEL_COLLECTOR_CPU_RESERVATION:-0.1} memory: ${SIGNOZ_OTEL_COLLECTOR_MEMORY_RESERVATION:-512M} volumes: diff --git a/src/sub2api/.env.example b/src/sub2api/.env.example index 8e5bafd..d2e0e12 100644 --- a/src/sub2api/.env.example +++ b/src/sub2api/.env.example @@ -59,17 +59,17 @@ SUB2API_SECURITY_URL_ALLOWLIST_ALLOW_PRIVATE_HOSTS=false # Resource limits for the Sub2API application SUB2API_CPU_LIMIT=1.0 SUB2API_MEMORY_LIMIT=1024M -SUB2API_CPU_RESERVATION=0.25 +SUB2API_CPU_RESERVATION=0.1 SUB2API_MEMORY_RESERVATION=256M # Resource limits for PostgreSQL SUB2API_POSTGRES_CPU_LIMIT=1.0 SUB2API_POSTGRES_MEMORY_LIMIT=1024M -SUB2API_POSTGRES_CPU_RESERVATION=0.25 +SUB2API_POSTGRES_CPU_RESERVATION=0.1 SUB2API_POSTGRES_MEMORY_RESERVATION=256M # Resource limits for Redis -SUB2API_REDIS_CPU_LIMIT=0.50 +SUB2API_REDIS_CPU_LIMIT=0.5 SUB2API_REDIS_MEMORY_LIMIT=512M -SUB2API_REDIS_CPU_RESERVATION=0.10 -SUB2API_REDIS_MEMORY_RESERVATION=128M +SUB2API_REDIS_CPU_RESERVATION=0.1 +SUB2API_REDIS_MEMORY_RESERVATION=128M \ No newline at end of file diff --git a/src/sub2api/docker-compose.yaml b/src/sub2api/docker-compose.yaml index 3069ea7..489d0a8 100644 --- a/src/sub2api/docker-compose.yaml +++ b/src/sub2api/docker-compose.yaml @@ -72,7 +72,7 @@ services: cpus: ${SUB2API_CPU_LIMIT:-1.0} memory: ${SUB2API_MEMORY_LIMIT:-1024M} reservations: - cpus: ${SUB2API_CPU_RESERVATION:-0.25} + cpus: ${SUB2API_CPU_RESERVATION:-0.1} memory: ${SUB2API_MEMORY_RESERVATION:-256M} postgres: @@ -98,7 +98,7 @@ services: cpus: ${SUB2API_POSTGRES_CPU_LIMIT:-1.0} memory: ${SUB2API_POSTGRES_MEMORY_LIMIT:-1024M} reservations: - cpus: ${SUB2API_POSTGRES_CPU_RESERVATION:-0.25} + cpus: ${SUB2API_POSTGRES_CPU_RESERVATION:-0.1} memory: ${SUB2API_POSTGRES_MEMORY_RESERVATION:-256M} redis: @@ -121,10 +121,10 @@ services: deploy: resources: limits: - cpus: ${SUB2API_REDIS_CPU_LIMIT:-0.50} + cpus: ${SUB2API_REDIS_CPU_LIMIT:-0.5} memory: ${SUB2API_REDIS_MEMORY_LIMIT:-512M} reservations: - cpus: ${SUB2API_REDIS_CPU_RESERVATION:-0.10} + cpus: ${SUB2API_REDIS_CPU_RESERVATION:-0.1} memory: ${SUB2API_REDIS_MEMORY_RESERVATION:-128M} volumes: diff --git a/src/tempo/.env.example b/src/tempo/.env.example index 44c4b40..d944d88 100644 --- a/src/tempo/.env.example +++ b/src/tempo/.env.example @@ -21,5 +21,5 @@ TEMPO_CPU_LIMIT=1.0 TEMPO_MEMORY_LIMIT=1G # Resource Reservations -TEMPO_CPU_RESERVATION=0.25 -TEMPO_MEMORY_RESERVATION=256M +TEMPO_CPU_RESERVATION=0.1 +TEMPO_MEMORY_RESERVATION=256M \ No newline at end of file diff --git a/src/tempo/docker-compose.yaml b/src/tempo/docker-compose.yaml index d409c15..1445878 100644 --- a/src/tempo/docker-compose.yaml +++ b/src/tempo/docker-compose.yaml @@ -31,7 +31,7 @@ services: cpus: ${TEMPO_CPU_LIMIT:-1.0} memory: ${TEMPO_MEMORY_LIMIT:-1G} reservations: - cpus: ${TEMPO_CPU_RESERVATION:-0.25} + cpus: ${TEMPO_CPU_RESERVATION:-0.1} memory: ${TEMPO_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD, wget, --no-verbose, --tries=1, --spider, 'http://localhost:3200/ready'] diff --git a/src/temporal/.env.example b/src/temporal/.env.example index 8f0f959..8d76fc8 100644 --- a/src/temporal/.env.example +++ b/src/temporal/.env.example @@ -22,7 +22,7 @@ TZ=UTC # Resource Limits - Temporal Server TEMPORAL_CPU_LIMIT=2.0 -TEMPORAL_CPU_RESERVATION=0.5 +TEMPORAL_CPU_RESERVATION=0.1 TEMPORAL_MEMORY_LIMIT=2G TEMPORAL_MEMORY_RESERVATION=512M @@ -34,6 +34,6 @@ TEMPORAL_UI_MEMORY_RESERVATION=128M # Resource Limits - PostgreSQL POSTGRES_CPU_LIMIT=1.0 -POSTGRES_CPU_RESERVATION=0.25 +POSTGRES_CPU_RESERVATION=0.1 POSTGRES_MEMORY_LIMIT=1G -POSTGRES_MEMORY_RESERVATION=256M +POSTGRES_MEMORY_RESERVATION=256M \ No newline at end of file diff --git a/src/temporal/docker-compose.yaml b/src/temporal/docker-compose.yaml index 831b2e5..97cd44c 100644 --- a/src/temporal/docker-compose.yaml +++ b/src/temporal/docker-compose.yaml @@ -79,7 +79,7 @@ services: cpus: '${TEMPORAL_CPU_LIMIT:-2.0}' memory: '${TEMPORAL_MEMORY_LIMIT:-2G}' reservations: - cpus: '${TEMPORAL_CPU_RESERVATION:-0.5}' + cpus: '${TEMPORAL_CPU_RESERVATION:-0.1}' memory: '${TEMPORAL_MEMORY_RESERVATION:-512M}' temporal-ui: @@ -155,7 +155,7 @@ services: cpus: '${POSTGRES_CPU_LIMIT:-1.0}' memory: '${POSTGRES_MEMORY_LIMIT:-1G}' reservations: - cpus: '${POSTGRES_CPU_RESERVATION:-0.25}' + cpus: '${POSTGRES_CPU_RESERVATION:-0.1}' memory: '${POSTGRES_MEMORY_RESERVATION:-256M}' volumes: diff --git a/src/tidb/docker-compose.yaml b/src/tidb/docker-compose.yaml index ae579a0..1597cb1 100644 --- a/src/tidb/docker-compose.yaml +++ b/src/tidb/docker-compose.yaml @@ -29,7 +29,7 @@ services: cpus: ${TIDB_PD_CPU_LIMIT:-1.0} memory: ${TIDB_PD_MEMORY_LIMIT:-1G} reservations: - cpus: ${TIDB_PD_CPU_RESERVATION:-0.25} + cpus: ${TIDB_PD_CPU_RESERVATION:-0.1} memory: ${TIDB_PD_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD-SHELL, 'wget -q -O - http://localhost:2379/health || exit 1'] @@ -61,7 +61,7 @@ services: cpus: ${TIDB_TIKV_CPU_LIMIT:-2.0} memory: ${TIDB_TIKV_MEMORY_LIMIT:-2G} reservations: - cpus: ${TIDB_TIKV_CPU_RESERVATION:-0.5} + cpus: ${TIDB_TIKV_CPU_RESERVATION:-0.1} memory: ${TIDB_TIKV_MEMORY_RESERVATION:-1G} healthcheck: test: [CMD-SHELL, 'wget -q -O - http://localhost:20180/status || exit 1'] @@ -91,7 +91,7 @@ services: cpus: ${TIDB_CPU_LIMIT:-2.0} memory: ${TIDB_MEMORY_LIMIT:-2G} reservations: - cpus: ${TIDB_CPU_RESERVATION:-0.5} + cpus: ${TIDB_CPU_RESERVATION:-0.1} memory: ${TIDB_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD-SHELL, 'wget -q -O - http://localhost:10080/status || exit 1'] diff --git a/src/tikv/docker-compose.yaml b/src/tikv/docker-compose.yaml index 5b7f2b6..32ce2f2 100644 --- a/src/tikv/docker-compose.yaml +++ b/src/tikv/docker-compose.yaml @@ -30,7 +30,7 @@ services: cpus: ${TIKV_PD_CPU_LIMIT:-1.0} memory: ${TIKV_PD_MEMORY_LIMIT:-1G} reservations: - cpus: ${TIKV_PD_CPU_RESERVATION:-0.25} + cpus: ${TIKV_PD_CPU_RESERVATION:-0.1} memory: ${TIKV_PD_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD-SHELL, 'wget -q -O - http://localhost:2379/health || exit 1'] @@ -66,7 +66,7 @@ services: cpus: ${TIKV_CPU_LIMIT:-2.0} memory: ${TIKV_MEMORY_LIMIT:-4G} reservations: - cpus: ${TIKV_CPU_RESERVATION:-0.5} + cpus: ${TIKV_CPU_RESERVATION:-0.1} memory: ${TIKV_MEMORY_RESERVATION:-2G} healthcheck: test: [CMD-SHELL, 'wget -q -O - http://localhost:20180/status || exit 1'] diff --git a/src/trailbase/.env.example b/src/trailbase/.env.example index b09f635..6a38b5d 100644 --- a/src/trailbase/.env.example +++ b/src/trailbase/.env.example @@ -1,23 +1,23 @@ -# TrailBase configuration - -# Pin to the latest stable image tag -TRAILBASE_VERSION=0.22.4 - -# Host port mapping (maps to container port 4000) -TRAILBASE_PORT_OVERRIDE=4000 - -# Enable detailed stack traces for debugging (set to 0 in production) -TRAILBASE_RUST_BACKTRACE=1 - -# Logging configuration for the json-file driver -TRAILBASE_LOG_MAX_SIZE=100m -TRAILBASE_LOG_MAX_FILE=3 - -# Timezone -TZ=UTC - -# Resource limits -TRAILBASE_CPU_LIMIT=1.0 -TRAILBASE_MEMORY_LIMIT=1G -TRAILBASE_CPU_RESERVATION=0.25 -TRAILBASE_MEMORY_RESERVATION=256M +# TrailBase configuration + +# Pin to the latest stable image tag +TRAILBASE_VERSION=0.22.4 + +# Host port mapping (maps to container port 4000) +TRAILBASE_PORT_OVERRIDE=4000 + +# Enable detailed stack traces for debugging (set to 0 in production) +TRAILBASE_RUST_BACKTRACE=1 + +# Logging configuration for the json-file driver +TRAILBASE_LOG_MAX_SIZE=100m +TRAILBASE_LOG_MAX_FILE=3 + +# Timezone +TZ=UTC + +# Resource limits +TRAILBASE_CPU_LIMIT=1.0 +TRAILBASE_MEMORY_LIMIT=1G +TRAILBASE_CPU_RESERVATION=0.1 +TRAILBASE_MEMORY_RESERVATION=256M \ No newline at end of file diff --git a/src/trailbase/docker-compose.yaml b/src/trailbase/docker-compose.yaml index 7788353..051f303 100644 --- a/src/trailbase/docker-compose.yaml +++ b/src/trailbase/docker-compose.yaml @@ -1,44 +1,44 @@ -# TrailBase - Firebase alternative with type-safe REST & realtime APIs -# Project: https://github.com/trailbaseio/trailbase -# Default access: http://localhost:4000/_/admin -# Notes: -# - The container already ships the admin UI WASM component. -# - Initial admin credentials are printed to the logs on first boot. -# - Use `trail user add ` to create additional verified users. - -x-defaults: &defaults - restart: unless-stopped - logging: - driver: json-file - options: - max-size: ${TRAILBASE_LOG_MAX_SIZE:-100m} - max-file: '${TRAILBASE_LOG_MAX_FILE:-3}' - -services: - trailbase: - <<: *defaults - image: ${GLOBAL_REGISTRY:-}trailbase/trailbase:${TRAILBASE_VERSION:-0.22.4} - ports: - - '${TRAILBASE_PORT_OVERRIDE:-4000}:4000' - environment: - - TZ=${TZ:-UTC} - - RUST_BACKTRACE=${TRAILBASE_RUST_BACKTRACE:-1} - volumes: - - trailbase_data:/app/traildepot - healthcheck: - test: [CMD, curl, --fail, --silent, --show-error, 'http://localhost:4000/api/healthcheck'] - interval: 30s - timeout: 10s - retries: 5 - start_period: 60s - deploy: - resources: - limits: - cpus: ${TRAILBASE_CPU_LIMIT:-1.0} - memory: ${TRAILBASE_MEMORY_LIMIT:-1G} - reservations: - cpus: ${TRAILBASE_CPU_RESERVATION:-0.25} - memory: ${TRAILBASE_MEMORY_RESERVATION:-256M} - -volumes: - trailbase_data: +# TrailBase - Firebase alternative with type-safe REST & realtime APIs +# Project: https://github.com/trailbaseio/trailbase +# Default access: http://localhost:4000/_/admin +# Notes: +# - The container already ships the admin UI WASM component. +# - Initial admin credentials are printed to the logs on first boot. +# - Use `trail user add ` to create additional verified users. + +x-defaults: &defaults + restart: unless-stopped + logging: + driver: json-file + options: + max-size: ${TRAILBASE_LOG_MAX_SIZE:-100m} + max-file: '${TRAILBASE_LOG_MAX_FILE:-3}' + +services: + trailbase: + <<: *defaults + image: ${GLOBAL_REGISTRY:-}trailbase/trailbase:${TRAILBASE_VERSION:-0.22.4} + ports: + - '${TRAILBASE_PORT_OVERRIDE:-4000}:4000' + environment: + - TZ=${TZ:-UTC} + - RUST_BACKTRACE=${TRAILBASE_RUST_BACKTRACE:-1} + volumes: + - trailbase_data:/app/traildepot + healthcheck: + test: [CMD, curl, --fail, --silent, --show-error, 'http://localhost:4000/api/healthcheck'] + interval: 30s + timeout: 10s + retries: 5 + start_period: 60s + deploy: + resources: + limits: + cpus: ${TRAILBASE_CPU_LIMIT:-1.0} + memory: ${TRAILBASE_MEMORY_LIMIT:-1G} + reservations: + cpus: ${TRAILBASE_CPU_RESERVATION:-0.1} + memory: ${TRAILBASE_MEMORY_RESERVATION:-256M} + +volumes: + trailbase_data: diff --git a/src/trigger-dev/.env.example b/src/trigger-dev/.env.example index 2218a7b..18c9ff0 100644 --- a/src/trigger-dev/.env.example +++ b/src/trigger-dev/.env.example @@ -171,37 +171,37 @@ DOCKER_AUTOREMOVE_EXITED_CONTAINERS=true # Webapp WEBAPP_CPU_LIMIT=3.0 WEBAPP_MEMORY_LIMIT=6G -WEBAPP_CPU_RESERVATION=1.0 +WEBAPP_CPU_RESERVATION=0.1 WEBAPP_MEMORY_RESERVATION=2G # PostgreSQL POSTGRES_CPU_LIMIT=2.0 POSTGRES_MEMORY_LIMIT=4G -POSTGRES_CPU_RESERVATION=0.5 +POSTGRES_CPU_RESERVATION=0.1 POSTGRES_MEMORY_RESERVATION=1G # Redis REDIS_CPU_LIMIT=1.0 REDIS_MEMORY_LIMIT=2G -REDIS_CPU_RESERVATION=0.25 +REDIS_CPU_RESERVATION=0.1 REDIS_MEMORY_RESERVATION=512M # ClickHouse CLICKHOUSE_CPU_LIMIT=2.0 CLICKHOUSE_MEMORY_LIMIT=4G -CLICKHOUSE_CPU_RESERVATION=0.5 +CLICKHOUSE_CPU_RESERVATION=0.1 CLICKHOUSE_MEMORY_RESERVATION=1G # MinIO MINIO_CPU_LIMIT=1.0 MINIO_MEMORY_LIMIT=2G -MINIO_CPU_RESERVATION=0.25 +MINIO_CPU_RESERVATION=0.1 MINIO_MEMORY_RESERVATION=512M # Electric ELECTRIC_CPU_LIMIT=1.0 ELECTRIC_MEMORY_LIMIT=1G -ELECTRIC_CPU_RESERVATION=0.25 +ELECTRIC_CPU_RESERVATION=0.1 ELECTRIC_MEMORY_RESERVATION=256M # Registry @@ -213,11 +213,11 @@ REGISTRY_MEMORY_RESERVATION=128M # Supervisor SUPERVISOR_CPU_LIMIT=2.0 SUPERVISOR_MEMORY_LIMIT=4G -SUPERVISOR_CPU_RESERVATION=0.5 +SUPERVISOR_CPU_RESERVATION=0.1 SUPERVISOR_MEMORY_RESERVATION=1G # Docker Socket Proxy DOCKER_PROXY_CPU_LIMIT=0.5 DOCKER_PROXY_MEMORY_LIMIT=256M DOCKER_PROXY_CPU_RESERVATION=0.1 -DOCKER_PROXY_MEMORY_RESERVATION=64M +DOCKER_PROXY_MEMORY_RESERVATION=64M \ No newline at end of file diff --git a/src/trigger-dev/docker-compose.yaml b/src/trigger-dev/docker-compose.yaml index f243b97..6c97387 100644 --- a/src/trigger-dev/docker-compose.yaml +++ b/src/trigger-dev/docker-compose.yaml @@ -100,7 +100,7 @@ services: cpus: ${WEBAPP_CPU_LIMIT:-3.0} memory: ${WEBAPP_MEMORY_LIMIT:-6G} reservations: - cpus: ${WEBAPP_CPU_RESERVATION:-1.0} + cpus: ${WEBAPP_CPU_RESERVATION:-0.1} memory: ${WEBAPP_MEMORY_RESERVATION:-2G} trigger-postgres: @@ -133,7 +133,7 @@ services: cpus: ${POSTGRES_CPU_LIMIT:-2.0} memory: ${POSTGRES_MEMORY_LIMIT:-4G} reservations: - cpus: ${POSTGRES_CPU_RESERVATION:-0.5} + cpus: ${POSTGRES_CPU_RESERVATION:-0.1} memory: ${POSTGRES_MEMORY_RESERVATION:-1G} trigger-redis: @@ -154,7 +154,7 @@ services: cpus: ${REDIS_CPU_LIMIT:-1.0} memory: ${REDIS_MEMORY_LIMIT:-2G} reservations: - cpus: ${REDIS_CPU_RESERVATION:-0.25} + cpus: ${REDIS_CPU_RESERVATION:-0.1} memory: ${REDIS_MEMORY_RESERVATION:-512M} trigger-clickhouse: @@ -181,7 +181,7 @@ services: cpus: ${CLICKHOUSE_CPU_LIMIT:-2.0} memory: ${CLICKHOUSE_MEMORY_LIMIT:-4G} reservations: - cpus: ${CLICKHOUSE_CPU_RESERVATION:-0.5} + cpus: ${CLICKHOUSE_CPU_RESERVATION:-0.1} memory: ${CLICKHOUSE_MEMORY_RESERVATION:-1G} trigger-minio: @@ -209,7 +209,7 @@ services: cpus: ${MINIO_CPU_LIMIT:-1.0} memory: ${MINIO_MEMORY_LIMIT:-2G} reservations: - cpus: ${MINIO_CPU_RESERVATION:-0.25} + cpus: ${MINIO_CPU_RESERVATION:-0.1} memory: ${MINIO_MEMORY_RESERVATION:-512M} # MinIO bucket initialization @@ -250,7 +250,7 @@ services: cpus: ${ELECTRIC_CPU_LIMIT:-1.0} memory: ${ELECTRIC_MEMORY_LIMIT:-1G} reservations: - cpus: ${ELECTRIC_CPU_RESERVATION:-0.25} + cpus: ${ELECTRIC_CPU_RESERVATION:-0.1} memory: ${ELECTRIC_MEMORY_RESERVATION:-256M} # Initialize registry htpasswd file on first run @@ -345,7 +345,7 @@ services: cpus: ${SUPERVISOR_CPU_LIMIT:-2.0} memory: ${SUPERVISOR_MEMORY_LIMIT:-4G} reservations: - cpus: ${SUPERVISOR_CPU_RESERVATION:-0.5} + cpus: ${SUPERVISOR_CPU_RESERVATION:-0.1} memory: ${SUPERVISOR_MEMORY_RESERVATION:-1G} docker-socket-proxy: diff --git a/src/turboocr/.env.example b/src/turboocr/.env.example index e2cccad..c141f04 100644 --- a/src/turboocr/.env.example +++ b/src/turboocr/.env.example @@ -49,11 +49,11 @@ TURBOOCR_GRPC_PORT_OVERRIDE=50051 # Resource limits TURBOOCR_CPU_LIMIT=8.0 TURBOOCR_MEMORY_LIMIT=12G -TURBOOCR_CPU_RESERVATION=2.0 +TURBOOCR_CPU_RESERVATION=0.1 TURBOOCR_MEMORY_RESERVATION=4G # Number of NVIDIA GPUs to reserve TURBOOCR_GPU_COUNT=1 # Shared memory size for the container -TURBOOCR_SHM_SIZE=2g +TURBOOCR_SHM_SIZE=2g \ No newline at end of file diff --git a/src/turboocr/docker-compose.yaml b/src/turboocr/docker-compose.yaml index 18a9d7b..1878ded 100644 --- a/src/turboocr/docker-compose.yaml +++ b/src/turboocr/docker-compose.yaml @@ -61,7 +61,7 @@ services: cpus: ${TURBOOCR_CPU_LIMIT:-8.0} memory: ${TURBOOCR_MEMORY_LIMIT:-12G} reservations: - cpus: ${TURBOOCR_CPU_RESERVATION:-2.0} + cpus: ${TURBOOCR_CPU_RESERVATION:-0.1} memory: ${TURBOOCR_MEMORY_RESERVATION:-4G} devices: - driver: nvidia diff --git a/src/valkey-cluster/docker-compose.yaml b/src/valkey-cluster/docker-compose.yaml index 96987b1..85539dd 100644 --- a/src/valkey-cluster/docker-compose.yaml +++ b/src/valkey-cluster/docker-compose.yaml @@ -28,10 +28,10 @@ x-valkey-node: &valkey-node deploy: resources: limits: - cpus: ${VALKEY_CLUSTER_CPU_LIMIT:-0.50} + cpus: ${VALKEY_CLUSTER_CPU_LIMIT:-0.5} memory: ${VALKEY_CLUSTER_MEMORY_LIMIT:-512M} reservations: - cpus: ${VALKEY_CLUSTER_CPU_RESERVATION:-0.25} + cpus: ${VALKEY_CLUSTER_CPU_RESERVATION:-0.1} memory: ${VALKEY_CLUSTER_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD, valkey-cli, -a, '${VALKEY_PASSWORD:-passw0rd}', ping] @@ -125,7 +125,7 @@ services: deploy: resources: limits: - cpus: ${VALKEY_CLUSTER_INIT_CPU_LIMIT:-0.10} + cpus: ${VALKEY_CLUSTER_INIT_CPU_LIMIT:-0.1} memory: ${VALKEY_CLUSTER_INIT_MEMORY_LIMIT:-128M} volumes: diff --git a/src/valkey/docker-compose.yaml b/src/valkey/docker-compose.yaml index 5dea06a..de793b4 100644 --- a/src/valkey/docker-compose.yaml +++ b/src/valkey/docker-compose.yaml @@ -30,10 +30,10 @@ services: deploy: resources: limits: - cpus: ${VALKEY_CPU_LIMIT:-0.50} + cpus: ${VALKEY_CPU_LIMIT:-0.5} memory: ${VALKEY_MEMORY_LIMIT:-512M} reservations: - cpus: ${VALKEY_CPU_RESERVATION:-0.25} + cpus: ${VALKEY_CPU_RESERVATION:-0.1} memory: ${VALKEY_MEMORY_RESERVATION:-256M} healthcheck: test: [CMD, valkey-cli, ping] diff --git a/src/verdaccio/docker-compose.yaml b/src/verdaccio/docker-compose.yaml index 41d7bdd..3640f94 100644 --- a/src/verdaccio/docker-compose.yaml +++ b/src/verdaccio/docker-compose.yaml @@ -30,10 +30,10 @@ services: deploy: resources: limits: - cpus: ${VERDACCIO_CPU_LIMIT:-1.00} + cpus: ${VERDACCIO_CPU_LIMIT:-1.0} memory: ${VERDACCIO_MEMORY_LIMIT:-512M} reservations: - cpus: ${VERDACCIO_CPU_RESERVATION:-0.25} + cpus: ${VERDACCIO_CPU_RESERVATION:-0.1} memory: ${VERDACCIO_MEMORY_RESERVATION:-128M} networks: diff --git a/src/vllm/docker-compose.yaml b/src/vllm/docker-compose.yaml index a72912d..00cad2d 100644 --- a/src/vllm/docker-compose.yaml +++ b/src/vllm/docker-compose.yaml @@ -34,7 +34,7 @@ services: cpus: ${VLLM_CPU_LIMIT:-4.0} memory: ${VLLM_MEMORY_LIMIT:-8G} reservations: - cpus: ${VLLM_CPU_RESERVATION:-2.0} + cpus: ${VLLM_CPU_RESERVATION:-0.1} memory: ${VLLM_MEMORY_RESERVATION:-4G} devices: - driver: nvidia diff --git a/src/windmill/.env.example b/src/windmill/.env.example index 8ad3d68..8da36af 100644 --- a/src/windmill/.env.example +++ b/src/windmill/.env.example @@ -36,18 +36,18 @@ TZ=UTC # Resource Limits - Server WINDMILL_SERVER_CPU_LIMIT=1.0 -WINDMILL_SERVER_CPU_RESERVATION=0.25 +WINDMILL_SERVER_CPU_RESERVATION=0.1 WINDMILL_SERVER_MEMORY_LIMIT=1G WINDMILL_SERVER_MEMORY_RESERVATION=256M # Resource Limits - Worker WINDMILL_WORKER_CPU_LIMIT=2.0 -WINDMILL_WORKER_CPU_RESERVATION=0.5 +WINDMILL_WORKER_CPU_RESERVATION=0.1 WINDMILL_WORKER_MEMORY_LIMIT=2G WINDMILL_WORKER_MEMORY_RESERVATION=512M # Resource Limits - PostgreSQL POSTGRES_CPU_LIMIT=1.0 -POSTGRES_CPU_RESERVATION=0.25 +POSTGRES_CPU_RESERVATION=0.1 POSTGRES_MEMORY_LIMIT=1G -POSTGRES_MEMORY_RESERVATION=256M +POSTGRES_MEMORY_RESERVATION=256M \ No newline at end of file diff --git a/src/windmill/docker-compose.yaml b/src/windmill/docker-compose.yaml index 4a32b3b..cbe029f 100644 --- a/src/windmill/docker-compose.yaml +++ b/src/windmill/docker-compose.yaml @@ -76,7 +76,7 @@ services: cpus: '${WINDMILL_SERVER_CPU_LIMIT:-1.0}' memory: '${WINDMILL_SERVER_MEMORY_LIMIT:-1G}' reservations: - cpus: '${WINDMILL_SERVER_CPU_RESERVATION:-0.25}' + cpus: '${WINDMILL_SERVER_CPU_RESERVATION:-0.1}' memory: '${WINDMILL_SERVER_MEMORY_RESERVATION:-256M}' windmill-worker: @@ -109,7 +109,7 @@ services: cpus: '${WINDMILL_WORKER_CPU_LIMIT:-2.0}' memory: '${WINDMILL_WORKER_MEMORY_LIMIT:-2G}' reservations: - cpus: '${WINDMILL_WORKER_CPU_RESERVATION:-0.5}' + cpus: '${WINDMILL_WORKER_CPU_RESERVATION:-0.1}' memory: '${WINDMILL_WORKER_MEMORY_RESERVATION:-512M}' postgres: @@ -134,7 +134,7 @@ services: cpus: '${POSTGRES_CPU_LIMIT:-1.0}' memory: '${POSTGRES_MEMORY_LIMIT:-1G}' reservations: - cpus: '${POSTGRES_CPU_RESERVATION:-0.25}' + cpus: '${POSTGRES_CPU_RESERVATION:-0.1}' memory: '${POSTGRES_MEMORY_RESERVATION:-256M}' # Optional: LSP service for code intelligence diff --git a/src/zookeeper/docker-compose.yaml b/src/zookeeper/docker-compose.yaml index b140375..a5aaef6 100644 --- a/src/zookeeper/docker-compose.yaml +++ b/src/zookeeper/docker-compose.yaml @@ -32,7 +32,7 @@ services: cpus: ${ZOOKEEPER_CPU_LIMIT:-1.0} memory: ${ZOOKEEPER_MEMORY_LIMIT:-1G} reservations: - cpus: ${ZOOKEEPER_CPU_RESERVATION:-0.25} + cpus: ${ZOOKEEPER_CPU_RESERVATION:-0.1} memory: ${ZOOKEEPER_MEMORY_RESERVATION:-512M} healthcheck: test: [CMD-SHELL, 'echo ruok | nc localhost 2181 | grep imok']