Files
codecraft/.env.example
T

31 lines
1013 B
Bash

# Deployment settings only. API keys, MCP tokens, SSO secrets and everything else
# are set in the web UI (Settings) and stored in the configuration file.
# 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=
# Directory with your projects, mounted as /workspace.
WORKSPACE=/path/to/your/projects
# Directory of the software factory (clones it works in), mounted as /factory.
FACTORY_DIR=./factory
# 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
# 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=