chore: update format
This commit is contained in:
6
builds/nexa-sdk/Dockerfile
Normal file
6
builds/nexa-sdk/Dockerfile
Normal file
@@ -0,0 +1,6 @@
|
||||
# https://github.com/NexaAI/nexa-sdk/issues/684
|
||||
FROM ubuntu:24.04
|
||||
#FROM nvidia/cuda:12.4.1-base-ubuntu22.04
|
||||
|
||||
RUN apt update && apt install -y libgomp1 curl ffmpeg sox
|
||||
RUN curl -fsSL https://github.com/NexaAI/nexa-sdk/releases/latest/download/nexa-cli_linux_x86_64.sh | sh
|
||||
@@ -27,11 +27,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 512M
|
||||
cpus: ${APACHE_CPU_LIMIT:-1.00}
|
||||
memory: ${APACHE_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 128M
|
||||
cpus: ${APACHE_CPU_RESERVATION:-0.25}
|
||||
memory: ${APACHE_MEMORY_RESERVATION:-128M}
|
||||
healthcheck:
|
||||
test: ["CMD", "httpd", "-t"]
|
||||
interval: 30s
|
||||
|
||||
@@ -29,11 +29,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${APISIX_CPU_LIMIT:-1.0}
|
||||
memory: ${APISIX_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${APISIX_CPU_RESERVATION:-0.25}
|
||||
memory: ${APISIX_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:9080/apisix/status || exit 1"]
|
||||
interval: 30s
|
||||
@@ -83,11 +83,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${ETCD_CPU_LIMIT:-0.5}
|
||||
memory: ${ETCD_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.1'
|
||||
memory: 128M
|
||||
cpus: ${ETCD_CPU_RESERVATION:-0.1}
|
||||
memory: ${ETCD_MEMORY_RESERVATION:-128M}
|
||||
healthcheck:
|
||||
test: ["CMD", "etcdctl", "endpoint", "health"]
|
||||
interval: 30s
|
||||
@@ -115,11 +115,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${APISIX_DASHBOARD_CPU_LIMIT:-0.5}
|
||||
memory: ${APISIX_DASHBOARD_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.1'
|
||||
memory: 128M
|
||||
cpus: ${APISIX_DASHBOARD_CPU_RESERVATION:-0.1}
|
||||
memory: ${APISIX_DASHBOARD_MEMORY_RESERVATION:-128M}
|
||||
|
||||
volumes:
|
||||
apisix_logs:
|
||||
|
||||
@@ -19,11 +19,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.50'
|
||||
memory: 512M
|
||||
cpus: ${BIFROST_CPU_LIMIT:-0.50}
|
||||
memory: ${BIFROST_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.10'
|
||||
memory: 128M
|
||||
cpus: ${BIFROST_CPU_RESERVATION:-0.10}
|
||||
memory: ${BIFROST_MEMORY_RESERVATION:-128M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/health"]
|
||||
interval: 30s
|
||||
|
||||
@@ -19,11 +19,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.00'
|
||||
memory: 2G
|
||||
cpus: ${BOLT_DIY_CPU_LIMIT:-2.00}
|
||||
memory: ${BOLT_DIY_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${BOLT_DIY_CPU_RESERVATION:-0.5}
|
||||
memory: ${BOLT_DIY_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5173/"]
|
||||
interval: 30s
|
||||
|
||||
@@ -18,11 +18,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 4G
|
||||
cpus: ${BYTEBOT_DESKTOP_CPU_LIMIT:-2.0}
|
||||
memory: ${BYTEBOT_DESKTOP_MEMORY_LIMIT:-4G}
|
||||
reservations:
|
||||
cpus: '1.0'
|
||||
memory: 2G
|
||||
cpus: ${BYTEBOT_DESKTOP_CPU_RESERVATION:-1.0}
|
||||
memory: ${BYTEBOT_DESKTOP_MEMORY_RESERVATION:-2G}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:9990/"]
|
||||
interval: 30s
|
||||
@@ -50,11 +50,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${BYTEBOT_AGENT_CPU_LIMIT:-1.0}
|
||||
memory: ${BYTEBOT_AGENT_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${BYTEBOT_AGENT_CPU_RESERVATION:-0.5}
|
||||
memory: ${BYTEBOT_AGENT_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:9991/health"]
|
||||
interval: 30s
|
||||
@@ -77,11 +77,17 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${BYTEBOT_UI_CPU_LIMIT:-0.5}
|
||||
memory: ${BYTEBOT_UI_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${BYTEBOT_UI_CPU_RESERVATION:-0.25}
|
||||
memory: ${BYTEBOT_UI_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:9992/"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
|
||||
bytebot-db:
|
||||
<<: *defaults
|
||||
@@ -97,11 +103,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${BYTEBOT_DB_CPU_LIMIT:-0.5}
|
||||
memory: ${BYTEBOT_DB_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${BYTEBOT_DB_CPU_RESERVATION:-0.25}
|
||||
memory: ${BYTEBOT_DB_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
|
||||
interval: 30s
|
||||
|
||||
@@ -33,11 +33,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.00'
|
||||
memory: 2G
|
||||
cpus: ${CASSANDRA_CPU_LIMIT:-2.00}
|
||||
memory: ${CASSANDRA_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.50'
|
||||
memory: 1G
|
||||
cpus: ${CASSANDRA_CPU_RESERVATION:-0.50}
|
||||
memory: ${CASSANDRA_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "cqlsh -e 'DESCRIBE CLUSTER'"]
|
||||
interval: 30s
|
||||
|
||||
@@ -20,11 +20,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "0.5"
|
||||
memory: 512M
|
||||
cpus: ${CLASH_CPU_LIMIT:-0.5}
|
||||
memory: ${CLASH_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: "0.25"
|
||||
memory: 256M
|
||||
cpus: ${CLASH_CPU_RESERVATION:-0.25}
|
||||
memory: ${CLASH_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/"]
|
||||
interval: 30s
|
||||
|
||||
@@ -35,11 +35,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '4.0'
|
||||
memory: 4G
|
||||
cpus: ${CLICKHOUSE_CPU_LIMIT:-4.0}
|
||||
memory: ${CLICKHOUSE_MEMORY_LIMIT:-4G}
|
||||
reservations:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${CLICKHOUSE_CPU_RESERVATION:-1.0}
|
||||
memory: ${CLICKHOUSE_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://localhost:8123/ping || exit 1"]
|
||||
interval: 30s
|
||||
|
||||
@@ -38,11 +38,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 512M
|
||||
cpus: ${CONSUL_CPU_LIMIT:-1.00}
|
||||
memory: ${CONSUL_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 128M
|
||||
cpus: ${CONSUL_CPU_RESERVATION:-0.25}
|
||||
memory: ${CONSUL_MEMORY_RESERVATION:-128M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "consul members"]
|
||||
interval: 30s
|
||||
|
||||
@@ -34,11 +34,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 2G
|
||||
cpus: ${DIFY_API_CPU_LIMIT:-1.0}
|
||||
memory: ${DIFY_API_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 1G
|
||||
cpus: ${DIFY_API_CPU_RESERVATION:-0.5}
|
||||
memory: ${DIFY_API_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5001/health"]
|
||||
interval: 30s
|
||||
@@ -73,11 +73,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 2G
|
||||
cpus: ${DIFY_WORKER_CPU_LIMIT:-1.0}
|
||||
memory: ${DIFY_WORKER_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 1G
|
||||
cpus: ${DIFY_WORKER_CPU_RESERVATION:-0.5}
|
||||
memory: ${DIFY_WORKER_MEMORY_RESERVATION:-1G}
|
||||
|
||||
dify-web:
|
||||
<<: *defaults
|
||||
@@ -94,11 +94,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${DIFY_WEB_CPU_LIMIT:-0.5}
|
||||
memory: ${DIFY_WEB_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${DIFY_WEB_CPU_RESERVATION:-0.25}
|
||||
memory: ${DIFY_WEB_MEMORY_RESERVATION:-256M}
|
||||
|
||||
dify-db:
|
||||
<<: *defaults
|
||||
@@ -114,11 +114,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${DIFY_DB_CPU_LIMIT:-0.5}
|
||||
memory: ${DIFY_DB_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${DIFY_DB_CPU_RESERVATION:-0.25}
|
||||
memory: ${DIFY_DB_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
|
||||
interval: 30s
|
||||
@@ -137,11 +137,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${DIFY_REDIS_CPU_LIMIT:-0.25}
|
||||
memory: ${DIFY_REDIS_MEMORY_LIMIT:-256M}
|
||||
reservations:
|
||||
cpus: '0.1'
|
||||
memory: 128M
|
||||
cpus: ${DIFY_REDIS_CPU_RESERVATION:-0.1}
|
||||
memory: ${DIFY_REDIS_MEMORY_RESERVATION:-128M}
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 10s
|
||||
@@ -166,11 +166,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 1G
|
||||
cpus: ${DIFY_WEAVIATE_CPU_LIMIT:-0.5}
|
||||
memory: ${DIFY_WEAVIATE_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 512M
|
||||
cpus: ${DIFY_WEAVIATE_CPU_RESERVATION:-0.25}
|
||||
memory: ${DIFY_WEAVIATE_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/v1/.well-known/ready"]
|
||||
interval: 30s
|
||||
|
||||
@@ -31,8 +31,8 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.50'
|
||||
memory: 128M
|
||||
cpus: ${DNSMASQ_CPU_LIMIT:-0.50}
|
||||
memory: ${DNSMASQ_MEMORY_LIMIT:-128M}
|
||||
reservations:
|
||||
cpus: '0.10'
|
||||
memory: 32M
|
||||
cpus: ${DNSMASQ_CPU_RESERVATION:-0.10}
|
||||
memory: ${DNSMASQ_MEMORY_RESERVATION:-32M}
|
||||
|
||||
@@ -27,11 +27,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${REGISTRY_CPU_LIMIT:-1.0}
|
||||
memory: ${REGISTRY_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.1'
|
||||
memory: 128M
|
||||
cpus: ${REGISTRY_CPU_RESERVATION:-0.1}
|
||||
memory: ${REGISTRY_MEMORY_RESERVATION:-128M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5000/"]
|
||||
interval: 30s
|
||||
|
||||
@@ -24,11 +24,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 512M
|
||||
cpus: ${DOCKGE_CPU_LIMIT:-1.0}
|
||||
memory: ${DOCKGE_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${DOCKGE_CPU_RESERVATION:-0.25}
|
||||
memory: ${DOCKGE_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5001/"]
|
||||
interval: 30s
|
||||
|
||||
@@ -22,11 +22,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 4G
|
||||
cpus: ${DUCKDB_CPU_LIMIT:-2.0}
|
||||
memory: ${DUCKDB_MEMORY_LIMIT:-4G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${DUCKDB_CPU_RESERVATION:-0.5}
|
||||
memory: ${DUCKDB_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "duckdb /data/duckdb.db -c 'SELECT 1' || exit 1"]
|
||||
interval: 30s
|
||||
|
||||
@@ -23,11 +23,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 4G
|
||||
cpus: ${EASY_DATASET_CPU_LIMIT:-2.0}
|
||||
memory: ${EASY_DATASET_MEMORY_LIMIT:-4G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 1G
|
||||
cpus: ${EASY_DATASET_CPU_RESERVATION:-0.5}
|
||||
memory: ${EASY_DATASET_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:1717"]
|
||||
interval: 30s
|
||||
|
||||
@@ -36,11 +36,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.00'
|
||||
memory: 2G
|
||||
cpus: ${ELASTICSEARCH_CPU_LIMIT:-2.00}
|
||||
memory: ${ELASTICSEARCH_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.50'
|
||||
memory: 1G
|
||||
cpus: ${ELASTICSEARCH_CPU_RESERVATION:-0.50}
|
||||
memory: ${ELASTICSEARCH_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:9200/_cluster/health || exit 1"]
|
||||
interval: 30s
|
||||
|
||||
@@ -50,11 +50,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${ETCD_CPU_LIMIT:-1.0}
|
||||
memory: ${ETCD_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${ETCD_CPU_RESERVATION:-0.25}
|
||||
memory: ${ETCD_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "etcdctl", "endpoint", "health"]
|
||||
interval: 30s
|
||||
|
||||
@@ -49,11 +49,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "1.0"
|
||||
memory: 1G
|
||||
cpus: ${PLAYWRIGHT_CPU_LIMIT:-1.0}
|
||||
memory: ${PLAYWRIGHT_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: "0.5"
|
||||
memory: 512M
|
||||
cpus: ${PLAYWRIGHT_CPU_RESERVATION:-0.5}
|
||||
memory: ${PLAYWRIGHT_MEMORY_RESERVATION:-512M}
|
||||
|
||||
api:
|
||||
<<: *defaults
|
||||
@@ -78,11 +78,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "2.0"
|
||||
memory: 4G
|
||||
cpus: ${FIRECRAWL_API_CPU_LIMIT:-2.0}
|
||||
memory: ${FIRECRAWL_API_MEMORY_LIMIT:-4G}
|
||||
reservations:
|
||||
cpus: "1.0"
|
||||
memory: 2G
|
||||
cpus: ${FIRECRAWL_API_CPU_RESERVATION:-1.0}
|
||||
memory: ${FIRECRAWL_API_MEMORY_RESERVATION:-2G}
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
@@ -107,11 +107,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "0.5"
|
||||
memory: 512M
|
||||
cpus: ${REDIS_CPU_LIMIT:-0.5}
|
||||
memory: ${REDIS_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: "0.25"
|
||||
memory: 256M
|
||||
cpus: ${REDIS_CPU_RESERVATION:-0.25}
|
||||
memory: ${REDIS_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 10s
|
||||
@@ -133,11 +133,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "1.0"
|
||||
memory: 1G
|
||||
cpus: ${NUQPOSTGRES_CPU_LIMIT:-1.0}
|
||||
memory: ${NUQPOSTGRES_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: "0.5"
|
||||
memory: 512M
|
||||
cpus: ${NUQPOSTGRES_CPU_RESERVATION:-0.5}
|
||||
memory: ${NUQPOSTGRES_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-postgres}"]
|
||||
interval: 10s
|
||||
|
||||
@@ -29,11 +29,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
cpus: ${FLINK_JOBMANAGER_CPU_LIMIT:-2.0}
|
||||
memory: ${FLINK_JOBMANAGER_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 1G
|
||||
cpus: ${FLINK_JOBMANAGER_CPU_RESERVATION:-0.5}
|
||||
memory: ${FLINK_JOBMANAGER_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://localhost:8081 || exit 1"]
|
||||
interval: 30s
|
||||
@@ -62,11 +62,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
cpus: ${FLINK_TASKMANAGER_CPU_LIMIT:-2.0}
|
||||
memory: ${FLINK_TASKMANAGER_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 1G
|
||||
cpus: ${FLINK_TASKMANAGER_CPU_RESERVATION:-0.5}
|
||||
memory: ${FLINK_TASKMANAGER_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "ps aux | grep -v grep | grep -q taskmanager || exit 1"]
|
||||
interval: 30s
|
||||
|
||||
@@ -20,8 +20,8 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 128M
|
||||
cpus: ${FRPC_CPU_LIMIT:-0.5}
|
||||
memory: ${FRPC_MEMORY_LIMIT:-128M}
|
||||
reservations:
|
||||
cpus: '0.1'
|
||||
memory: 64M
|
||||
cpus: ${FRPC_CPU_RESERVATION:-0.1}
|
||||
memory: ${FRPC_MEMORY_RESERVATION:-64M}
|
||||
|
||||
@@ -25,11 +25,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 128M
|
||||
cpus: ${FRPS_CPU_LIMIT:-0.5}
|
||||
memory: ${FRPS_MEMORY_LIMIT:-128M}
|
||||
reservations:
|
||||
cpus: '0.1'
|
||||
memory: 64M
|
||||
cpus: ${FRPS_CPU_RESERVATION:-0.1}
|
||||
memory: ${FRPS_MEMORY_RESERVATION:-64M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:${FRP_ADMIN_PORT:-7890}/"]
|
||||
interval: 30s
|
||||
|
||||
@@ -24,11 +24,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 2G
|
||||
cpus: ${GITEA_RUNNER_CPU_LIMIT:-1.0}
|
||||
memory: ${GITEA_RUNNER_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 1G
|
||||
cpus: ${GITEA_RUNNER_CPU_RESERVATION:-0.5}
|
||||
memory: ${GITEA_RUNNER_MEMORY_RESERVATION:-1G}
|
||||
|
||||
volumes:
|
||||
gitea_runner_data:
|
||||
|
||||
@@ -30,11 +30,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${GITEA_CPU_LIMIT:-1.0}
|
||||
memory: ${GITEA_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${GITEA_CPU_RESERVATION:-0.5}
|
||||
memory: ${GITEA_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/"]
|
||||
interval: 30s
|
||||
@@ -55,11 +55,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${GITEA_DB_CPU_LIMIT:-1.0}
|
||||
memory: ${GITEA_DB_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${GITEA_DB_CPU_RESERVATION:-0.5}
|
||||
memory: ${GITEA_DB_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
|
||||
interval: 30s
|
||||
|
||||
@@ -18,8 +18,8 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 2G
|
||||
cpus: ${GITLAB_RUNNER_CPU_LIMIT:-1.0}
|
||||
memory: ${GITLAB_RUNNER_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 1G
|
||||
cpus: ${GITLAB_RUNNER_CPU_RESERVATION:-0.5}
|
||||
memory: ${GITLAB_RUNNER_MEMORY_RESERVATION:-1G}
|
||||
|
||||
@@ -24,11 +24,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 8G
|
||||
cpus: ${GITLAB_CPU_LIMIT:-2.0}
|
||||
memory: ${GITLAB_MEMORY_LIMIT:-8G}
|
||||
reservations:
|
||||
cpus: '1.0'
|
||||
memory: 4G
|
||||
cpus: ${GITLAB_CPU_RESERVATION:-1.0}
|
||||
memory: ${GITLAB_MEMORY_RESERVATION:-4G}
|
||||
healthcheck:
|
||||
test: ["CMD", "/opt/gitlab/bin/gitlab-healthcheck", "--fail"]
|
||||
interval: 60s
|
||||
|
||||
@@ -26,11 +26,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '8.0'
|
||||
memory: 8G
|
||||
cpus: ${GPUSTACK_CPU_LIMIT:-8.0}
|
||||
memory: ${GPUSTACK_MEMORY_LIMIT:-8G}
|
||||
reservations:
|
||||
cpus: '2.0'
|
||||
memory: 4G
|
||||
cpus: ${GPUSTACK_CPU_RESERVATION:-2.0}
|
||||
memory: ${GPUSTACK_MEMORY_RESERVATION:-4G}
|
||||
devices:
|
||||
- driver: nvidia
|
||||
device_ids: [ '0' ]
|
||||
|
||||
@@ -31,11 +31,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${GRAFANA_CPU_LIMIT:-1.0}
|
||||
memory: ${GRAFANA_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${GRAFANA_CPU_RESERVATION:-0.25}
|
||||
memory: ${GRAFANA_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/api/health"]
|
||||
interval: 30s
|
||||
|
||||
@@ -29,11 +29,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
cpus: ${HALO_CPU_LIMIT:-2.0}
|
||||
memory: ${HALO_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${HALO_CPU_RESERVATION:-0.5}
|
||||
memory: ${HALO_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8090/actuator/health"]
|
||||
interval: 30s
|
||||
@@ -61,11 +61,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${HALO_DB_CPU_LIMIT:-1.0}
|
||||
memory: ${HALO_DB_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${HALO_DB_CPU_RESERVATION:-0.25}
|
||||
memory: ${HALO_DB_MEMORY_RESERVATION:-256M}
|
||||
|
||||
volumes:
|
||||
halo_data:
|
||||
|
||||
@@ -38,6 +38,14 @@ services:
|
||||
- REGISTRY_STORAGE_PROVIDER_NAME=filesystem
|
||||
- READ_ONLY=false
|
||||
- RELOAD_KEY=${HARBOR_RELOAD_KEY:-}
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: ${HARBOR_CORE_CPU_LIMIT:-2.0}
|
||||
memory: ${HARBOR_CORE_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: ${HARBOR_CORE_CPU_RESERVATION:-0.5}
|
||||
memory: ${HARBOR_CORE_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/api/v2.0/ping"]
|
||||
interval: 30s
|
||||
@@ -67,6 +75,14 @@ services:
|
||||
- POSTGRESQL_USERNAME=postgres
|
||||
- POSTGRESQL_PASSWORD=${HARBOR_DB_PASSWORD:-password}
|
||||
- POSTGRESQL_DATABASE=registry
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: ${HARBOR_JOBSERVICE_CPU_LIMIT:-1.0}
|
||||
memory: ${HARBOR_JOBSERVICE_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: ${HARBOR_JOBSERVICE_CPU_RESERVATION:-0.25}
|
||||
memory: ${HARBOR_JOBSERVICE_MEMORY_RESERVATION:-512M}
|
||||
|
||||
# Harbor Registry
|
||||
harbor-registry:
|
||||
@@ -77,6 +93,14 @@ services:
|
||||
environment:
|
||||
- TZ=${TZ:-UTC}
|
||||
- REGISTRY_HTTP_SECRET=${HARBOR_REGISTRY_SECRET:-}
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: ${HARBOR_REGISTRY_CPU_LIMIT:-1.0}
|
||||
memory: ${HARBOR_REGISTRY_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: ${HARBOR_REGISTRY_CPU_RESERVATION:-0.25}
|
||||
memory: ${HARBOR_REGISTRY_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5000/"]
|
||||
interval: 30s
|
||||
@@ -90,6 +114,14 @@ services:
|
||||
image: ${GLOBAL_REGISTRY:-}goharbor/harbor-portal:${HARBOR_VERSION:-v2.12.0}
|
||||
environment:
|
||||
- TZ=${TZ:-UTC}
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: ${HARBOR_PORTAL_CPU_LIMIT:-0.5}
|
||||
memory: ${HARBOR_PORTAL_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: ${HARBOR_PORTAL_CPU_RESERVATION:-0.25}
|
||||
memory: ${HARBOR_PORTAL_MEMORY_RESERVATION:-256M}
|
||||
|
||||
# Harbor Proxy (Nginx)
|
||||
harbor-proxy:
|
||||
@@ -107,6 +139,14 @@ services:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
- TZ=${TZ:-UTC}
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: ${HARBOR_PROXY_CPU_LIMIT:-1.0}
|
||||
memory: ${HARBOR_PROXY_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: ${HARBOR_PROXY_CPU_RESERVATION:-0.25}
|
||||
memory: ${HARBOR_PROXY_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/"]
|
||||
interval: 30s
|
||||
@@ -127,11 +167,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 1G
|
||||
cpus: ${HARBOR_DB_CPU_LIMIT:-1.00}
|
||||
memory: ${HARBOR_DB_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${HARBOR_DB_CPU_RESERVATION:-0.25}
|
||||
memory: ${HARBOR_DB_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 30s
|
||||
@@ -150,11 +190,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.50'
|
||||
memory: 256M
|
||||
cpus: ${HARBOR_REDIS_CPU_LIMIT:-0.50}
|
||||
memory: ${HARBOR_REDIS_MEMORY_LIMIT:-256M}
|
||||
reservations:
|
||||
cpus: '0.10'
|
||||
memory: 64M
|
||||
cpus: ${HARBOR_REDIS_CPU_RESERVATION:-0.10}
|
||||
memory: ${HARBOR_REDIS_MEMORY_RESERVATION:-64M}
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 10s
|
||||
|
||||
@@ -25,11 +25,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '4.0'
|
||||
memory: 4G
|
||||
cpus: ${HBASE_CPU_LIMIT:-4.0}
|
||||
memory: ${HBASE_MEMORY_LIMIT:-4G}
|
||||
reservations:
|
||||
cpus: '1.0'
|
||||
memory: 2G
|
||||
cpus: ${HBASE_CPU_RESERVATION:-1.0}
|
||||
memory: ${HBASE_MEMORY_RESERVATION:-2G}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "echo 'status' | hbase shell -n || exit 1"]
|
||||
interval: 30s
|
||||
|
||||
@@ -28,11 +28,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.00'
|
||||
memory: 3G
|
||||
cpus: ${JENKINS_CPU_LIMIT:-2.00}
|
||||
memory: ${JENKINS_MEMORY_LIMIT:-3G}
|
||||
reservations:
|
||||
cpus: '0.50'
|
||||
memory: 1G
|
||||
cpus: ${JENKINS_CPU_RESERVATION:-0.50}
|
||||
memory: ${JENKINS_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:8080/login || exit 1"]
|
||||
interval: 30s
|
||||
|
||||
@@ -22,11 +22,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.00'
|
||||
memory: 2G
|
||||
cpus: ${OFFICECONVERTER_CPU_LIMIT:-2.00}
|
||||
memory: ${OFFICECONVERTER_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.50'
|
||||
memory: 512M
|
||||
cpus: ${OFFICECONVERTER_CPU_RESERVATION:-0.50}
|
||||
memory: ${OFFICECONVERTER_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8000/ready"]
|
||||
interval: 30s
|
||||
|
||||
@@ -28,11 +28,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 1G
|
||||
cpus: ${ZOOKEEPER_CPU_LIMIT:-1.00}
|
||||
memory: ${ZOOKEEPER_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${ZOOKEEPER_CPU_RESERVATION:-0.25}
|
||||
memory: ${ZOOKEEPER_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "echo ruok | nc localhost 2181 | grep imok"]
|
||||
interval: 30s
|
||||
@@ -76,11 +76,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.00'
|
||||
memory: 2G
|
||||
cpus: ${KAFKA_CPU_LIMIT:-2.00}
|
||||
memory: ${KAFKA_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.50'
|
||||
memory: 1G
|
||||
cpus: ${KAFKA_CPU_RESERVATION:-0.50}
|
||||
memory: ${KAFKA_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "kafka-broker-api-versions --bootstrap-server localhost:9092"]
|
||||
interval: 30s
|
||||
@@ -108,11 +108,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.50'
|
||||
memory: 512M
|
||||
cpus: ${KAFKA_UI_CPU_LIMIT:-0.50}
|
||||
memory: ${KAFKA_UI_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.10'
|
||||
memory: 128M
|
||||
cpus: ${KAFKA_UI_CPU_RESERVATION:-0.10}
|
||||
memory: ${KAFKA_UI_MEMORY_RESERVATION:-128M}
|
||||
profiles:
|
||||
- ui
|
||||
|
||||
|
||||
@@ -29,11 +29,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 1G
|
||||
cpus: ${KIBANA_CPU_LIMIT:-1.00}
|
||||
memory: ${KIBANA_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 512M
|
||||
cpus: ${KIBANA_CPU_RESERVATION:-0.25}
|
||||
memory: ${KIBANA_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:5601/api/status || exit 1"]
|
||||
interval: 30s
|
||||
|
||||
@@ -32,11 +32,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
cpus: ${KODBOX_CPU_LIMIT:-2.0}
|
||||
memory: ${KODBOX_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 256M
|
||||
cpus: ${KODBOX_CPU_RESERVATION:-0.5}
|
||||
memory: ${KODBOX_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/"]
|
||||
interval: 30s
|
||||
@@ -68,11 +68,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${KODBOX_DB_CPU_LIMIT:-1.0}
|
||||
memory: ${KODBOX_DB_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${KODBOX_DB_CPU_RESERVATION:-0.25}
|
||||
memory: ${KODBOX_DB_MEMORY_RESERVATION:-256M}
|
||||
|
||||
kodbox-redis:
|
||||
<<: *defaults
|
||||
@@ -94,11 +94,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.50'
|
||||
memory: 512M
|
||||
cpus: ${KODBOX_REDIS_CPU_LIMIT:-0.50}
|
||||
memory: ${KODBOX_REDIS_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 128M
|
||||
cpus: ${KODBOX_REDIS_CPU_RESERVATION:-0.25}
|
||||
memory: ${KODBOX_REDIS_MEMORY_RESERVATION:-128M}
|
||||
|
||||
volumes:
|
||||
kodbox_data:
|
||||
|
||||
@@ -21,11 +21,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 512M
|
||||
cpus: ${KONG_DB_CPU_LIMIT:-1.00}
|
||||
memory: ${KONG_DB_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 128M
|
||||
cpus: ${KONG_DB_CPU_RESERVATION:-0.25}
|
||||
memory: ${KONG_DB_MEMORY_RESERVATION:-128M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U kong"]
|
||||
interval: 30s
|
||||
@@ -83,11 +83,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 1G
|
||||
cpus: ${KONG_CPU_LIMIT:-1.00}
|
||||
memory: ${KONG_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${KONG_CPU_RESERVATION:-0.25}
|
||||
memory: ${KONG_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "kong health"]
|
||||
interval: 30s
|
||||
@@ -113,11 +113,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.50'
|
||||
memory: 256M
|
||||
cpus: ${KONGA_CPU_LIMIT:-0.50}
|
||||
memory: ${KONGA_MEMORY_LIMIT:-256M}
|
||||
reservations:
|
||||
cpus: '0.10'
|
||||
memory: 64M
|
||||
cpus: ${KONGA_CPU_RESERVATION:-0.10}
|
||||
memory: ${KONGA_MEMORY_RESERVATION:-64M}
|
||||
profiles:
|
||||
- gui
|
||||
|
||||
|
||||
@@ -26,11 +26,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
cpus: ${LANGFUSE_CPU_LIMIT:-2.0}
|
||||
memory: ${LANGFUSE_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${LANGFUSE_CPU_RESERVATION:-0.5}
|
||||
memory: ${LANGFUSE_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/api/public/health"]
|
||||
interval: 30s
|
||||
@@ -57,11 +57,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${LANGFUSE_DB_CPU_LIMIT:-1.0}
|
||||
memory: ${LANGFUSE_DB_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${LANGFUSE_DB_CPU_RESERVATION:-0.25}
|
||||
memory: ${LANGFUSE_DB_MEMORY_RESERVATION:-256M}
|
||||
|
||||
volumes:
|
||||
langfuse_db_data:
|
||||
|
||||
@@ -27,11 +27,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.00'
|
||||
memory: 2G
|
||||
cpus: ${LIBREOFFICE_CPU_LIMIT:-2.00}
|
||||
memory: ${LIBREOFFICE_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.50'
|
||||
memory: 512M
|
||||
cpus: ${LIBREOFFICE_CPU_RESERVATION:-0.50}
|
||||
memory: ${LIBREOFFICE_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "-k", "https://localhost:3001/"]
|
||||
interval: 30s
|
||||
|
||||
@@ -41,11 +41,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.00'
|
||||
memory: 2G
|
||||
cpus: ${LITELLM_CPU_LIMIT:-2.00}
|
||||
memory: ${LITELLM_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.50'
|
||||
memory: 512M
|
||||
cpus: ${LITELLM_CPU_RESERVATION:-0.50}
|
||||
memory: ${LITELLM_MEMORY_RESERVATION:-512M}
|
||||
|
||||
db:
|
||||
<<: *defaults
|
||||
@@ -68,11 +68,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 1G
|
||||
cpus: ${LITELLM_DB_CPU_LIMIT:-1.00}
|
||||
memory: ${LITELLM_DB_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${LITELLM_DB_CPU_RESERVATION:-0.25}
|
||||
memory: ${LITELLM_DB_MEMORY_RESERVATION:-256M}
|
||||
|
||||
prometheus:
|
||||
<<: *defaults
|
||||
@@ -99,11 +99,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 1G
|
||||
cpus: ${LITELLM_PROMETHEUS_CPU_LIMIT:-1.00}
|
||||
memory: ${LITELLM_PROMETHEUS_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${LITELLM_PROMETHEUS_CPU_RESERVATION:-0.25}
|
||||
memory: ${LITELLM_PROMETHEUS_MEMORY_RESERVATION:-256M}
|
||||
|
||||
volumes:
|
||||
prometheus_data:
|
||||
|
||||
@@ -38,11 +38,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.50'
|
||||
memory: 2G
|
||||
cpus: ${LOGSTASH_CPU_LIMIT:-1.50}
|
||||
memory: ${LOGSTASH_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.50'
|
||||
memory: 1G
|
||||
cpus: ${LOGSTASH_CPU_RESERVATION:-0.50}
|
||||
memory: ${LOGSTASH_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:9600/_node/stats || exit 1"]
|
||||
interval: 30s
|
||||
|
||||
@@ -28,11 +28,11 @@ x-mariadb-galera: &mariadb-galera
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
cpus: ${MARIADB_CPU_LIMIT:-2.0}
|
||||
memory: ${MARIADB_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${MARIADB_CPU_RESERVATION:-1.0}
|
||||
memory: ${MARIADB_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||
interval: 30s
|
||||
|
||||
@@ -37,11 +37,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 4G
|
||||
cpus: ${MILVUS_EMBED_CPU_LIMIT:-2.0}
|
||||
memory: ${MILVUS_EMBED_MEMORY_LIMIT:-4G}
|
||||
reservations:
|
||||
cpus: '1.0'
|
||||
memory: 2G
|
||||
cpus: ${MILVUS_EMBED_CPU_RESERVATION:-1.0}
|
||||
memory: ${MILVUS_EMBED_MEMORY_RESERVATION:-2G}
|
||||
|
||||
attu:
|
||||
<<: *defaults
|
||||
@@ -56,11 +56,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${ATTU_CPU_LIMIT:-0.25}
|
||||
memory: ${ATTU_MEMORY_LIMIT:-256M}
|
||||
reservations:
|
||||
cpus: '0.1'
|
||||
memory: 128M
|
||||
cpus: ${ATTU_CPU_RESERVATION:-0.1}
|
||||
memory: ${ATTU_MEMORY_RESERVATION:-128M}
|
||||
|
||||
|
||||
volumes:
|
||||
|
||||
@@ -28,11 +28,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${ETCD_CPU_LIMIT:-0.25}
|
||||
memory: ${ETCD_MEMORY_LIMIT:-256M}
|
||||
reservations:
|
||||
cpus: '0.1'
|
||||
memory: 128M
|
||||
cpus: ${ETCD_CPU_RESERVATION:-0.1}
|
||||
memory: ${ETCD_MEMORY_RESERVATION:-128M}
|
||||
|
||||
minio:
|
||||
<<: *defaults
|
||||
@@ -56,11 +56,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${MINIO_STANDALONE_CPU_LIMIT:-0.5}
|
||||
memory: ${MINIO_STANDALONE_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.1'
|
||||
memory: 256M
|
||||
cpus: ${MINIO_STANDALONE_CPU_RESERVATION:-0.1}
|
||||
memory: ${MINIO_STANDALONE_MEMORY_RESERVATION:-256M}
|
||||
|
||||
milvus-standalone:
|
||||
<<: *defaults
|
||||
@@ -92,11 +92,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 4G
|
||||
cpus: ${MILVUS_CPU_LIMIT:-2.0}
|
||||
memory: ${MILVUS_MEMORY_LIMIT:-4G}
|
||||
reservations:
|
||||
cpus: '1.0'
|
||||
memory: 2G
|
||||
cpus: ${MILVUS_CPU_RESERVATION:-1.0}
|
||||
memory: ${MILVUS_MEMORY_RESERVATION:-2G}
|
||||
|
||||
attu:
|
||||
<<: *defaults
|
||||
@@ -114,11 +114,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${ATTU_CPU_LIMIT:-0.25}
|
||||
memory: ${ATTU_MEMORY_LIMIT:-256M}
|
||||
reservations:
|
||||
cpus: '0.1'
|
||||
memory: 128M
|
||||
cpus: ${ATTU_CPU_RESERVATION:-0.1}
|
||||
memory: ${ATTU_MEMORY_RESERVATION:-128M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/"]
|
||||
interval: 30s
|
||||
|
||||
@@ -37,11 +37,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
cpus: ${BEDROCK_CPU_LIMIT:-2.0}
|
||||
memory: ${BEDROCK_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${BEDROCK_CPU_RESERVATION:-1.0}
|
||||
memory: ${BEDROCK_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "[ -f /data/valid_known_packs.json ]"]
|
||||
interval: 30s
|
||||
|
||||
@@ -19,11 +19,11 @@ x-mineru-sglang: &mineru-sglang
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '8.0'
|
||||
memory: 4G
|
||||
cpus: ${MINERU_SGLANG_CPU_LIMIT:-8.0}
|
||||
memory: ${MINERU_SGLANG_MEMORY_LIMIT:-4G}
|
||||
reservations:
|
||||
cpus: '1.0'
|
||||
memory: 2G
|
||||
cpus: ${MINERU_SGLANG_CPU_RESERVATION:-1.0}
|
||||
memory: ${MINERU_SGLANG_MEMORY_RESERVATION:-2G}
|
||||
devices:
|
||||
- driver: nvidia
|
||||
device_ids: [ '0' ]
|
||||
|
||||
@@ -30,11 +30,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${MINIO_CPU_LIMIT:-1.0}
|
||||
memory: ${MINIO_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${MINIO_CPU_RESERVATION:-0.5}
|
||||
memory: ${MINIO_MEMORY_RESERVATION:-512M}
|
||||
|
||||
|
||||
volumes:
|
||||
|
||||
@@ -20,11 +20,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${POSTGRES_MLFLOW_CPU_LIMIT:-1.0}
|
||||
memory: ${POSTGRES_MLFLOW_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${POSTGRES_MLFLOW_CPU_RESERVATION:-0.5}
|
||||
memory: ${POSTGRES_MLFLOW_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-mlflow}"]
|
||||
interval: 10s
|
||||
@@ -48,11 +48,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${MINIO_MLFLOW_CPU_LIMIT:-1.0}
|
||||
memory: ${MINIO_MLFLOW_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${MINIO_MLFLOW_CPU_RESERVATION:-0.5}
|
||||
memory: ${MINIO_MLFLOW_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
|
||||
interval: 30s
|
||||
@@ -108,11 +108,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
cpus: ${MLFLOW_CPU_LIMIT:-2.0}
|
||||
memory: ${MLFLOW_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${MLFLOW_CPU_RESERVATION:-1.0}
|
||||
memory: ${MLFLOW_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5000/health"]
|
||||
interval: 30s
|
||||
|
||||
@@ -37,11 +37,12 @@ x-mongo: &mongo
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.50'
|
||||
memory: 1G
|
||||
cpus: ${MONGO_REPLICA_SINGLE_CPU_LIMIT:-1.00}
|
||||
memory: ${MONGO_REPLICA_SINGLE_MEMORY_LIMIT:-2048M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${MONGO_REPLICA_SINGLE_CPU_RESERVATION:-0.50}
|
||||
memory: ${MONGO_REPLICA_SINGLE_MEMORY_RESERVATION:-1024M}
|
||||
|
||||
|
||||
services:
|
||||
mongo1:
|
||||
@@ -100,11 +101,12 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${MONGO_REPLICA_SINGLE_INIT_CPU_LIMIT:-1.00}
|
||||
memory: ${MONGO_REPLICA_SINGLE_INIT_MEMORY_LIMIT:-2048M}
|
||||
reservations:
|
||||
cpus: '0.10'
|
||||
memory: 128M
|
||||
cpus: ${MONGO_REPLICA_SINGLE_INIT_CPU_RESERVATION:-0.50}
|
||||
memory: ${MONGO_REPLICA_SINGLE_INIT_MEMORY_RESERVATION:-1024M}
|
||||
|
||||
|
||||
volumes:
|
||||
mongo_data:
|
||||
|
||||
@@ -36,11 +36,11 @@ x-mongo: &mongo
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.50'
|
||||
memory: 1G
|
||||
cpus: ${MONGO_REPLICA_CPU_LIMIT:-1.00}
|
||||
memory: ${MONGO_REPLICA_MEMORY_LIMIT:-2048M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${MONGO_REPLICA_CPU_RESERVATION:-0.50}
|
||||
memory: ${MONGO_REPLICA_MEMORY_RESERVATION:-1024M}
|
||||
|
||||
services:
|
||||
mongo1:
|
||||
@@ -117,8 +117,8 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${MONGO_REPLICA_INIT_CPU_LIMIT:-1.00}
|
||||
memory: ${MONGO_REPLICA_INIT_MEMORY_LIMIT:-2048M}
|
||||
reservations:
|
||||
cpus: '0.10'
|
||||
memory: 128M
|
||||
cpus: ${MONGO_REPLICA_INIT_CPU_RESERVATION:-0.50}
|
||||
memory: ${MONGO_REPLICA_INIT_MEMORY_RESERVATION:-1024M}
|
||||
|
||||
@@ -19,20 +19,21 @@ services:
|
||||
- "${MONGO_PORT_OVERRIDE:-27017}:27017"
|
||||
volumes:
|
||||
- mongo_data:/data/db
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.50'
|
||||
memory: 1G
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
healthcheck:
|
||||
test: ["CMD", "mongosh", "--eval", "db.adminCommand('ping')"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: ${MONGO_CPU_LIMIT:-1.00}
|
||||
memory: ${MONGO_MEMORY_LIMIT:-2048M}
|
||||
reservations:
|
||||
cpus: ${MONGO_CPU_RESERVATION:-0.50}
|
||||
memory: ${MONGO_MEMORY_RESERVATION:-1024M}
|
||||
|
||||
|
||||
volumes:
|
||||
mongo_data:
|
||||
|
||||
@@ -24,11 +24,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
cpus: ${MYSQL_CPU_LIMIT:-2.0}
|
||||
memory: ${MYSQL_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${MYSQL_CPU_RESERVATION:-0.5}
|
||||
memory: ${MYSQL_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-p$$MYSQL_ROOT_PASSWORD"]
|
||||
interval: 30s
|
||||
|
||||
@@ -42,11 +42,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
cpus: ${N8N_CPU_LIMIT:-2.0}
|
||||
memory: ${N8N_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${N8N_CPU_RESERVATION:-0.5}
|
||||
memory: ${N8N_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5678/healthz"]
|
||||
interval: 30s
|
||||
@@ -59,27 +59,19 @@ services:
|
||||
image: ${GLOBAL_REGISTRY:-}postgres:${POSTGRES_VERSION:-17.2-alpine3.21}
|
||||
environment:
|
||||
- TZ=${TZ:-UTC}
|
||||
- POSTGRES_USER=${DB_POSTGRESDB_USER:-n8n}
|
||||
- POSTGRES_PASSWORD=${DB_POSTGRESDB_PASSWORD:-n8n123}
|
||||
- POSTGRES_DB=${DB_POSTGRESDB_DATABASE:-n8n}
|
||||
- POSTGRES_USER=${POSTGRES_USER:-n8n}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-}
|
||||
- POSTGRES_DB=${POSTGRES_DB:-n8n}
|
||||
volumes:
|
||||
- n8n_db_data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${DB_POSTGRESDB_USER:-n8n}"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 30s
|
||||
profiles:
|
||||
- postgres
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${N8N_DB_CPU_LIMIT:-1.0}
|
||||
memory: ${N8N_DB_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${N8N_DB_CPU_RESERVATION:-0.5}
|
||||
memory: ${N8N_DB_MEMORY_RESERVATION:-512M}
|
||||
|
||||
volumes:
|
||||
n8n_data:
|
||||
|
||||
@@ -31,11 +31,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${NACOS_CPU_LIMIT:-1.0}
|
||||
memory: ${NACOS_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${NACOS_CPU_RESERVATION:-0.5}
|
||||
memory: ${NACOS_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8848/nacos/"]
|
||||
interval: 30s
|
||||
|
||||
@@ -30,11 +30,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${NEBULA_METAD_CPU_LIMIT:-0.5}
|
||||
memory: ${NEBULA_METAD_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${NEBULA_METAD_CPU_RESERVATION:-0.25}
|
||||
memory: ${NEBULA_METAD_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "/usr/local/nebula/bin/nebula-metad", "--version"]
|
||||
interval: 30s
|
||||
@@ -68,11 +68,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${NEBULA_STORAGED_CPU_LIMIT:-1.0}
|
||||
memory: ${NEBULA_STORAGED_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${NEBULA_STORAGED_CPU_RESERVATION:-0.5}
|
||||
memory: ${NEBULA_STORAGED_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD", "/usr/local/nebula/bin/nebula-storaged", "--version"]
|
||||
interval: 30s
|
||||
@@ -106,11 +106,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${NEBULA_GRAPHD_CPU_LIMIT:-1.0}
|
||||
memory: ${NEBULA_GRAPHD_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${NEBULA_GRAPHD_CPU_RESERVATION:-0.5}
|
||||
memory: ${NEBULA_GRAPHD_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD", "/usr/local/nebula/bin/nebula-graphd", "--version"]
|
||||
interval: 30s
|
||||
|
||||
@@ -28,11 +28,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
cpus: ${NEO4J_CPU_LIMIT:-2.0}
|
||||
memory: ${NEO4J_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 1G
|
||||
cpus: ${NEO4J_CPU_RESERVATION:-0.5}
|
||||
memory: ${NEO4J_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:7474/"]
|
||||
interval: 30s
|
||||
|
||||
@@ -28,11 +28,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 512M
|
||||
cpus: ${NGINX_CPU_LIMIT:-1.00}
|
||||
memory: ${NGINX_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 64M
|
||||
cpus: ${NGINX_CPU_RESERVATION:-0.25}
|
||||
memory: ${NGINX_MEMORY_RESERVATION:-64M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/"]
|
||||
interval: 30s
|
||||
|
||||
@@ -24,11 +24,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.25'
|
||||
memory: 128M
|
||||
cpus: ${NODE_EXPORTER_CPU_LIMIT:-0.25}
|
||||
memory: ${NODE_EXPORTER_MEMORY_LIMIT:-128M}
|
||||
reservations:
|
||||
cpus: '0.1'
|
||||
memory: 64M
|
||||
cpus: ${NODE_EXPORTER_CPU_RESERVATION:-0.1}
|
||||
memory: ${NODE_EXPORTER_MEMORY_RESERVATION:-64M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:9100/metrics"]
|
||||
interval: 30s
|
||||
|
||||
@@ -28,11 +28,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '4.0'
|
||||
memory: 10G
|
||||
cpus: ${OCEANBASE_CPU_LIMIT:-4.0}
|
||||
memory: ${OCEANBASE_MEMORY_LIMIT:-10G}
|
||||
reservations:
|
||||
cpus: '2.0'
|
||||
memory: 8G
|
||||
cpus: ${OCEANBASE_CPU_RESERVATION:-2.0}
|
||||
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"]
|
||||
interval: 30s
|
||||
|
||||
@@ -28,11 +28,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
cpus: ${ODOO_CPU_LIMIT:-2.0}
|
||||
memory: ${ODOO_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 1G
|
||||
cpus: ${ODOO_CPU_RESERVATION:-0.5}
|
||||
memory: ${ODOO_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8069/"]
|
||||
interval: 30s
|
||||
@@ -54,11 +54,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${ODOO_DB_CPU_LIMIT:-1.0}
|
||||
memory: ${ODOO_DB_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 512M
|
||||
cpus: ${ODOO_DB_CPU_RESERVATION:-0.25}
|
||||
memory: ${ODOO_DB_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-odoo}"]
|
||||
interval: 10s
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Ollama Version
|
||||
OLLAMA_VERSION=0.12.0
|
||||
OLLAMA_VERSION=0.12.10
|
||||
|
||||
# Port to bind to on the host machine
|
||||
OLLAMA_PORT_OVERRIDE=11434
|
||||
|
||||
@@ -9,7 +9,7 @@ x-defaults: &defaults
|
||||
services:
|
||||
ollama:
|
||||
<<: *defaults
|
||||
image: ${GLOBAL_REGISTRY:-}ollama/ollama:${OLLAMA_VERSION:-0.12.6}
|
||||
image: ${GLOBAL_REGISTRY:-}ollama/ollama:${OLLAMA_VERSION:-0.12.10}
|
||||
ports:
|
||||
- "${OLLAMA_PORT_OVERRIDE:-11434}:11434"
|
||||
volumes:
|
||||
@@ -17,24 +17,24 @@ services:
|
||||
environment:
|
||||
- TZ=${TZ:-UTC}
|
||||
ipc: host
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '8.0'
|
||||
memory: 4G
|
||||
reservations:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
devices:
|
||||
- driver: nvidia
|
||||
device_ids: [ '0' ]
|
||||
capabilities: [ gpu ]
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:11434/"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: ${OLLAMA_CPU_LIMIT:-8.0}
|
||||
memory: ${OLLAMA_MEMORY_LIMIT:-16G}
|
||||
reservations:
|
||||
cpus: ${OLLAMA_CPU_RESERVATION:-2.0}
|
||||
memory: ${OLLAMA_MEMORY_RESERVATION:-4G}
|
||||
devices:
|
||||
- driver: nvidia
|
||||
device_ids: [ '0' ]
|
||||
capabilities: [ gpu ]
|
||||
|
||||
volumes:
|
||||
ollama_models:
|
||||
|
||||
@@ -21,11 +21,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1'
|
||||
memory: 512M
|
||||
cpus: ${OPEN_WEBUI_CPU_LIMIT:-1}
|
||||
memory: ${OPEN_WEBUI_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.1'
|
||||
memory: 128M
|
||||
cpus: ${OPEN_WEBUI_CPU_RESERVATION:-0.1}
|
||||
memory: ${OPEN_WEBUI_MEMORY_RESERVATION:-128M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/health"]
|
||||
interval: 30s
|
||||
|
||||
@@ -24,5 +24,5 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.1'
|
||||
memory: 64M
|
||||
cpus: ${OPENCOZE_INFO_CPU_LIMIT:-0.1}
|
||||
memory: ${OPENCOZE_INFO_MEMORY_LIMIT:-64M}
|
||||
|
||||
@@ -28,11 +28,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.00'
|
||||
memory: 1G
|
||||
cpus: ${OPENCUT_DB_CPU_LIMIT:-2.00}
|
||||
memory: ${OPENCUT_DB_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.50'
|
||||
memory: 256M
|
||||
cpus: ${OPENCUT_DB_CPU_RESERVATION:-0.50}
|
||||
memory: ${OPENCUT_DB_MEMORY_RESERVATION:-256M}
|
||||
|
||||
redis:
|
||||
<<: *defaults
|
||||
@@ -48,11 +48,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 512M
|
||||
cpus: ${OPENCUT_REDIS_CPU_LIMIT:-1.00}
|
||||
memory: ${OPENCUT_REDIS_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 128M
|
||||
cpus: ${OPENCUT_REDIS_CPU_RESERVATION:-0.25}
|
||||
memory: ${OPENCUT_REDIS_MEMORY_RESERVATION:-128M}
|
||||
|
||||
serverless-redis-http:
|
||||
<<: *defaults
|
||||
@@ -75,11 +75,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 256M
|
||||
cpus: ${OPENCUT_SRH_CPU_LIMIT:-1.00}
|
||||
memory: ${OPENCUT_SRH_MEMORY_LIMIT:-256M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 64M
|
||||
cpus: ${OPENCUT_SRH_CPU_RESERVATION:-0.25}
|
||||
memory: ${OPENCUT_SRH_MEMORY_RESERVATION:-64M}
|
||||
|
||||
web:
|
||||
<<: *defaults
|
||||
@@ -116,11 +116,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.00'
|
||||
memory: 2G
|
||||
cpus: ${OPENCUT_WEB_CPU_LIMIT:-2.00}
|
||||
memory: ${OPENCUT_WEB_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.50'
|
||||
memory: 512M
|
||||
cpus: ${OPENCUT_WEB_CPU_RESERVATION:-0.50}
|
||||
memory: ${OPENCUT_WEB_MEMORY_RESERVATION:-512M}
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
|
||||
@@ -22,11 +22,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${OPENLIST_CPU_LIMIT:-1.0}
|
||||
memory: ${OPENLIST_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${OPENLIST_CPU_RESERVATION:-0.25}
|
||||
memory: ${OPENLIST_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5244/"]
|
||||
interval: 30s
|
||||
|
||||
@@ -34,11 +34,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
cpus: ${OPENSEARCH_CPU_LIMIT:-2.0}
|
||||
memory: ${OPENSEARCH_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${OPENSEARCH_CPU_RESERVATION:-1.0}
|
||||
memory: ${OPENSEARCH_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:9200/_cluster/health || exit 1"]
|
||||
interval: 30s
|
||||
@@ -61,11 +61,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${OPENSEARCH_DASHBOARDS_CPU_LIMIT:-1.0}
|
||||
memory: ${OPENSEARCH_DASHBOARDS_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${OPENSEARCH_DASHBOARDS_CPU_RESERVATION:-0.5}
|
||||
memory: ${OPENSEARCH_DASHBOARDS_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5601/api/status"]
|
||||
interval: 30s
|
||||
|
||||
@@ -35,11 +35,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${POCKETBASE_CPU_LIMIT:-0.25}
|
||||
memory: ${POCKETBASE_MEMORY_LIMIT:-256M}
|
||||
reservations:
|
||||
cpus: '0.1'
|
||||
memory: 128M
|
||||
cpus: ${POCKETBASE_CPU_RESERVATION:-0.1}
|
||||
memory: ${POCKETBASE_MEMORY_RESERVATION:-128M}
|
||||
|
||||
volumes:
|
||||
pb_data:
|
||||
|
||||
@@ -29,11 +29,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 512M
|
||||
cpus: ${PORTAINER_CPU_LIMIT:-1.00}
|
||||
memory: ${PORTAINER_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 128M
|
||||
cpus: ${PORTAINER_CPU_RESERVATION:-0.25}
|
||||
memory: ${PORTAINER_MEMORY_RESERVATION:-128M}
|
||||
|
||||
volumes:
|
||||
portainer_data:
|
||||
|
||||
@@ -23,8 +23,8 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 512M
|
||||
cpus: ${PORTKEY_GATEWAY_CPU_LIMIT:-1.00}
|
||||
memory: ${PORTKEY_GATEWAY_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 128M
|
||||
cpus: ${PORTKEY_GATEWAY_CPU_RESERVATION:-0.25}
|
||||
memory: ${PORTKEY_GATEWAY_MEMORY_RESERVATION:-128M}
|
||||
|
||||
@@ -25,11 +25,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
cpus: ${POSTGRES_CPU_LIMIT:-2.0}
|
||||
memory: ${POSTGRES_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${POSTGRES_CPU_RESERVATION:-0.5}
|
||||
memory: ${POSTGRES_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
|
||||
interval: 30s
|
||||
|
||||
@@ -36,11 +36,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 2G
|
||||
cpus: ${PROMETHEUS_CPU_LIMIT:-1.0}
|
||||
memory: ${PROMETHEUS_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 512M
|
||||
cpus: ${PROMETHEUS_CPU_RESERVATION:-0.25}
|
||||
memory: ${PROMETHEUS_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:9090/-/healthy"]
|
||||
interval: 30s
|
||||
|
||||
@@ -29,11 +29,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '4.0'
|
||||
memory: 16G
|
||||
cpus: ${PYTORCH_CPU_LIMIT:-4.0}
|
||||
memory: ${PYTORCH_MEMORY_LIMIT:-16G}
|
||||
reservations:
|
||||
cpus: '2.0'
|
||||
memory: 8G
|
||||
cpus: ${PYTORCH_CPU_RESERVATION:-2.0}
|
||||
memory: ${PYTORCH_MEMORY_RESERVATION:-8G}
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: ${GPU_COUNT:-1}
|
||||
|
||||
@@ -22,11 +22,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${QDRANT_CPU_LIMIT:-1.0}
|
||||
memory: ${QDRANT_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 256M
|
||||
cpus: ${QDRANT_CPU_RESERVATION:-0.5}
|
||||
memory: ${QDRANT_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:6333/"]
|
||||
interval: 30s
|
||||
|
||||
@@ -22,11 +22,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${RABBITMQ_CPU_LIMIT:-1.0}
|
||||
memory: ${RABBITMQ_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${RABBITMQ_CPU_RESERVATION:-0.5}
|
||||
memory: ${RABBITMQ_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD", "rabbitmq-diagnostics", "-q", "ping"]
|
||||
interval: 30s
|
||||
|
||||
@@ -24,11 +24,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '4.0'
|
||||
memory: 8G
|
||||
cpus: ${RAY_HEAD_CPU_LIMIT:-4.0}
|
||||
memory: ${RAY_HEAD_MEMORY_LIMIT:-8G}
|
||||
reservations:
|
||||
cpus: '2.0'
|
||||
memory: 4G
|
||||
cpus: ${RAY_HEAD_CPU_RESERVATION:-2.0}
|
||||
memory: ${RAY_HEAD_MEMORY_RESERVATION:-4G}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8265/"]
|
||||
interval: 30s
|
||||
@@ -50,11 +50,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 4G
|
||||
cpus: ${RAY_WORKER_1_CPU_LIMIT:-2.0}
|
||||
memory: ${RAY_WORKER_1_MEMORY_LIMIT:-4G}
|
||||
reservations:
|
||||
cpus: '1.0'
|
||||
memory: 2G
|
||||
cpus: ${RAY_WORKER_1_CPU_RESERVATION:-1.0}
|
||||
memory: ${RAY_WORKER_1_MEMORY_RESERVATION:-2G}
|
||||
|
||||
ray-worker-2:
|
||||
<<: *defaults
|
||||
@@ -70,11 +70,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 4G
|
||||
cpus: ${RAY_WORKER_2_CPU_LIMIT:-2.0}
|
||||
memory: ${RAY_WORKER_2_MEMORY_LIMIT:-4G}
|
||||
reservations:
|
||||
cpus: '1.0'
|
||||
memory: 2G
|
||||
cpus: ${RAY_WORKER_2_CPU_RESERVATION:-1.0}
|
||||
memory: ${RAY_WORKER_2_MEMORY_RESERVATION:-2G}
|
||||
|
||||
volumes:
|
||||
ray_storage:
|
||||
|
||||
@@ -49,11 +49,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${REDIS_CLUSTER_1_CPU_LIMIT:-0.5}
|
||||
memory: ${REDIS_CLUSTER_1_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${REDIS_CLUSTER_1_CPU_RESERVATION:-0.25}
|
||||
memory: ${REDIS_CLUSTER_1_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 10s
|
||||
@@ -74,11 +74,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${REDIS_CLUSTER_2_CPU_LIMIT:-0.5}
|
||||
memory: ${REDIS_CLUSTER_2_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${REDIS_CLUSTER_2_CPU_RESERVATION:-0.25}
|
||||
memory: ${REDIS_CLUSTER_2_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 10s
|
||||
@@ -99,11 +99,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${REDIS_CLUSTER_3_CPU_LIMIT:-0.5}
|
||||
memory: ${REDIS_CLUSTER_3_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${REDIS_CLUSTER_3_CPU_RESERVATION:-0.25}
|
||||
memory: ${REDIS_CLUSTER_3_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 10s
|
||||
@@ -124,11 +124,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${REDIS_CLUSTER_4_CPU_LIMIT:-0.5}
|
||||
memory: ${REDIS_CLUSTER_4_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${REDIS_CLUSTER_4_CPU_RESERVATION:-0.25}
|
||||
memory: ${REDIS_CLUSTER_4_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 10s
|
||||
@@ -149,11 +149,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${REDIS_CLUSTER_5_CPU_LIMIT:-0.5}
|
||||
memory: ${REDIS_CLUSTER_5_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${REDIS_CLUSTER_5_CPU_RESERVATION:-0.25}
|
||||
memory: ${REDIS_CLUSTER_5_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 10s
|
||||
@@ -174,11 +174,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${REDIS_CLUSTER_6_CPU_LIMIT:-0.5}
|
||||
memory: ${REDIS_CLUSTER_6_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${REDIS_CLUSTER_6_CPU_RESERVATION:-0.25}
|
||||
memory: ${REDIS_CLUSTER_6_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 10s
|
||||
|
||||
@@ -35,11 +35,11 @@ x-restate: &restate-defaults
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.00'
|
||||
memory: 2G
|
||||
cpus: ${RESTATE_CLUSTER_CPU_LIMIT:-2.00}
|
||||
memory: ${RESTATE_CLUSTER_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.50'
|
||||
memory: 512M
|
||||
cpus: ${RESTATE_CLUSTER_CPU_RESERVATION:-0.50}
|
||||
memory: ${RESTATE_CLUSTER_MEMORY_RESERVATION:-512M}
|
||||
|
||||
services:
|
||||
restate-1:
|
||||
@@ -133,11 +133,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 512M
|
||||
cpus: ${RESTATE_CLUSTER_MINIO_CPU_LIMIT:-1.00}
|
||||
memory: ${RESTATE_CLUSTER_MINIO_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 128M
|
||||
cpus: ${RESTATE_CLUSTER_MINIO_CPU_RESERVATION:-0.25}
|
||||
memory: ${RESTATE_CLUSTER_MINIO_MEMORY_RESERVATION:-128M}
|
||||
|
||||
volumes:
|
||||
restate_data:
|
||||
|
||||
@@ -29,11 +29,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.00'
|
||||
memory: 2G
|
||||
cpus: ${RESTATE_CPU_LIMIT:-2.00}
|
||||
memory: ${RESTATE_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.50'
|
||||
memory: 512M
|
||||
cpus: ${RESTATE_CPU_RESERVATION:-0.50}
|
||||
memory: ${RESTATE_MEMORY_RESERVATION:-512M}
|
||||
|
||||
volumes:
|
||||
restate_data:
|
||||
|
||||
@@ -21,11 +21,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${ROCKETMQ_NAMESRV_CPU_LIMIT:-1.0}
|
||||
memory: ${ROCKETMQ_NAMESRV_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 512M
|
||||
cpus: ${ROCKETMQ_NAMESRV_CPU_RESERVATION:-0.25}
|
||||
memory: ${ROCKETMQ_NAMESRV_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "mqadmin clusterList -n localhost:9876 || exit 1"]
|
||||
interval: 30s
|
||||
@@ -54,11 +54,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
cpus: ${ROCKETMQ_BROKER_CPU_LIMIT:-2.0}
|
||||
memory: ${ROCKETMQ_BROKER_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 1G
|
||||
cpus: ${ROCKETMQ_BROKER_CPU_RESERVATION:-0.5}
|
||||
memory: ${ROCKETMQ_BROKER_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "mqadmin clusterList -n namesrv:9876 | grep -q broker || exit 1"]
|
||||
interval: 30s
|
||||
@@ -80,11 +80,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 512M
|
||||
cpus: ${ROCKETMQ_DASHBOARD_CPU_LIMIT:-1.0}
|
||||
memory: ${ROCKETMQ_DASHBOARD_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${ROCKETMQ_DASHBOARD_CPU_RESERVATION:-0.25}
|
||||
memory: ${ROCKETMQ_DASHBOARD_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://localhost:8080 || exit 1"]
|
||||
interval: 30s
|
||||
|
||||
@@ -33,11 +33,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.50'
|
||||
memory: 256M
|
||||
cpus: ${SEARXNG_CADDY_CPU_LIMIT:-0.50}
|
||||
memory: ${SEARXNG_CADDY_MEMORY_LIMIT:-256M}
|
||||
reservations:
|
||||
cpus: '0.10'
|
||||
memory: 64M
|
||||
cpus: ${SEARXNG_CADDY_CPU_RESERVATION:-0.10}
|
||||
memory: ${SEARXNG_CADDY_MEMORY_RESERVATION:-64M}
|
||||
|
||||
redis:
|
||||
<<: *defaults
|
||||
@@ -62,11 +62,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.50'
|
||||
memory: 256M
|
||||
cpus: ${SEARXNG_REDIS_CPU_LIMIT:-0.50}
|
||||
memory: ${SEARXNG_REDIS_MEMORY_LIMIT:-256M}
|
||||
reservations:
|
||||
cpus: '0.10'
|
||||
memory: 64M
|
||||
cpus: ${SEARXNG_REDIS_CPU_RESERVATION:-0.10}
|
||||
memory: ${SEARXNG_REDIS_MEMORY_RESERVATION:-64M}
|
||||
|
||||
searxng:
|
||||
<<: *defaults
|
||||
@@ -100,11 +100,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 1G
|
||||
cpus: ${SEARXNG_CPU_LIMIT:-1.00}
|
||||
memory: ${SEARXNG_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${SEARXNG_CPU_RESERVATION:-0.25}
|
||||
memory: ${SEARXNG_MEMORY_RESERVATION:-256M}
|
||||
|
||||
networks:
|
||||
searxng:
|
||||
|
||||
@@ -23,11 +23,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '4.0'
|
||||
memory: 16G
|
||||
cpus: ${SD_WEBUI_CPU_LIMIT:-4.0}
|
||||
memory: ${SD_WEBUI_MEMORY_LIMIT:-16G}
|
||||
reservations:
|
||||
cpus: '2.0'
|
||||
memory: 8G
|
||||
cpus: ${SD_WEBUI_CPU_RESERVATION:-2.0}
|
||||
memory: ${SD_WEBUI_MEMORY_RESERVATION:-8G}
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: ${GPU_COUNT:-1}
|
||||
|
||||
@@ -38,11 +38,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 4G
|
||||
cpus: ${STIRLING_CPU_LIMIT:-2.0}
|
||||
memory: ${STIRLING_MEMORY_LIMIT:-4G}
|
||||
reservations:
|
||||
cpus: '1.0'
|
||||
memory: 2G
|
||||
cpus: ${STIRLING_CPU_RESERVATION:-1.0}
|
||||
memory: ${STIRLING_MEMORY_RESERVATION:-2G}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/"]
|
||||
interval: 30s
|
||||
|
||||
@@ -130,11 +130,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
cpus: "0.1"
|
||||
memory: "128M"
|
||||
cpus: ${TEMPORAL_CLI_CPU_RESERVATION:-0.1}
|
||||
memory: ${TEMPORAL_CLI_MEMORY_RESERVATION:-128M}
|
||||
limits:
|
||||
cpus: "0.5"
|
||||
memory: "256M"
|
||||
cpus: ${TEMPORAL_CLI_CPU_LIMIT:-0.5}
|
||||
memory: ${TEMPORAL_CLI_MEMORY_LIMIT:-256M}
|
||||
|
||||
postgres:
|
||||
<<: *defaults
|
||||
|
||||
@@ -26,11 +26,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${TIDB_PD_CPU_LIMIT:-1.0}
|
||||
memory: ${TIDB_PD_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 512M
|
||||
cpus: ${TIDB_PD_CPU_RESERVATION:-0.25}
|
||||
memory: ${TIDB_PD_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O - http://localhost:2379/health || exit 1"]
|
||||
interval: 30s
|
||||
@@ -58,11 +58,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
cpus: ${TIDB_TIKV_CPU_LIMIT:-2.0}
|
||||
memory: ${TIDB_TIKV_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 1G
|
||||
cpus: ${TIDB_TIKV_CPU_RESERVATION:-0.5}
|
||||
memory: ${TIDB_TIKV_MEMORY_RESERVATION:-1G}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O - http://localhost:20180/status || exit 1"]
|
||||
interval: 30s
|
||||
@@ -88,11 +88,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 2G
|
||||
cpus: ${TIDB_CPU_LIMIT:-2.0}
|
||||
memory: ${TIDB_MEMORY_LIMIT:-2G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 512M
|
||||
cpus: ${TIDB_CPU_RESERVATION:-0.5}
|
||||
memory: ${TIDB_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O - http://localhost:10080/status || exit 1"]
|
||||
interval: 30s
|
||||
|
||||
@@ -27,11 +27,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${TIKV_PD_CPU_LIMIT:-1.0}
|
||||
memory: ${TIKV_PD_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 512M
|
||||
cpus: ${TIKV_PD_CPU_RESERVATION:-0.25}
|
||||
memory: ${TIKV_PD_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O - http://localhost:2379/health || exit 1"]
|
||||
interval: 30s
|
||||
@@ -63,11 +63,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '2.0'
|
||||
memory: 4G
|
||||
cpus: ${TIKV_CPU_LIMIT:-2.0}
|
||||
memory: ${TIKV_MEMORY_LIMIT:-4G}
|
||||
reservations:
|
||||
cpus: '0.5'
|
||||
memory: 2G
|
||||
cpus: ${TIKV_CPU_RESERVATION:-0.5}
|
||||
memory: ${TIKV_MEMORY_RESERVATION:-2G}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O - http://localhost:20180/status || exit 1"]
|
||||
interval: 30s
|
||||
|
||||
@@ -28,11 +28,11 @@ x-valkey-node: &valkey-node
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.50'
|
||||
memory: 512M
|
||||
cpus: ${VALKEY_CLUSTER_CPU_LIMIT:-0.50}
|
||||
memory: ${VALKEY_CLUSTER_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${VALKEY_CLUSTER_CPU_RESERVATION:-0.25}
|
||||
memory: ${VALKEY_CLUSTER_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "valkey-cli", "-a", "${VALKEY_PASSWORD:-passw0rd}", "ping"]
|
||||
interval: 10s
|
||||
@@ -125,8 +125,8 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.10'
|
||||
memory: 128M
|
||||
cpus: ${VALKEY_CLUSTER_INIT_CPU_LIMIT:-0.10}
|
||||
memory: ${VALKEY_CLUSTER_INIT_MEMORY_LIMIT:-128M}
|
||||
|
||||
volumes:
|
||||
valkey_data_1:
|
||||
|
||||
@@ -30,11 +30,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '0.50'
|
||||
memory: 512M
|
||||
cpus: ${VALKEY_CPU_LIMIT:-0.50}
|
||||
memory: ${VALKEY_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 256M
|
||||
cpus: ${VALKEY_CPU_RESERVATION:-0.25}
|
||||
memory: ${VALKEY_MEMORY_RESERVATION:-256M}
|
||||
healthcheck:
|
||||
test: ["CMD", "valkey-cli", "ping"]
|
||||
interval: 10s
|
||||
|
||||
@@ -30,11 +30,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.00'
|
||||
memory: 512M
|
||||
cpus: ${VERDACCIO_CPU_LIMIT:-1.00}
|
||||
memory: ${VERDACCIO_MEMORY_LIMIT:-512M}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 128M
|
||||
cpus: ${VERDACCIO_CPU_RESERVATION:-0.25}
|
||||
memory: ${VERDACCIO_MEMORY_RESERVATION:-128M}
|
||||
|
||||
networks:
|
||||
verdaccio:
|
||||
|
||||
@@ -31,11 +31,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '4.0'
|
||||
memory: 8G
|
||||
cpus: ${VLLM_CPU_LIMIT:-4.0}
|
||||
memory: ${VLLM_MEMORY_LIMIT:-8G}
|
||||
reservations:
|
||||
cpus: '2.0'
|
||||
memory: 4G
|
||||
cpus: ${VLLM_CPU_RESERVATION:-2.0}
|
||||
memory: ${VLLM_MEMORY_RESERVATION:-4G}
|
||||
# Uncomment for GPU support
|
||||
# devices:
|
||||
# - driver: nvidia
|
||||
|
||||
@@ -152,11 +152,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
cpus: "0.1"
|
||||
memory: "128M"
|
||||
cpus: ${WINDMILL_LSP_CPU_RESERVATION:-0.1}
|
||||
memory: ${WINDMILL_LSP_MEMORY_RESERVATION:-128M}
|
||||
limits:
|
||||
cpus: "0.5"
|
||||
memory: "512M"
|
||||
cpus: ${WINDMILL_LSP_CPU_LIMIT:-0.5}
|
||||
memory: ${WINDMILL_LSP_MEMORY_LIMIT:-512M}
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
|
||||
@@ -29,11 +29,11 @@ services:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: '1.0'
|
||||
memory: 1G
|
||||
cpus: ${ZOOKEEPER_CPU_LIMIT:-1.0}
|
||||
memory: ${ZOOKEEPER_MEMORY_LIMIT:-1G}
|
||||
reservations:
|
||||
cpus: '0.25'
|
||||
memory: 512M
|
||||
cpus: ${ZOOKEEPER_CPU_RESERVATION:-0.25}
|
||||
memory: ${ZOOKEEPER_MEMORY_RESERVATION:-512M}
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "echo ruok | nc localhost 2181 | grep imok"]
|
||||
interval: 30s
|
||||
|
||||
Reference in New Issue
Block a user