Commit Graph

3 Commits

Author SHA1 Message Date
beubax ff3d5426a5 fix: harden container startup path 2026-06-10 16:59:43 +05:30
beubax ea4eaa791b docs: add production self-hosting path 2026-06-10 16:37:57 +05:30
Manoj Bajaj 6231674610 feat: add Dockerfile, docker-compose, and self-hosting guide
Enables single-command self-deployment of the authsome daemon in a
container without requiring Python or uv on the host.

- Multi-stage Dockerfile: ui-builder (Node 24/pnpm) → py-builder (uv
  wheel) → slim Python 3.13 runtime, non-root authsome user
- docker-compose.yml with named volume and restart: unless-stopped
- .dockerignore to keep the build context minimal
- docs/guides/self-hosting.md covering quick-start, env vars, volume
  backup/restore, TLS with Caddy, and local builds
- .github/workflows/docker.yml CI job that builds the image on every PR
- README.md self-hosting quick-start section

Closes #366

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 16:45:48 +05:30