docs(docker): clarify userbot mode in compose/run-bot, bot token optional
This commit is contained in:
@@ -7,9 +7,11 @@
|
|||||||
# Just bring it up — everything (incl. Ollama models) comes up automatically:
|
# Just bring it up — everything (incl. Ollama models) comes up automatically:
|
||||||
# docker compose up -d --build
|
# docker compose up -d --build
|
||||||
#
|
#
|
||||||
# The Discord token can be added LAST: without it the desktop, brain bridge,
|
# The Discord credential can be added LAST: without it the desktop, brain
|
||||||
# Ollama and models all run; only the bot waits. Then put DISCORD_BOT_TOKEN in
|
# bridge, Ollama and models all run; only the bot waits. This deployment runs
|
||||||
# .env and re-run `docker compose up -d`.
|
# in userbot mode, so put DISCORD_SELFBOT_TOKEN in .env and re-run
|
||||||
|
# `docker compose up -d`. (A normal-bot DISCORD_BOT_TOKEN is optional and only
|
||||||
|
# needed for the legacy slash-command bot; leave it blank for userbot mode.)
|
||||||
#
|
#
|
||||||
# Watch the desktop: VNC viewer -> localhost:5901 (or browser -> localhost:6080)
|
# Watch the desktop: VNC viewer -> localhost:5901 (or browser -> localhost:6080)
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# Wait for the brain bridge, then run the Discord bot.
|
# Wait for the brain bridge, then run the Discord bot.
|
||||||
#
|
#
|
||||||
# The Discord token is intentionally deferred: if DISCORD_BOT_TOKEN is not set
|
# The Discord credential is intentionally deferred: if no usable token is set
|
||||||
# yet, the rest of the stack (desktop, bridge, ollama) still runs fully. The bot
|
# yet, the rest of the stack (desktop, bridge, ollama) still runs fully. The bot
|
||||||
# just waits. Add the token to .env and `docker compose up -d` to start it.
|
# just waits. Add a token to .env (DISCORD_SELFBOT_TOKEN for userbot mode, or
|
||||||
|
# DISCORD_BOT_TOKEN + DISCORD_APP_ID for the legacy normal bot) and
|
||||||
|
# `docker compose up -d` to start it.
|
||||||
set -e
|
set -e
|
||||||
cd /app/bot
|
cd /app/bot
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user