Self-hosting
Self-host the whole route with Docker Compose
Citizens and Polis each run from Docker Compose on a server you control, behind your own reverse proxy. They are two separate programs joined by a one-way bridge, so you can run one, the other, or both.
StatusThis is not a single bundled installer. Citizens and Polis have their own Compose files and are installed separately; the bridge between them is a setting, not a third service.
How the pieces fit
Approved statements, text only
What runs where
Citizens: one container
It has its own sign-in, its own database and its own organiser page, and listens on the loopback address only. The baseline is 4 GB of RAM, 2 vCPU and 20 GB of disk.
Polis: four services
The API server, the maths service, PostgreSQL and a file server for the web clients. Their memory caps add up to about 1.7 GB.
A one-way bridge
Citizens calls Polis with an API key to create a conversation from approved statements. Polis never calls Citizens.
Your reverse proxy
Neither program handles HTTPS itself. The documentation has working examples for nginx and Caddy.
Optional: keep AI in-house
Use Vosk or your own Whisper server for transcription and a self-hosted model endpoint for analysis, and no recording or transcript leaves your infrastructure.
Modular by design
Start with Citizens alone, add Polis when you want a public vote, or run Polis on its own for an online consultation.
Before you put real data on it
Plan backups first. The Polis deployment kit does not make backups for you, so arrange your own database dumps. For Citizens, the documentation explains what to back up, including the secret that encrypts stored keys.
Rehearse an assembly on the real phones and network, and read what each provider receives before you choose a transcription or analysis service.
In the documentation
This site explains what the tools do. Installation and operation live in the documentation.
- RequirementsServer size, network and phones.
- Install Citizens with Docker ComposeReverse proxy, first start and accounts.
- Configuration referenceEvery environment variable.
- Backups and restoreWhat to back up and how to restore it.
- Updates and releasesMoving to a new version.
- TroubleshootingWhat to check when something fails.
- Deploy PolisThe self-hosting kit: build, start, expose and upgrade.
- Connect Citizens to PolisSetting up the bridge and its API key.
- ArchitectureHow Citizens is built inside.
Questions and answers
Is there one Compose file for everything?
No. Citizens and Polis are separate programs in separate repositories, each with its own Compose set-up. You connect them in the Citizens settings.
Can we run only Citizens, or only Polis?
Yes. Each works alone. The bridge is optional.
Does anything call home?
A fresh Citizens install sends nothing anywhere. Data leaves only for the transcription, analysis or Polis services an administrator configures. Installing a built-in Vosk language model downloads the model file from its host.
Do we need Nextcloud?
No. Nextcloud is one way to run Citizens; Docker Compose is the other.
Who is responsible for the data?
You are. Self-hosting means the recordings, transcripts and votes sit on your server under your own data-protection arrangements.
Keep going
Want a second pair of eyes on your set-up?
Tell us about your server and your timeline, and we will point you to the right pages or help directly.