Files
codex-telegram-bot/.env.example
2026-05-21 13:05:53 +00:00

23 lines
597 B
Plaintext

TELEGRAM_BOT_TOKEN=
# Use absolute host paths. The socket is mounted at the same path in the container.
HOST_CODEX_SOCKET=
HOST_CODEX_RUN_DIR=
HOST_UPLOAD_DIR=
# Codex home must be mounted at the same absolute path inside the container so rollout paths remain valid.
HOST_CODEX_HOME=
CODEX_STATE_DB=
# 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