.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
DISCORD_TOKEN
secret
DISCORD_CLIENT_ID
DISCORD_GUILD_ID
DEFAULT_AGENT
Default routing.
DEFAULT_MACHINE
DEFAULT_CWD
CODEX_BIN
CODEX_MODEL
CODEX_EFFORT
AGENTS_CHANNEL_NAME
Optional channel names. The bot will create them if it has Manage Channels.
RUNS_CHANNEL_NAME
MACHINE_STATUS_CHANNEL_NAME
DATA_DIR
Runtime storage.
brew install flyctl && fly launch --from https://github.com/adamholter/discord-codex-control-plane
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/adamholter/discord-codex-control-plane
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/adamholter/discord-codex-control-plane