-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.sample
More file actions
25 lines (18 loc) · 858 Bytes
/
.env.sample
File metadata and controls
25 lines (18 loc) · 858 Bytes
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
# OpenPact Environment Variables
# Copy this file to .env and fill in your values:
# cp .env.sample .env
# Discord bot token. You can alternativly set this up in the admin web ui
DISCORD_TOKEN=
# Optional — Anthropic API key (alternative to OAuth sign-in)
# If not set, authenticate via Admin UI or: openpact auth opencode
#ANTHROPIC_API_KEY=
# Optional — GitHub personal access token (enables GitHub tools)
GITHUB_TOKEN=
# Optional — Engine type: "opencode" (default)
#ENGINE_TYPE=opencode
# Optional — Path to config file inside the container
#CONFIG_PATH=/workspace/config.yaml
# Host path to your workspace directory (mounted as /workspace in Docker)
HOST_WORKSPACE_PATH=~/.config/openpact/workspace
# Optional — Hostname for OpenCode server (default: 127.0.0.1). Set it to 0.0.0.0 to allow external access.
#OPENCODE_HOSTNAME=0.0.0.0