Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
42 lines
1.5 KiB
Bash
42 lines
1.5 KiB
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=
|
|
|
|
# Test runner (optional): the factory's acceptance runs start the app under test in a
|
|
# throw-away container instead of inside CodeCraft. Uncomment all four lines.
|
|
#COMPOSE_PROFILES=runner
|
|
#CODECRAFT_RUNNER_URL=http://testrunner:8788
|
|
#RUNNER_TOKEN= # random string, at least 16 characters (openssl rand -hex 24)
|
|
#DOCKER_GID=999 # stat -c %g /var/run/docker.sock
|
|
# Optional limits per environment and the image used when .factory/setup.json names none:
|
|
#RUNNER_MEMORY=2g
|
|
#RUNNER_CPUS=2
|
|
#RUNNER_DEFAULT_IMAGE=node:22-bookworm
|