Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions controlplane/wrangler.dev.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ routes = [
# Deployment environment
ENVIRONMENT = "production"

# Sandbox auth - new VMs never receive INTERNAL_API_TOKEN; they call /internal/*
# with their dashboard-scoped token (X-Dashboard-Token) only.
WITHHOLD_INTERNAL_TOKEN_FROM_SANDBOX = "true"

# Authentication - Dev auth DISABLED (public URL, header-based auth would be insecure)
DEV_AUTH_ENABLED = "false"

Expand All @@ -35,8 +39,12 @@ AUTH_LOGIN_RESTRICTED = "true"
# CORS - Only allow the dev frontend
ALLOWED_ORIGINS = "https://dev.orcabot.com"

# Egress proxy - enabled globally on sandbox machines
EGRESS_PROXY_ENABLED = "true"
# Egress proxy - DISABLED. Fly's kernel rejects the iptables owner match the
# sandbox's egress isolation needs ("Extension owner revision 0 not supported"),
# so a VM started with EGRESS_PROXY_ENABLED=true refuses every PTY (E79770).
# Dev shares the warm pool with prod (same D1), so prod dashboards could be
# handed those VMs. Re-enable once egress isolation works on Fly.
# EGRESS_PROXY_ENABLED = "true"

# Fly.io per-dashboard machine provisioning
FLY_APP_NAME = "orcabot-sandbox"
Expand Down
4 changes: 4 additions & 0 deletions controlplane/wrangler.production.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ routes = [
# Deployment environment
ENVIRONMENT = "production"

# Sandbox auth - new VMs never receive INTERNAL_API_TOKEN; they call /internal/*
# with their dashboard-scoped token (X-Dashboard-Token) only.
WITHHOLD_INTERNAL_TOKEN_FROM_SANDBOX = "true"

# Authentication - Dev auth DISABLED, CF Access required
DEV_AUTH_ENABLED = "false"

Expand Down
Loading