mirror of
https://github.com/wahyd4/passkey-auth.git
synced 2026-08-09 04:15:55 +10:00
23 lines
583 B
YAML
23 lines
583 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
|
|
- ADMIN_EMAIL=admin@example.com
|
|
- DEFAULT_EMAIL=admin@example.com
|
|
volumes:
|
|
- ./data:/data
|
|
- ./config.yaml:/app/config.yaml
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8080/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|