TELEGRAM_BOT_TOKEN= # Use absolute host paths. The socket is mounted at the same path in the container. HOST_CODEX_SOCKET=/absolute/path/to/codex-telegram-bot/run/codex.sock HOST_CODEX_RUN_DIR=/absolute/path/to/codex-telegram-bot/run HOST_UPLOAD_DIR=/absolute/path/to/codex-telegram-bot/uploads # Host-side SQLite directory mounted to /data in the container. DB_DIR=./data # Leave empty to use Codex defaults. DEFAULT_MODEL= DEFAULT_SANDBOX=workspace-write POLL_TIMEOUT_SECONDS=30 # Container should usually match the host user so SQLite files remain writable. BOT_UID=1001 BOT_GID=1001