Austin
Austin
CCConvex Community
Created by Austin on 2/22/2025 in #self-hosted
HTTP
Thank you @Emma !! Really love that you all are supporting self-hosted options.
6 replies
CCConvex Community
Created by Austin on 2/22/2025 in #self-hosted
HTTP
@ballingt - that seems right... here's my docker compose file with some hardcoded values:
services:
backend:
image: ghcr.io/get-convex/convex-backend:4499dd4fd7f2148687a7774599c613d052950f46
ports:
- "${PORT:-3210}:3210"
- "${SITE_PROXY_PORT:-3211}:3211"
volumes:
- data:/convex/data
environment:
- INSTANCE_NAME=${INSTANCE_NAME:-}
- INSTANCE_SECRET=${INSTANCE_SECRET:-}
- CONVEX_RELEASE_VERSION_DEV=${CONVEX_RELEASE_VERSION_DEV:-}
- ACTIONS_USER_TIMEOUT_SECS=${ACTIONS_USER_TIMEOUT_SECS:-}
- CONVEX_CLOUD_ORIGIN=http://100.65.244.49:3210
- CONVEX_SITE_ORIGIN=http://100.65.244.49:3211
- DATABASE_URL=${DATABASE_URL:-}
- DISABLE_BEACON=${DISABLE_BEACON:-}
- REDACT_LOGS_TO_CLIENT=${REDACT_LOGS_TO_CLIENT:-}
- RUST_LOG=${RUST_LOG:-}
- RUST_BACKTRACE=${RUST_BACKTRACE:-}
healthcheck:
test: curl -f http://localhost:3210/version
interval: 5s
start_period: 5s

dashboard:
image: ghcr.io/get-convex/convex-dashboard:4499dd4fd7f2148687a7774599c613d052950f46
ports:
- "${DASHBOARD_PORT:-6791}:6791"
environment:
- NEXT_PUBLIC_DEPLOYMENT_URL=http://100.65.244.49:3210
depends_on:
backend:
condition: service_healthy

volumes:
data:
services:
backend:
image: ghcr.io/get-convex/convex-backend:4499dd4fd7f2148687a7774599c613d052950f46
ports:
- "${PORT:-3210}:3210"
- "${SITE_PROXY_PORT:-3211}:3211"
volumes:
- data:/convex/data
environment:
- INSTANCE_NAME=${INSTANCE_NAME:-}
- INSTANCE_SECRET=${INSTANCE_SECRET:-}
- CONVEX_RELEASE_VERSION_DEV=${CONVEX_RELEASE_VERSION_DEV:-}
- ACTIONS_USER_TIMEOUT_SECS=${ACTIONS_USER_TIMEOUT_SECS:-}
- CONVEX_CLOUD_ORIGIN=http://100.65.244.49:3210
- CONVEX_SITE_ORIGIN=http://100.65.244.49:3211
- DATABASE_URL=${DATABASE_URL:-}
- DISABLE_BEACON=${DISABLE_BEACON:-}
- REDACT_LOGS_TO_CLIENT=${REDACT_LOGS_TO_CLIENT:-}
- RUST_LOG=${RUST_LOG:-}
- RUST_BACKTRACE=${RUST_BACKTRACE:-}
healthcheck:
test: curl -f http://localhost:3210/version
interval: 5s
start_period: 5s

dashboard:
image: ghcr.io/get-convex/convex-dashboard:4499dd4fd7f2148687a7774599c613d052950f46
ports:
- "${DASHBOARD_PORT:-6791}:6791"
environment:
- NEXT_PUBLIC_DEPLOYMENT_URL=http://100.65.244.49:3210
depends_on:
backend:
condition: service_healthy

volumes:
data:
If I were to replace those values with the cloudflare tunnel versions - the 3210 endpoint will continue to work but the http functions would not. Rather than getting a "No matching routes found" by navigating to the endpoint in my browser, I'd get an error. This ends up making auth not work, but would also break other http functions if I had any defined in my project,
6 replies
CCConvex Community
Created by Casimiro Ciancimino on 9/10/2024 in #show-and-tell
Gnoseek - AI-Powered Next Level Learning
This is fantastic!
19 replies