Skip to content

Commit d6d2ffa

Browse files
add datumctl passthrough to could-portal
1 parent 0eb0512 commit d6d2ffa

711 files changed

Lines changed: 125719 additions & 123693 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 134 additions & 121 deletions
Original file line numberDiff line numberDiff line change
@@ -1,121 +1,134 @@
1-
# ═══════════════════════════════════════════════════════════
2-
# Environment Configuration
3-
# Copy this file to .env and fill in your values
4-
# ═══════════════════════════════════════════════════════════
5-
6-
# ───────────────────────────────────────────────────────────
7-
# Required: Core URLs
8-
# ───────────────────────────────────────────────────────────
9-
10-
# Application URLs (must be valid URLs)
11-
APP_URL=http://localhost:3000
12-
API_URL=http://localhost:8080
13-
GRAPHQL_URL=http://localhost:8080/graphql
14-
15-
# ───────────────────────────────────────────────────────────
16-
# Required: Authentication
17-
# ───────────────────────────────────────────────────────────
18-
19-
# Session secret (minimum 32 characters)
20-
SESSION_SECRET=your-super-secret-session-key-min-32-chars
21-
22-
# OIDC Authentication
23-
AUTH_OIDC_ISSUER=https://your-oidc-provider.com
24-
AUTH_OIDC_CLIENT_ID=your-client-id
25-
26-
# ───────────────────────────────────────────────────────────
27-
# Required: Feature Services
28-
# ───────────────────────────────────────────────────────────
29-
30-
# Prometheus metrics (for proxy metrics dashboard)
31-
PROMETHEUS_URL=http://localhost:9090
32-
33-
# CloudValid DNS validation (for domain auto-verification)
34-
CLOUDVALID_API_URL=https://api.cloudvalid.com/api/v2
35-
CLOUDVALID_API_KEY=your-cloudvalid-api-key
36-
CLOUDVALID_TEMPLATE_ID=your-cloudvalid-template-id
37-
38-
# ───────────────────────────────────────────────────────────
39-
# Optional: Runtime Configuration
40-
# ───────────────────────────────────────────────────────────
41-
42-
# Environment mode: production | development | test
43-
NODE_ENV=development
44-
45-
# Application version (e.g., git commit SHA)
46-
# VERSION=
47-
48-
# Enable debug mode: true | false
49-
# DEBUG=false
50-
51-
# ───────────────────────────────────────────────────────────
52-
# Optional: Logging
53-
# ───────────────────────────────────────────────────────────
54-
55-
# Log level: debug | info | warn | error
56-
# LOG_LEVEL=debug
57-
58-
# Log format: json | pretty | compact
59-
# LOG_FORMAT=pretty
60-
61-
# Generate curl commands for API calls: true | false
62-
# LOG_CURL=true
63-
64-
# Redact sensitive tokens in logs: true | false
65-
# LOG_REDACT_TOKENS=true
66-
67-
# Log request/response payloads: true | false
68-
# LOG_PAYLOADS=false
69-
70-
# ───────────────────────────────────────────────────────────
71-
# Optional: Observability (graceful degradation when missing)
72-
# ───────────────────────────────────────────────────────────
73-
74-
# Sentry error tracking (must be valid URL if provided)
75-
# SENTRY_DSN=https://xxx@sentry.io/xxx
76-
# SENTRY_ENV=development
77-
78-
# OpenTelemetry tracing (must be valid URL if provided)
79-
# OTEL_ENABLED=false
80-
# OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
81-
# OTEL_EXPORTER_TIMEOUT=10000
82-
# OTEL_LOG_LEVEL=info
83-
84-
# ───────────────────────────────────────────────────────────
85-
# Optional: External Integrations (graceful degradation)
86-
# ───────────────────────────────────────────────────────────
87-
88-
# Grafana (must be valid URL if provided)
89-
# GRAFANA_URL=http://localhost:3001
90-
91-
# ───────────────────────────────────────────────────────────
92-
# Optional: Analytics & Support (graceful degradation)
93-
# ───────────────────────────────────────────────────────────
94-
95-
# Fathom Analytics
96-
# FATHOM_ID=
97-
98-
# HelpScout Beacon
99-
# HELPSCOUT_BEACON_ID=
100-
# HELPSCOUT_SECRET_KEY=
101-
102-
# ───────────────────────────────────────────────────────────
103-
# Optional: Redis (falls back to in-memory rate limiting)
104-
# ───────────────────────────────────────────────────────────
105-
106-
# Redis connection URL (must be valid URL if provided)
107-
# REDIS_URL=redis://localhost:6379
108-
109-
# Redis connection settings (have defaults)
110-
# REDIS_MAX_RETRIES=3
111-
# REDIS_CONNECT_TIMEOUT=5000
112-
# REDIS_COMMAND_TIMEOUT=3000
113-
# REDIS_KEY_PREFIX=cloud-portal:
114-
115-
# ───────────────────────────────────────────────────────────
116-
# Optional: Chatbot
117-
# ───────────────────────────────────────────────────────────
118-
119-
# Enable chatbot: true | false
120-
# CHATBOT_ENABLED=false
121-
# ANTHROPIC_API_KEY=your-anthropic-api-key
1+
# ═══════════════════════════════════════════════════════════
2+
# Environment Configuration
3+
# Copy this file to .env and fill in your values
4+
# ═══════════════════════════════════════════════════════════
5+
6+
# ───────────────────────────────────────────────────────────
7+
# Required: Core URLs
8+
# ───────────────────────────────────────────────────────────
9+
10+
# Application URLs (must be valid URLs)
11+
APP_URL=http://localhost:3000
12+
API_URL=http://localhost:8080
13+
GRAPHQL_URL=http://localhost:8080/graphql
14+
15+
# ───────────────────────────────────────────────────────────
16+
# Required: Authentication
17+
# ───────────────────────────────────────────────────────────
18+
19+
# Session secret (minimum 32 characters)
20+
SESSION_SECRET=your-super-secret-session-key-min-32-chars
21+
22+
# OIDC Authentication
23+
AUTH_OIDC_ISSUER=https://your-oidc-provider.com
24+
AUTH_OIDC_CLIENT_ID=your-client-id
25+
26+
# ───────────────────────────────────────────────────────────
27+
# Required: Feature Services
28+
# ───────────────────────────────────────────────────────────
29+
30+
# Prometheus metrics (for proxy metrics dashboard)
31+
PROMETHEUS_URL=http://localhost:9090
32+
33+
# CloudValid DNS validation (for domain auto-verification)
34+
CLOUDVALID_API_URL=https://api.cloudvalid.com/api/v2
35+
CLOUDVALID_API_KEY=your-cloudvalid-api-key
36+
CLOUDVALID_TEMPLATE_ID=your-cloudvalid-template-id
37+
38+
# ───────────────────────────────────────────────────────────
39+
# Optional: Runtime Configuration
40+
# ───────────────────────────────────────────────────────────
41+
42+
# Environment mode: production | development | test
43+
NODE_ENV=development
44+
45+
# Application version (e.g., git commit SHA)
46+
# VERSION=
47+
48+
# Enable debug mode: true | false
49+
# DEBUG=false
50+
51+
# ───────────────────────────────────────────────────────────
52+
# Optional: Logging
53+
# ───────────────────────────────────────────────────────────
54+
55+
# Log level: debug | info | warn | error
56+
# LOG_LEVEL=debug
57+
58+
# Log format: json | pretty | compact
59+
# LOG_FORMAT=pretty
60+
61+
# Generate curl commands for API calls: true | false
62+
# LOG_CURL=true
63+
64+
# Redact sensitive tokens in logs: true | false
65+
# LOG_REDACT_TOKENS=true
66+
67+
# Log request/response payloads: true | false
68+
# LOG_PAYLOADS=false
69+
70+
# ───────────────────────────────────────────────────────────
71+
# Optional: Observability (graceful degradation when missing)
72+
# ───────────────────────────────────────────────────────────
73+
74+
# Sentry error tracking (must be valid URL if provided)
75+
# SENTRY_DSN=https://xxx@sentry.io/xxx
76+
# SENTRY_ENV=development
77+
78+
# OpenTelemetry tracing (must be valid URL if provided)
79+
# OTEL_ENABLED=false
80+
# OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
81+
# OTEL_EXPORTER_TIMEOUT=10000
82+
# OTEL_LOG_LEVEL=info
83+
84+
# ───────────────────────────────────────────────────────────
85+
# Optional: External Integrations (graceful degradation)
86+
# ───────────────────────────────────────────────────────────
87+
88+
# Grafana (must be valid URL if provided)
89+
# GRAFANA_URL=http://localhost:3001
90+
91+
# ───────────────────────────────────────────────────────────
92+
# Optional: Analytics & Support (graceful degradation)
93+
# ───────────────────────────────────────────────────────────
94+
95+
# Fathom Analytics
96+
# FATHOM_ID=
97+
98+
# HelpScout Beacon
99+
# HELPSCOUT_BEACON_ID=
100+
# HELPSCOUT_SECRET_KEY=
101+
102+
# ───────────────────────────────────────────────────────────
103+
# Optional: Redis (falls back to in-memory rate limiting)
104+
# ───────────────────────────────────────────────────────────
105+
106+
# Redis connection URL (must be valid URL if provided)
107+
# REDIS_URL=redis://localhost:6379
108+
109+
# Redis connection settings (have defaults)
110+
# REDIS_MAX_RETRIES=3
111+
# REDIS_CONNECT_TIMEOUT=5000
112+
# REDIS_COMMAND_TIMEOUT=3000
113+
# REDIS_KEY_PREFIX=cloud-portal:
114+
115+
# ───────────────────────────────────────────────────────────
116+
# Optional: Chatbot
117+
# ───────────────────────────────────────────────────────────
118+
119+
# Enable chatbot: true | false
120+
# CHATBOT_ENABLED=false
121+
# ANTHROPIC_API_KEY=your-anthropic-api-key
122+
123+
# ───────────────────────────────────────────────────────────
124+
# Optional: Embedded datumctl terminal (Developer Tools)
125+
# ───────────────────────────────────────────────────────────
126+
127+
# Absolute path to a locally-built datumctl binary that supports
128+
# ambient-token mode (DATUMCTL_TOKEN / DATUM_API_HOSTNAME).
129+
# For local development, clone datum-cloud/datumctl as a sibling
130+
# of cloud-portal, check out the cloud-portal/ambient-token branch,
131+
# and run `go build -o bin/datumctl .`, then set:
132+
# DATUMCTL_BIN=/Users/matthewjenkinson/Git/datum/datumctl/bin/datumctl
133+
# When unset, the Developer Tools terminal is disabled.
134+
# DATUMCTL_BIN=

0 commit comments

Comments
 (0)