style: lint code

This commit is contained in:
Sun-ZhenXing
2026-02-23 17:41:05 +08:00
parent ced072de66
commit 7e14b01b78
240 changed files with 4301 additions and 1539 deletions

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-api-gateway:
@@ -14,9 +14,9 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_API_GATEWAY_PORT_OVERRIDE:-8000}:8000"
- '${MCP_API_GATEWAY_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-arxiv:
@@ -15,11 +15,11 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_ARXIV_PORT_OVERRIDE:-8000}:8000"
- '${MCP_ARXIV_PORT_OVERRIDE:-8000}:8000'
volumes:
- arxiv_data:/data/papers
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-basic-memory:
@@ -14,11 +14,11 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_BASIC_MEMORY_PORT_OVERRIDE:-8000}:8000"
- '${MCP_BASIC_MEMORY_PORT_OVERRIDE:-8000}:8000'
volumes:
- basic_memory_data:/data
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-clickhouse:
@@ -17,9 +17,9 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_CLICKHOUSE_PORT_OVERRIDE:-8000}:8000"
- '${MCP_CLICKHOUSE_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-docker:
@@ -15,11 +15,11 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_DOCKER_PORT_OVERRIDE:-8000}:8000"
- '${MCP_DOCKER_PORT_OVERRIDE:-8000}:8000'
volumes:
- /var/run/docker.sock:/var/run/docker.sock
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
dockerhub:
@@ -17,9 +17,9 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${DOCKERHUB_MCP_PORT_OVERRIDE:-8000}:8000"
- '${DOCKERHUB_MCP_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-e2b:
@@ -15,9 +15,9 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_E2B_PORT_OVERRIDE:-8000}:8000"
- '${MCP_E2B_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -3,8 +3,8 @@ x-defaults: &defaults
logging:
driver: json-file
options:
max-size: "100m"
max-file: "3"
max-size: 100m
max-file: '3'
deploy:
resources:
limits:
@@ -23,9 +23,9 @@ services:
- TZ=${TZ:-UTC}
- ELEVENLABS_API_KEY=${ELEVENLABS_API_KEY}
ports:
- "${MCP_ELEVENLABS_PORT_OVERRIDE:-8000}:8000"
- '${MCP_ELEVENLABS_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8000/health"]
test: [CMD, wget, --quiet, --tries=1, --spider, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-fetch:
@@ -14,9 +14,9 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_FETCH_PORT_OVERRIDE:-8000}:8000"
- '${MCP_FETCH_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-filesystem:
@@ -14,11 +14,11 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_FILESYSTEM_PORT_OVERRIDE:-8000}:8000"
- '${MCP_FILESYSTEM_PORT_OVERRIDE:-8000}:8000'
volumes:
- ${DATA_DIR:-./data}:/data
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -3,8 +3,8 @@ x-defaults: &defaults
logging:
driver: json-file
options:
max-size: "100m"
max-file: "3"
max-size: 100m
max-file: '3'
deploy:
resources:
limits:
@@ -23,9 +23,9 @@ services:
- TZ=${TZ:-UTC}
- FIRECRAWL_API_KEY=${FIRECRAWL_API_KEY}
ports:
- "${MCP_FIRECRAWL_PORT_OVERRIDE:-8000}:8000"
- '${MCP_FIRECRAWL_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8000/health"]
test: [CMD, wget, --quiet, --tries=1, --spider, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-grafana:
@@ -16,12 +16,12 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_GRAFANA_PORT_OVERRIDE:-8000}:8000"
- '${MCP_GRAFANA_PORT_OVERRIDE:-8000}:8000'
depends_on:
grafana:
condition: service_healthy
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3
@@ -45,13 +45,13 @@ services:
- GF_SERVER_ROOT_URL=${GRAFANA_ROOT_URL:-http://localhost:3000}
- TZ=${TZ:-UTC}
ports:
- "${GRAFANA_PORT_OVERRIDE:-3000}:3000"
- '${GRAFANA_PORT_OVERRIDE:-3000}:3000'
volumes:
- grafana_data:/var/lib/grafana
- grafana_config:/etc/grafana
- grafana_logs:/var/log/grafana
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000/api/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:3000/api/health']
interval: 10s
timeout: 5s
retries: 5

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-markdownify:
@@ -14,9 +14,9 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_MARKDOWNIFY_PORT_OVERRIDE:-8000}:8000"
- '${MCP_MARKDOWNIFY_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-markitdown:
@@ -14,11 +14,11 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_MARKITDOWN_PORT_OVERRIDE:-8000}:8000"
- '${MCP_MARKITDOWN_PORT_OVERRIDE:-8000}:8000'
volumes:
- ${DATA_DIR:-./data}:/data
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-memory:
@@ -14,11 +14,11 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_MEMORY_PORT_OVERRIDE:-8000}:8000"
- '${MCP_MEMORY_PORT_OVERRIDE:-8000}:8000'
volumes:
- memory_data:/data
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-mongodb:
@@ -16,12 +16,12 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_MONGODB_PORT_OVERRIDE:-8000}:8000"
- '${MCP_MONGODB_PORT_OVERRIDE:-8000}:8000'
depends_on:
mongodb:
condition: service_healthy
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3
@@ -44,12 +44,12 @@ services:
- MONGO_INITDB_DATABASE=${MONGODB_DATABASE:-mcp_db}
- TZ=${TZ:-UTC}
ports:
- "${MONGODB_PORT_OVERRIDE:-27017}:27017"
- '${MONGODB_PORT_OVERRIDE:-27017}:27017'
volumes:
- mongodb_data:/data/db
- mongodb_config:/data/configdb
healthcheck:
test: ["CMD", "mongosh", "--eval", "db.adminCommand('ping')"]
test: [CMD, mongosh, --eval, "db.adminCommand('ping')"]
interval: 10s
timeout: 5s
retries: 5

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-neo4j-cypher:
@@ -17,9 +17,9 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_NEO4J_CYPHER_PORT_OVERRIDE:-8000}:8000"
- '${MCP_NEO4J_CYPHER_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-neo4j-memory:
@@ -17,9 +17,9 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_NEO4J_MEMORY_PORT_OVERRIDE:-8000}:8000"
- '${MCP_NEO4J_MEMORY_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-notion:
@@ -15,9 +15,9 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_NOTION_PORT_OVERRIDE:-8000}:8000"
- '${MCP_NOTION_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-openapi-schema:
@@ -14,9 +14,9 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_OPENAPI_SCHEMA_PORT_OVERRIDE:-8000}:8000"
- '${MCP_OPENAPI_SCHEMA_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-openapi:
@@ -14,9 +14,9 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_OPENAPI_PORT_OVERRIDE:-8000}:8000"
- '${MCP_OPENAPI_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-openweather:
@@ -15,9 +15,9 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_OPENWEATHER_PORT_OVERRIDE:-8000}:8000"
- '${MCP_OPENWEATHER_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-paper-search:
@@ -14,9 +14,9 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_PAPER_SEARCH_PORT_OVERRIDE:-8000}:8000"
- '${MCP_PAPER_SEARCH_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
playwright:
@@ -14,11 +14,11 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${PLAYWRIGHT_PORT_OVERRIDE:-8000}:8000"
- '${PLAYWRIGHT_PORT_OVERRIDE:-8000}:8000'
volumes:
- playwright_data:/app/data
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3
@@ -33,7 +33,7 @@ services:
memory: 512M
security_opt:
- seccomp:unconfined
shm_size: '2gb'
shm_size: 2gb
volumes:
playwright_data:

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp:
@@ -16,12 +16,12 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_PORT_OVERRIDE:-8000}:8000"
- '${MCP_PORT_OVERRIDE:-8000}:8000'
depends_on:
redis:
condition: service_healthy
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3
@@ -40,13 +40,13 @@ services:
image: ${GLOBAL_REGISTRY:-}redis:${REDIS_VERSION:-7-alpine}
command: redis-server --appendonly yes
ports:
- "${REDIS_PORT_OVERRIDE:-6379}:6379"
- '${REDIS_PORT_OVERRIDE:-6379}:6379'
volumes:
- redis_data:/data
environment:
- TZ=${TZ:-UTC}
healthcheck:
test: ["CMD", "redis-cli", "ping"]
test: [CMD, redis-cli, ping]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
rust-mcp-filesystem:
@@ -15,14 +15,14 @@ services:
- ALLOWED_PATHS=${ALLOWED_PATHS:-/projects}
- TZ=${TZ:-UTC}
ports:
- "${RUST_MCP_FILESYSTEM_PORT_OVERRIDE:-8000}:8000"
- '${RUST_MCP_FILESYSTEM_PORT_OVERRIDE:-8000}:8000'
volumes:
# 挂载需要访问的目录到 /projects 下
- ${HOST_WORKSPACE_PATH:-./workspace}:/projects/workspace:ro
# 如果需要写入权限,移除 :ro 标志
# - ${HOST_DATA_PATH:-./data}:/projects/data
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-sequentialthinking:
@@ -14,9 +14,9 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_SEQUENTIALTHINKING_PORT_OVERRIDE:-8000}:8000"
- '${MCP_SEQUENTIALTHINKING_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-sqlite:
@@ -14,11 +14,11 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_SQLITE_PORT_OVERRIDE:-8000}:8000"
- '${MCP_SQLITE_PORT_OVERRIDE:-8000}:8000'
volumes:
- ${DATA_DIR:-./data}:/data
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
tavily:
@@ -14,9 +14,9 @@ services:
- TAVILY_API_KEY=${TAVILY_API_KEY}
- TZ=${TZ:-UTC}
ports:
- "${TAVILY_PORT_OVERRIDE:-8000}:8000"
- '${TAVILY_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-text-to-graphql:
@@ -14,9 +14,9 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_TEXT_TO_GRAPHQL_PORT_OVERRIDE:-8000}:8000"
- '${MCP_TEXT_TO_GRAPHQL_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-time:
@@ -14,9 +14,9 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_TIME_PORT_OVERRIDE:-8000}:8000"
- '${MCP_TIME_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -4,7 +4,7 @@ x-defaults: &defaults
driver: json-file
options:
max-size: 100m
max-file: "3"
max-file: '3'
services:
mcp-wolfram-alpha:
@@ -15,9 +15,9 @@ services:
- MCP_HOST=0.0.0.0
- TZ=${TZ:-UTC}
ports:
- "${MCP_WOLFRAM_ALPHA_PORT_OVERRIDE:-8000}:8000"
- '${MCP_WOLFRAM_ALPHA_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8000/health"]
test: [CMD, wget, --spider, -q, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3

View File

@@ -3,8 +3,8 @@ x-defaults: &defaults
logging:
driver: json-file
options:
max-size: "100m"
max-file: "3"
max-size: 100m
max-file: '3'
deploy:
resources:
limits:
@@ -22,9 +22,9 @@ services:
environment:
- TZ=${TZ:-UTC}
ports:
- "${MCP_YOUTUBE_TRANSCRIPT_PORT_OVERRIDE:-8000}:8000"
- '${MCP_YOUTUBE_TRANSCRIPT_PORT_OVERRIDE:-8000}:8000'
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8000/health"]
test: [CMD, wget, --quiet, --tries=1, --spider, 'http://localhost:8000/health']
interval: 30s
timeout: 10s
retries: 3