Self-host HushNet
Spin up your own instance in minutes. Minimal Docker Compose example:
version: "3.9"
services:
db:
image: postgres:16-alpine
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: dev
POSTGRES_DB: e2ee
volumes:
- ./sql_models:/docker-entrypoint-initdb.d
ports:
- "5432:5432"
backend:
image: ghcr.io/hushnet/backend:latest
depends_on: [db]
environment:
DATABASE_URL: postgres://postgres:dev@db:5432/e2ee
RUST_LOG: info
ports:
- "8080:8080"Steps
- Clone the repository and copy .env.example.
- Run docker compose up -d.
- Check the API health (/health).
- Create users / devices via the API.
