networks: nginx-bridge: external: true services: backend: image: ghcr.io/get-convex/convex-backend:08139ef318b1898dad7731910f49ba631631c902 container_name: ${BACKEND_CONTAINER_NAME:-convex-backend} hostname: convex-backend domainname: convex.gbrown.org networks: [nginx-bridge] #ports: [3210:3210,3211:3211] # 3210: API | 3211: Base URL volumes: [./data:/convex/data] labels: ['com.centurylinklabs.watchtower.enable=true'] env_file: [./.env] environment: - INSTANCE_NAME=${INSTANCE_NAME:-} - INSTANCE_SECRET=${INSTANCE_SECRET:-} - CONVEX_CLOUD_ORIGIN=${CONVEX_CLOUD_ORIGIN:-} - CONVEX_SITE_ORIGIN=${CONVEX_SITE_ORIGIN:-} - DISABLE_BEACON=${DISABLE_BEACON:true} - REDACT_LOGS_TO_CLIENT=${REDACT_LOGS_TO_CLIENT:true} - DO_NOT_REQUIRE_SSL=${DO_NOT_REQUIRE_SSL:true} stdin_open: true tty: true restart: unless-stopped healthcheck: test: curl -f http://localhost:3210/version interval: 5s start_period: 10s stop_grace_period: 10s stop_signal: SIGINT dashboard: image: ghcr.io/get-convex/convex-dashboard:33cef775a8a6228cbacee4a09ac2c4073d62ed13 container_name: ${DASHBOARD_CONTAINER_NAME:-convex-dashboard} hostname: convex-dashboard domainname: dashboard.convex.gbrown.org networks: [nginx-bridge] stop_grace_period: 10s stop_signal: SIGINT #ports: [6791:6791] # Dashboard labels: ['com.centurylinklabs.watchtower.enable=true'] env_file: [.env] environment: - NEXT_PUBLIC_DEPLOYMENT_URL=${NEXT_PUBLIC_DEPLOYMENT_URL:-http://${BACKEND_CONTAINER_NAME:-convex-backend}:${PORT:-3210}} depends_on: backend: condition: service_healthy stdin_open: true tty: true restart: unless-stopped