-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
62 lines (42 loc) · 1.41 KB
/
Copy path.env.example
File metadata and controls
62 lines (42 loc) · 1.41 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
# OpenCode Docker - Environment Configuration
# Copy this file to .env and fill in your values
# === Required ===
# Password for OpenCode web UI (HTTP basic auth)
OPENCODE_SERVER_PASSWORD=changeme
# === User/Group ===
# Match these to your host user to avoid permission issues on mounted volumes
# Run `id` on your host to find your UID/GID
PUID=1000
PGID=1000
# === Server ===
# Username for OpenCode web UI (HTTP basic auth)
OPENCODE_SERVER_USERNAME=opencode
# Internal port (usually no need to change)
OPENCODE_PORT=4096
# === code-server (VS Code) ===
# Password for code-server. If empty, defaults to OPENCODE_SERVER_PASSWORD.
# Set to an empty value and it will use no auth (not recommended if exposed).
CODE_SERVER_PASSWORD=
# Internal port (usually no need to change)
CODE_SERVER_PORT=8080
# === Traefik ===
# Domain for OpenCode web UI
OPENCODE_DOMAIN=opencode.example.com
# Domain for code-server (VS Code)
CODE_SERVER_DOMAIN=code.example.com
# Traefik certificate resolver name
CERT_RESOLVER=letsencrypt
# === SSH ===
# Path to SSH keys on the host
SSH_KEY_PATH=~/.ssh
# === LLM Provider API Keys ===
# Uncomment and fill in the providers you use
ANTHROPIC_API_KEY=
OPENAI_API_KEY=
GEMINI_API_KEY=
# OPENCODE_API_KEY=
# === GitHub CLI ===
# Optional: token for `gh` and GitHub API access inside the container.
# You can set either variable. GH_TOKEN takes precedence when both are set.
GITHUB_TOKEN=
GH_TOKEN=