Production hardening¶
Checklist before exposing Keprix beyond localhost.
Secrets¶
- [ ] Replace all
GENERATE_RANDOM_*placeholders in.env - [ ] Set strong
KEPRIX_ADMIN_PASSWORDbefore first boot - [ ] Rotate
KEPRIX_JWT_SECRETandKEPRIX_SESSION_SECRETon compromise
Network¶
- [ ] Bind services to
127.0.0.1unless behind TLS reverse proxy - [ ] Restrict Postgres and Redis to internal Docker network in production
- [ ] Set
KEPRIX_ALLOWED_ORIGINSto your real frontend URL
Auth¶
- [ ] Enable
KEPRIX_REQUIRE_2FAfor admin accounts when supported - [ ] Disable developer mode on shared staging hosts
Updates¶
python3 -m keprix.keprix_cli.main update
python3 -m keprix.keprix_cli.main health
Backups¶
Schedule hot backups before upgrades.