Installing Faramesh (Self-Hosted)
Run Faramesh on your own infrastructure for full control.
Install
Or from source:
Start the server
API: http://127.0.0.1:8000
Docs: http://127.0.0.1:8000/docs
Database
SQLite (default) — Good for development. Data stored in data/actions.db.
PostgreSQL (production) — Recommended for production:
Migrate SQLite to Postgres
Policy file
By default, Faramesh uses policies/engine_v2.yaml. Place your policy file in the project or point to it when starting.
Approval notifications
To send approval notifications to Slack or email, configure those when starting the server. The Faramesh repo has setup examples for webhook and SMTP configuration.
Environment variables (common)
Variable | Description |
|---|---|
|
|
| PostgreSQL connection string when using postgres backend |
| Path to policy file (default: |
| Bind address and port (default 0.0.0.0:8000) |
See the Faramesh server repo or faramesh serve --help for the full list.
Docker
For a containerized run, use the official image (if published) or build from the Faramesh server repo. Example:
For production, mount a volume for SQLite data or set FARA_POSTGRES_DSN and use PostgreSQL. See Docker Compose for a full stack.
