x-defaults: &defaults restart: unless-stopped logging: driver: json-file options: max-size: 100m max-file: '3' services: signoz-mcp-server: <<: *defaults image: ${GLOBAL_REGISTRY:-}signoz/signoz-mcp-server:${SIGNOZ_MCP_SERVER_VERSION:-v0.8.0} user: '1001:1001' environment: - TRANSPORT_MODE=http - MCP_SERVER_PORT=8000 - SIGNOZ_URL=${SIGNOZ_URL:-} - SIGNOZ_API_KEY=${SIGNOZ_API_KEY:-} - LOG_LEVEL=${LOG_LEVEL:-info} - TZ=${TZ:-UTC} ports: - '${SIGNOZ_MCP_SERVER_HOST_BIND:-127.0.0.1}:${SIGNOZ_MCP_SERVER_PORT_OVERRIDE:-8000}:8000' read_only: true cap_drop: - ALL security_opt: - no-new-privileges:true tmpfs: - /tmp deploy: resources: limits: cpus: ${SIGNOZ_MCP_SERVER_CPU_LIMIT:-1.0} memory: ${SIGNOZ_MCP_SERVER_MEMORY_LIMIT:-512M} reservations: cpus: ${SIGNOZ_MCP_SERVER_CPU_RESERVATION:-0.1} memory: ${SIGNOZ_MCP_SERVER_MEMORY_RESERVATION:-128M}