- Sidebar: three status LEDs (server, models, MCP) with an overview popover (/api/status) - Images: preview stage, purpose-based model choice and reference images (Nano Banana Pro edit refines the chosen preview) - Settings: restore a stored or uploaded backup (staged, applied on restart) - Provider form: test connection; saving or reloading re-checks the status at once - opencode Zen/Go: send x-opencode-session with a stable id per conversation - Releases are named vYYYYMM-NNNNN; scripts/release.sh numbers, tags, builds and publishes - Fix: backups made in the same second no longer overwrite each other Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 lines
987 B
Bash
35 lines
987 B
Bash
# Optional: create the first admin on first start. Otherwise the server logs a
|
||
# one-time setup code and you create the admin in the web UI.
|
||
CODECRAFT_ADMIN_USER=
|
||
CODECRAFT_ADMIN_PASSWORD=
|
||
|
||
# Single sign-on client secret (see [auth.oidc] in config.toml).
|
||
OIDC_CLIENT_SECRET=
|
||
|
||
# Directory with your projects, mounted as /workspace.
|
||
WORKSPACE=/path/to/your/projects
|
||
|
||
# Host port and address (127.0.0.1 = only reachable through a local reverse proxy).
|
||
PORT=8787
|
||
BIND_ADDR=127.0.0.1
|
||
|
||
# UID/GID that owns the project files (id -u / id -g).
|
||
UID=1000
|
||
GID=1000
|
||
|
||
# Provider keys – referenced in data/config.toml as ${NAME}.
|
||
ANTHROPIC_API_KEY=
|
||
GEMINI_API_KEY=
|
||
OPENCODE_API_KEY=
|
||
FAL_KEY=
|
||
OPENROUTER_API_KEY=
|
||
|
||
# Time zone for automations (cron schedules) and timestamps, e.g. Europe/Berlin
|
||
TZ=UTC
|
||
|
||
# Image version for docker-compose.release.yml (e.g. v202611-00001); default: latest
|
||
CODECRAFT_VERSION=latest
|
||
|
||
# Log format: empty for text, "json" for one JSON object per line
|
||
CODECRAFT_LOG_FORMAT=
|