-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
50 lines (44 loc) · 2.02 KB
/
Copy path.env.example
File metadata and controls
50 lines (44 loc) · 2.02 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
# Waynode self-host environment
# Recommended: run ./scripts/self-host.sh setup instead of editing this by hand.
# Server ---------------------------------------------------------------------
PORT=3000
NODE_ENV=production
# Compose binds to loopback by default. Use 0.0.0.0 only behind a firewall or
# when a reverse proxy runs on another host.
WAYNODE_BIND_ADDRESS=127.0.0.1
APP_URL=http://localhost:3000
# Generate two different values with: openssl rand -hex 32
SESSION_SECRET=
ENCRYPTION_KEY=
# Login ----------------------------------------------------------------------
# Configure at least one complete OAuth pair. Callback URLs are exact:
# GitHub: ${APP_URL}/auth/github/callback
# GitLab: ${APP_URL}/auth/gitlab/callback
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITLAB_CLIENT_ID=
GITLAB_CLIENT_SECRET=
GITLAB_BASE_URL=https://gitlab.com
# Coding model ---------------------------------------------------------------
# PI_DEFAULT_PROVIDER and PI_DEFAULT_MODEL must describe the same pi model.
# On first self-host boot, Waynode encrypts PI_PROVIDER_API_KEY into its global
# secret vault under the matching provider key and removes it from the runtime
# environment before an agent can start. It never overwrites a rotated secret.
PI_DEFAULT_PROVIDER=
PI_DEFAULT_MODEL=
PI_PROVIDER_API_KEY=
# Waynode Cloud only. Ordinary self-host installs should leave these blank.
LLM_BASE_URL=
LLM_API_KEY=
LLM_MODEL=
# Hosted operator only: a separately provisioned model/rate-limited virtual
# key for one-shot sandbox chat. This must never be the gateway admin key.
WAYNODE_SANDBOX_LLM_KEY=
# Mantice gateway ADMIN token (server-side only; mints/disables per-org LLM
# keys via /admin/tokens). Optional: without it, hosted chat uses the shared
# WAYNODE_SANDBOX_LLM_KEY for every org.
LLM_ADMIN_TOKEN=
# Self-host safety ------------------------------------------------------------
# Do not set WAYNODE_DEPLOYMENT=hosted or any Stripe variables. Billing and
# hosted usage limits remain disabled when this value is self-hosted.
WAYNODE_DEPLOYMENT=self-hosted