Files
boc/iom/quixzoom-auth-service/docker-compose.yml
T
Bernt 623561d30a feat: Passwordless auth — backend deployad, frontend uppdaterad
- Backend: Docker-container på port 8082
- Redis: Intern container (ingen exposed port)
- Nginx-config: nginx-passwordless.conf (väntar på deploy)
- Webb: API_BASE uppdaterad till api.quixzoom.com
- Fix: datetime timezone-aware i approve-endpoint
- Test: End-to-end flöde verifierat
2026-07-07 09:05:21 +00:00

45 lines
926 B
YAML

version: '3.8'
services:
passwordless-auth:
build: .
container_name: quixzoom-passwordless
ports:
- "8082: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
# No exposed port - internal only
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: