services: backend: image: ghcr.io/get-convex/convex-backend:latest container_name: zopu-convex restart: unless-stopped stop_grace_period: 10s stop_signal: SIGINT ports: - "127.0.0.1:3210:3210" - "127.0.0.1:3211:3211" volumes: - zopu-convex-data:/convex/data environment: CONVEX_CLOUD_ORIGIN: ${CONVEX_CLOUD_ORIGIN} CONVEX_SITE_ORIGIN: ${CONVEX_SITE_ORIGIN} DISABLE_BEACON: "true" DISABLE_METRICS_ENDPOINT: "true" DOCUMENT_RETENTION_DELAY: "172800" INSTANCE_NAME: ${CONVEX_INSTANCE_NAME:-zopu-production} INSTANCE_SECRET: ${CONVEX_INSTANCE_SECRET:-} REDACT_LOGS_TO_CLIENT: "true" RUST_LOG: ${CONVEX_RUST_LOG:-info} healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3210/version"] interval: 5s timeout: 3s retries: 12 start_period: 10s volumes: zopu-convex-data: name: zopu-convex-data