-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
75 lines (58 loc) · 2.98 KB
/
Copy path.env.example
File metadata and controls
75 lines (58 loc) · 2.98 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
# Copy to .env and fill in. .env is gitignored; keep the real values out of git.
# cp .env.example .env
# --- what start.sh brings up -----------------------------------------------
# 0 or 1. Claudex: Docker, CLIProxyAPI, the Codex OAuth token, and Codex Web GPT.
# Off by default; T3 alone does not need any of it.
CLAUDEX_ENABLED=0
# 0 or 1. The T3 lifecycle, owned by t3-start.sh / t3-stop.sh.
T3_ENABLED=1
# connect | custom. There is no 'off' value - use T3_ENABLED=0 for that.
#
# connect -> T3 Connect owns remote access and activity publishing. Nothing
# below in "custom hosting" is read, and no tunnel is started.
# Sign in at app.t3.codes or in the T3 Code iOS app.
# custom -> CodeLaunch hosts T3 itself, using the settings below.
T3_MODE=connect
# direct | full. Custom mode only.
#
# direct -> serve T3 with no managed link and no tunnel. Reachable from
# localhost, and from LAN/Wi-Fi and VPN when T3_BIND=all.
# full -> the same server plus the Cloudflare Access/Tunnel setup below.
T3_CUSTOM_ACCESS=direct
# npm dist-tag for the t3 CLI and the headless backend: latest | nightly.
# Must match the desktop app's channel - CodeLaunch enforces this and refuses to
# run on a mismatch, since both sides share the ~/.t3 store.
#
# latest -> stable cask `t3-code`, `T3 Code (Alpha).app` <- default, use this
# nightly -> nightly cask `t3-code@nightly`, `T3 Code (Nightly).app`
T3_CHANNEL=latest
# --- custom hosting (ignored when T3_MODE=connect) -------------------------
# Local T3 backend port.
T3_PORT=3773
# loopback (default), or all for direct LAN/Wi-Fi/VPN pairing.
# WARNING: `all` is not VPN-only. Every device that can route to this machine,
# including everything else on your Wi-Fi, can reach the port. See SETUP.md.
T3_BIND=loopback
# 0 or 1. Push notifications via relay.t3.codes, using a publish-only T3 Connect
# link. Set up with ./t3-publish.sh. Ignored when T3_MODE=connect, where the full
# Connect link already publishes. See SETUP.md.
T3_PUBLISH_ACTIVITY=0
# --- Cloudflare (T3_MODE=custom with T3_CUSTOM_ACCESS=full only) -----------
# Public hostname served through the Cloudflare tunnel.
T3_HOSTNAME=code.example.com
# Named tunnel.
TUNNEL_NAME=t3-code
# Exact address allowed by the Access policy. No wildcards, no groups.
ACCESS_EMAIL=you@example.com
# Cloudflare Zero Trust team domain: <team>.cloudflareaccess.com
CLOUDFLARE_TEAM=your-team
# --- Claudex (CLAUDEX_ENABLED=1 only) --------------------------------------
# 0 or 1. When enabled, start/stop reversibly connects the Codex Web GPT route
# and manages only a launcher process that CodeLaunch started itself. The route
# is for the ChatGPT desktop integration; it is not a working T3 provider and
# cannot make tool calls through T3 Code. See SETUP.md.
#
# The native Codex provider is enabled in T3 settings
# (`providerInstances.codex.enabled=true`, `config.enabled=true`). Keep this at
# 0 for normal Codex models in T3 Code; ChatGPT must be quit in that mode.
CODEX_WEB_GPT_MANAGED=0