-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy path.config
More file actions
77 lines (68 loc) · 3.76 KB
/
Copy path.config
File metadata and controls
77 lines (68 loc) · 3.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# =============================================================================
# RocketRide Build Configuration
#
# Public infrastructure values baked into app bundles at build time.
# This file is the single source of truth -- safe to commit to the repo.
#
# Load order: .config (defaults) -> .env (overrides)
#
# At build time, esbuild / rsbuild reads .config first, then layers .env
# on top. Any key set in .env takes precedence over the value here.
# This lets developers override cloud URLs for local testing without
# modifying committed defaults.
#
# SECURITY: Only public values belong here. Never add secrets (API keys,
# service tokens, database credentials, Stripe secret keys, etc.).
# =============================================================================
# =============================================================================
# ZITADEL (OAuth2 / OIDC)
#
# All values below are public OAuth2 identifiers -- not secrets.
# Security comes from PKCE challenge + redirect URI validation,
# not from hiding these values.
# =============================================================================
# Zitadel issuer URL -- the OIDC identity provider endpoint.
# How to get: your Zitadel instance URL from the Zitadel console.
# Self-hosted example: http://localhost:8080
# Zitadel Cloud example: https://yourinstance.zitadel.cloud
RR_ZITADEL_URL=https://auth.rocketride.ai
# Zitadel client ID for web applications (SPA / browser client).
# Used by shell-ui (rsbuild injects it as process.env.RR_ZITADEL_CLIENT_ID).
# How to get:
# 1. Zitadel console -> Projects -> your project -> Applications
# 2. Create a new application (type: User Agent / SPA)
# 3. Copy the Client ID shown after creation
RR_ZITADEL_CLIENT_ID=368801673541427525
# Zitadel client ID for the VS Code extension (Native app type).
# Separate from the web client because Native apps use custom URI schemes
# (vscode://) for the OAuth redirect, which requires its own registration.
# How to get: same as above, but create an application of type "Native".
RR_ZITADEL_VSCODE_CLIENT_ID=369956598501709684
# =============================================================================
# STRIPE (Payments)
#
# The publishable key is a public client-side identifier -- not a secret.
# Security comes from the server-side secret key (sk_*) which is never
# included here. The publishable key only allows Stripe.js to render
# payment elements and confirm payments initiated by the server.
# =============================================================================
# Stripe publishable key (pk_test_* or pk_live_*).
# Used by shell-ui and VS Code webviews for Stripe Elements checkout.
# How to get: Stripe Dashboard -> Developers -> API keys -> Publishable key
RR_STRIPE_PUBLISHABLE_KEY=pk_test_51TNH9RDH9Dj9FxZRrhpNhVrnG2QfLe1NzLcjnPdPscFsJIAVvsjLsPnTdrAo0onHD6DEimTtb9nsB4oZbmKJuAH600WBYGWRxi
# =============================================================================
# SERVER CONNECTION (build-time defaults)
#
# These are the same defaults documented in .env.template and hardcoded as
# fallbacks in apps/vscode/src/config.ts. They are required by the rsbuild
# and esbuild config loaders (scripts/lib/getenv.js#requireKeys) so the
# build can complete without a per-developer .env file. Local developers
# can still override either value via .env.
# =============================================================================
# Default cloud / dev-server URI. Localhost is intentional -- developers
# point this elsewhere via .env when targeting a remote server.
ROCKETRIDE_URI=http://localhost:5565
# Engine's built-in development API key -- NOT a secret. It is the public
# default key the engine recognises in dev mode. Production / on-prem
# deployments override this via .env with a real key.
ROCKETRIDE_APIKEY=MYAPIKEY