-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (24 loc) · 1.29 KB
/
Copy path.env.example
File metadata and controls
30 lines (24 loc) · 1.29 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
# OpenCode workspace usage page and secret auth cookie.
OPENCODE_USAGE_URL=https://opencode.ai/workspace/wrk_xxxxxxxxxxxxxxxxxxxxxxxxxx/usage
OPENCODE_AUTH=replace_with_raw_cookie_value
# Optional compatibility override if OpenCode changes its key-metadata loader.
OPENCODE_KEY_METADATA_SERVER_ID=
# Internal PostgreSQL database. Use a long random password.
POSTGRES_DB=opencode_usage
POSTGRES_USER=opencode
POSTGRES_PASSWORD=replace_with_a_long_random_password
# Used only when collector_state is first created. The control-page setting is
# persisted in PostgreSQL and becomes authoritative afterward.
AUTO_REFRESH_ENABLED=true
AUTO_REFRESH_INTERVAL_MINUTES=360
# Internal Compose URL used by the collector. Normally leave unchanged.
RILL_INTERNAL_URL=http://rill:9009
# OpenAI-compatible provider used only by Rill AI.
# Keep the real key in .env only; never place it in connector YAML or commit it.
# The base URL commonly ends in /v1. Use the provider's exact model identifier.
OPENAI_API_KEY=replace_with_provider_api_key
OPENAI_BASE_URL=https://your-provider.example.com/v1
OPENAI_MODEL=replace_with_exact_provider_model_name
# Rill is deliberately pinned for reproducible AMD64/ARM64 image builds.
# Changing this alone will fail checksum verification until Dockerfile.rill is updated.
RILL_VERSION=0.87.8