Files
codex-telegram-bot/.env.example
2026-05-21 08:40:16 +00:00

19 lines
591 B
Plaintext

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