mirror of
https://github.com/wahyd4/passkey-auth.git
synced 2026-08-09 04:15:55 +10:00
- Complete WebAuthn/FIDO2 authentication implementation - SQLite database with user and credential management - Email-based user identification with allowlist support - Admin approval workflow for new users - Session management with secure cookies - Docker containerization with Debian base for SQLite compatibility - Kubernetes deployment manifests with nginx ingress support - Web-based admin interface for user management - Comprehensive documentation and deployment guides - Standard open source project structure with CI/CD
21 lines
506 B
YAML
21 lines
506 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
passkey-auth:
|
|
build: .
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
- WEBAUTHN_RP_ID=localhost
|
|
- DATABASE_PATH=/data/passkey-auth.db
|
|
- SESSION_SECRET=dev-secret-change-in-production
|
|
volumes:
|
|
- ./data:/data
|
|
- ./config.yaml:/root/config.yaml
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8080/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|