Self-hostingRun Vifu locally
Run Vifu locally
Use this path when you are changing Vifu source code. PostgreSQL stays in Docker; the Rust runtime and Dashboard run directly from their own packages.
First-time setup
Install Dashboard dependencies once from the repository root:
bun install --frozen-lockfileThen open three terminals.
1. Start PostgreSQL
docker compose -f docker-compose.yml -f docker-compose.local.yml up -d postgres2. Start Vifu Server and Agent Gateway
cd crates/vifu
cargo runOn its first run, vifu creates local configuration under ~/.vifu and starts
the Server and Agent Gateway together.
3. Start the Dashboard
cd npm-packages/dashboard
bun devOpen http://localhost:6791. The runtime is available at
http://127.0.0.1:6790.
Confirm the runtime
curl --fail --silent http://127.0.0.1:6790/healthCreate a project, then continue with Agent Providers.
Stop the Rust runtime and Dashboard with Ctrl-C. PostgreSQL remains available
for the next session. To stop it too:
docker compose -f docker-compose.yml -f docker-compose.local.yml down