Self-Hosting
Run Crit Web on your own server with Docker. Share reviews within your team without sending data to a third party.
tomasz-tomczyk/crit-web
Source code, Dockerfile, example configs, and issue tracker.
Docker with Compose. That's it.
With Compose plugin (included in Docker Desktop and most server installs).
Bundled in the docker-compose file, or bring your own.
Grab the example files and generate a secret key.
Set
SECRET_KEY_BASE
and PHX_HOST
in your .env
file.
One command. Database migrations run automatically.
All configuration lives in .env.
DATABASE_URL
PostgreSQL connection URL
SECRET_KEY_BASE
64+ byte secret for signing cookies
SELFHOSTED
Set to true
to enable self-hosted mode (dashboard, no marketing pages)
PHX_HOST
Hostname where crit-web is served
PHX_SERVER
Set to true to start the web server
ADMIN_PASSWORD
Password for the admin dashboard (if unset, dashboard is open)
PORT
HTTP port (default: 4000)
PHX_SCHEME
URL scheme for generated links (default: https)
FORCE_SSL
Set to true
to force HTTPS redirects (not needed behind a reverse proxy)
POOL_SIZE
Database connection pool size (default: 10)
Skip the bundled database and point to an existing instance.
Pull the latest image and restart.
Docker Image
Images are published to GitHub Container Registry.
latest
Latest stable release. Recommended for production.
main
Bleeding edge. Built from the main branch on every push.
1.2.3
Pin a specific version. Use for reproducible deployments.
What's next