Initial codex telegram bot source
This commit is contained in:
18
.env.example
Normal file
18
.env.example
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
||||
Reference in New Issue
Block a user