get convex actually running and working

This commit is contained in:
2025-08-28 14:02:21 -05:00
parent 2f06340a63
commit b672470bc4

View File

@@ -2,24 +2,26 @@ networks:
nginx-bridge: nginx-bridge:
external: true external: true
services: services:
backend: convex-backend:
image: ghcr.io/get-convex/convex-backend:08139ef318b1898dad7731910f49ba631631c902 image: ghcr.io/get-convex/convex-backend:08139ef318b1898dad7731910f49ba631631c902
container_name: ${BACKEND_CONTAINER_NAME:-convex-backend} container_name: ${BACKEND_CONTAINER_NAME:-convex-backend}
hostname: convex-backend hostname: ${BACKEND_CONTAINER_NAME:-convex-backend}
domainname: convex.gbrown.org domainname: convex.gbrown.org
#user: 1000:1000
networks: [nginx-bridge] networks: [nginx-bridge]
#ports: [3210:3210,3211:3211] # 3210: API | 3211: Base URL #ports: [3210:3210,3211:3211] # 3210: API | 3211: Base URL
volumes: [./data:/convex/data] volumes: [./data:/convex/data]
labels: ['com.centurylinklabs.watchtower.enable=true'] labels: ['com.centurylinklabs.watchtower.enable=true']
env_file: [./.env] env_file: [.env]
environment: environment:
- INSTANCE_NAME=${INSTANCE_NAME:-} - INSTANCE_NAME=${INSTANCE_NAME:-}
- INSTANCE_SECRET=${INSTANCE_SECRET:-} - INSTANCE_SECRET=${INSTANCE_SECRET:-}
- CONVEX_CLOUD_ORIGIN=${CONVEX_CLOUD_ORIGIN:-} - CONVEX_CLOUD_ORIGIN=${CONVEX_CLOUD_ORIGIN:-http://${BACKEND_CONTAINER_NAME:-convex-backend}:${PORT:-3210}}
- CONVEX_SITE_ORIGIN=${CONVEX_SITE_ORIGIN:-} - CONVEX_SITE_ORIGIN=${CONVEX_SITE_ORIGIN:-http://${BACKEND_CONTAINER_NAME:-convex-backend}:${SITE_PROXY_PORT:-3211}}
- DISABLE_BEACON=${DISABLE_BEACON:true} - DISABLE_BEACON=${DISABLE_BEACON:-}
- REDACT_LOGS_TO_CLIENT=${REDACT_LOGS_TO_CLIENT:true} - REDACT_LOGS_TO_CLIENT=${REDACT_LOGS_TO_CLIENT:-}
- DO_NOT_REQUIRE_SSL=${DO_NOT_REQUIRE_SSL:true} - DO_NOT_REQUIRE_SSL=${DO_NOT_REQUIRE_SSL:-}
#- DATABASE_URL=${DATABASE_URL:-}
stdin_open: true stdin_open: true
tty: true tty: true
restart: unless-stopped restart: unless-stopped
@@ -30,21 +32,22 @@ services:
stop_grace_period: 10s stop_grace_period: 10s
stop_signal: SIGINT stop_signal: SIGINT
dashboard: convex-dashboard:
image: ghcr.io/get-convex/convex-dashboard:33cef775a8a6228cbacee4a09ac2c4073d62ed13 image: ghcr.io/get-convex/convex-dashboard:33cef775a8a6228cbacee4a09ac2c4073d62ed13
container_name: ${DASHBOARD_CONTAINER_NAME:-convex-dashboard} container_name: ${DASHBOARD_CONTAINER_NAME:-convex-dashboard}
hostname: convex-dashboard hostname: ${DASHBOARD_CONTAINER_NAME:-convex-dashboard}
domainname: dashboard.convex.gbrown.org domainname: dashboard.convex.gbrown.org
#user: 1000:1000
networks: [nginx-bridge] networks: [nginx-bridge]
stop_grace_period: 10s stop_grace_period: 10s
stop_signal: SIGINT stop_signal: SIGINT
#ports: [6791:6791] # Dashboard ports: [6791:6791] # Dashboard
labels: ['com.centurylinklabs.watchtower.enable=true'] labels: ['com.centurylinklabs.watchtower.enable=true']
env_file: [.env] env_file: [.env]
environment: environment:
- NEXT_PUBLIC_DEPLOYMENT_URL=${NEXT_PUBLIC_DEPLOYMENT_URL:-http://${BACKEND_CONTAINER_NAME:-convex-backend}:${PORT:-3210}} - NEXT_PUBLIC_DEPLOYMENT_URL=${NEXT_PUBLIC_DEPLOYMENT_URL:-http://${BACKEND_CONTAINER_NAME:-convex-backend}:${PORT:-3210}}
depends_on: depends_on:
backend: convex-backend:
condition: service_healthy condition: service_healthy
stdin_open: true stdin_open: true
tty: true tty: true