name: mnote-convex services: backend: # 说明:官方自托管镜像。需要时可将 :latest 固定为特定版本。 image: ghcr.io/get-convex/convex-backend:latest stop_grace_period: 10s stop_signal: SIGINT ports: - "3210:3210" - "3211:3211" volumes: - convex_data_v1:/convex/data env_file: - ../../.env.all healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3210/version"] interval: 5s start_period: 10s dashboard: image: ghcr.io/get-convex/convex-dashboard:latest stop_grace_period: 10s stop_signal: SIGINT ports: - "6791:6791" depends_on: backend: condition: service_healthy volumes: convex_data_v1: