Files
boc/iom/quixzoom-auth-service/docker-compose.yml
T
Bernt 6989a98d75 feat: Passwordless cross-device authentication
- Arkitektur: docs/auth/passwordless-architecture.md
- Backend: iom/quixzoom-auth-service/ (FastAPI + Redis)
- Webb: quixzoom-market-pages/se/login/ (QR-kod + polling)
- App: iom/quixzoom-app/src/features/auth/ (push + deep links)

Flöde: QR-kod → app-godkännande → webb-inloggad
2026-07-07 07:11:50 +00:00

46 lines
919 B
YAML

version: '3.8'
services:
passwordless-auth:
build: .
container_name: quixzoom-passwordless
ports:
- "8080:8080"
environment:
- PORT=8080
- HOST=0.0.0.0
- REDIS_HOST=redis
- REDIS_PORT=6379
- REDIS_DB=0
- JWT_SECRET=${JWT_SECRET}
depends_on:
- redis
networks:
- quixzoom-auth
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
redis:
image: redis:7-alpine
container_name: quixzoom-auth-redis
ports:
- "6379:6379"
volumes:
- redis-data:/data
networks:
- quixzoom-auth
restart: unless-stopped
command: redis-server --appendonly yes --maxmemory 256mb --maxmemory-policy allkeys-lru
networks:
quixzoom-auth:
driver: bridge
volumes:
redis-data: