style: lint code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user