// CONTENTS Part 13 · Reference

// PART 13

Ports and paths

Chapter 53 / 60 3 min read English Part 13 of 15

Every port the stack answers on, and every path it keeps state in, in one place. Values are the installer defaults; production containers may publish different host ports via proxy devices.

Default ports (installer stack, development defaults)

Service Port Notes
botui suite 3000 static HTMX apps; reverse-proxies /api/* and /ws to botserver
botui cloud 4000 store/dashboard/plans; does not serve login/signup (307 → 5000)
botui login 5000 the only domain serving login/signup
botserver API + WebSocket 8080 /health anonymous; /ready authenticated; 5858 is the production service port in the bot container
PostgreSQL 5432 component tables
Valkey 6379 component cache
Drive (OtterIO) 9100 API / 9101 console component drive
llama.cpp 8081 chat / 8082 embeddings component llm
BotModels 8085 vision/STT/TTS service
Vault/OpenBao 8200 component vault
Qdrant 6333 (HTTP; gRPC 6334) component vector_db
Zitadel 8300 (installer stack) / 9000 (production container) component directory
CoreDNS 53 component dns
Caddy 80/443 component proxy
Forgejo 4747 component alm (NOT 3000)
LiveKit 7880 component meeting
InfluxDB 8086 HTTP / 8083 RPC component timeseries_db
Vector 8686 component observability (health)
XRDP 3389 component remote_desktop
Mail 25 / 465 / 587 / 993 Stalwart: SMTP, submissions, submission, IMAPS

Filesystem paths

Path What lives there
botserver-stack/ the runtime stack root (development/installer): bin/, data/, conf/, logs/
botserver-stack/logs/<service>/ per-component logs (system, tables, drive, cache, llm, email, directory, vectordb, meet)
botserver-stack/conf/Caddyfile generated proxy config (backed up to Caddyfile.bak-<epoch> before replacement)
botserver-stack/conf/dns/Corefile + <platform>.zone generated DNS config
botserver-stack/conf/vault/init.json unseal keys + root token — protect, copy off-host
botserver-stack/data/vault/ OpenBao raft storage
botserver-installers/ offline installer cache (BOTSERVER_INSTALLERS_PATH)
/opt/gbo/{bin,data,conf,logs} production container layout (bot container runs /opt/gbo/bin/botserver)
/opt/gbo/bin/ui/ production static UI (per-request reads; push, no restart)
/opt/gbo/bin/botserver.previous, ui.previous rollback copies — keep them
/opt/gbo/work production work dir (GBO_WORK_PATH; development materializes under ./work/)
~/.local/share/generalbots desktop user data (override: BOTSERVER_STACK_PATH)
~/.local/opt/general-bots desktop tarball install target (install.sh replaces it, data survives)
work/{branch}.gborg/{branch}.gbai/{bot}.* git-owned bot materialization target — internal, never a source

Database paths

What Where
Migrations botserver/migrations/ (211 at time of writing)
Schema declarations botschema/ crate (the only home of table!)
Schema reference generator python3 scripts/gen_schema_reference.py

URL surface quick map

Path Answers
/health anonymous liveness
/ready (auth) dependency-aware readiness (?deep=1 diagnostics)
/metrics, /api/metrics (auth) Prometheus text / legacy
/api/product resolved product (version, apps, flags)
/api/files/quota Drive usage vs tenant quota
/api/domains/resolve?host= hostname → bot
/wizard/index.html first-run wizard page

Found a mistake? Open an issue · All books

// SEARCH ESC
Pagefind · 236 pages · 4 books Enter to open ↑ ↓ to move