get convex actually running and working
This commit is contained in:
@@ -2,24 +2,26 @@ networks:
|
||||
nginx-bridge:
|
||||
external: true
|
||||
services:
|
||||
backend:
|
||||
convex-backend:
|
||||
image: ghcr.io/get-convex/convex-backend:08139ef318b1898dad7731910f49ba631631c902
|
||||
container_name: ${BACKEND_CONTAINER_NAME:-convex-backend}
|
||||
hostname: convex-backend
|
||||
hostname: ${BACKEND_CONTAINER_NAME:-convex-backend}
|
||||
domainname: convex.gbrown.org
|
||||
#user: 1000:1000
|
||||
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]
|
||||
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}
|
||||
- CONVEX_CLOUD_ORIGIN=${CONVEX_CLOUD_ORIGIN:-http://${BACKEND_CONTAINER_NAME:-convex-backend}:${PORT:-3210}}
|
||||
- CONVEX_SITE_ORIGIN=${CONVEX_SITE_ORIGIN:-http://${BACKEND_CONTAINER_NAME:-convex-backend}:${SITE_PROXY_PORT:-3211}}
|
||||
- DISABLE_BEACON=${DISABLE_BEACON:-}
|
||||
- REDACT_LOGS_TO_CLIENT=${REDACT_LOGS_TO_CLIENT:-}
|
||||
- DO_NOT_REQUIRE_SSL=${DO_NOT_REQUIRE_SSL:-}
|
||||
#- DATABASE_URL=${DATABASE_URL:-}
|
||||
stdin_open: true
|
||||
tty: true
|
||||
restart: unless-stopped
|
||||
@@ -30,21 +32,22 @@ services:
|
||||
stop_grace_period: 10s
|
||||
stop_signal: SIGINT
|
||||
|
||||
dashboard:
|
||||
convex-dashboard:
|
||||
image: ghcr.io/get-convex/convex-dashboard:33cef775a8a6228cbacee4a09ac2c4073d62ed13
|
||||
container_name: ${DASHBOARD_CONTAINER_NAME:-convex-dashboard}
|
||||
hostname: convex-dashboard
|
||||
hostname: ${DASHBOARD_CONTAINER_NAME:-convex-dashboard}
|
||||
domainname: dashboard.convex.gbrown.org
|
||||
#user: 1000:1000
|
||||
networks: [nginx-bridge]
|
||||
stop_grace_period: 10s
|
||||
stop_signal: SIGINT
|
||||
#ports: [6791:6791] # Dashboard
|
||||
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:
|
||||
convex-backend:
|
||||
condition: service_healthy
|
||||
stdin_open: true
|
||||
tty: true
|
||||
|
Reference in New Issue
Block a user