Files
codexpi/.env.example

36 lines
1.6 KiB
Plaintext
Raw Normal View History

2026-11-14 20:23:59 +01:00
# Only nginx is published. 0.0.0.0 makes port 8765 reachable from the local network.
CODEXPI_HOST=127.0.0.1
CODEXPI_PORT=8000
CODEXPI_BIND_ADDRESS=0.0.0.0
CODEXPI_PROXY_PORT=8765
# HTTP by Pi IP needs non-Secure cookies. Tailscale HTTPS remains compatible.
CODEXPI_COOKIE_SECURE=false
CODEXPI_SESSION_HOURS=12
CODEXPI_ALLOWED_ROOTS=/home/config
CODEXPI_FORBIDDEN_ROOTS=/etc:/boot:/root:/proc:/sys:/dev
CODEXPI_CODEX_BIN=codex
CODEXPI_CLAUDE_BIN=claude
CODEXPI_OPENCODE_BIN=opencode
# Jusqu’à trois projets Codex peuvent travailler en parallèle. Les tâches
# d’un même projet restent séquentielles pour éviter les conflits de fichiers.
CODEXPI_MAX_CONCURRENT_AGENTS=3
CODEXPI_SELF_PROJECT_PATH=/home/config/CodexPi
CODEXPI_AUTH_BACKEND=django
CODEXPI_DJANGO_ALLOWED_HOSTS=*
# Add the exact HTTPS public origin when using a reverse proxy or Tailscale Serve.
CODEXPI_TRUSTED_ORIGINS=https://codexpi.example-tailnet.ts.net
# Facultatif : fournissez les secrets depuis un gestionnaire externe ou un
# fichier monté en lecture seule. Ne renseignez jamais de vraie valeur ici.
# CODEXPI_SECRET_KEY_FILE=/run/secrets/codexpi_secret_key
# CODEXPI_DJANGO_SECRET_KEY_FILE=/run/secrets/codexpi_django_secret_key
# install.sh adds PUID, PGID, DOCKER_GID and CODEXPI_HOME from the Pi.
# CODEXPI_HOME lets the container reuse the existing Codex CLI login.
# Pin a tested CLI version if you do not want the latest image build.
CODEX_VERSION=latest
CLAUDE_CODE_VERSION=latest
OPENCODE_VERSION=latest
# Chromium/Selenium officiel, disponible en ARM64. Épinglez un tag si souhaité.
CODEXPI_BROWSER_IMAGE=selenium/standalone-chromium:latest