Files
aars/docker-compose.yml
IT狗 eafc1c33fc Add full AARS system - Attendance & Accident Record System
- FastAPI backend with SQLite database
- React + TailwindCSS frontend
- JWT authentication
- Excel upload/download for attendance and accident records
- Shift roster management with S7a/S7b split
- Lateness/OT calculation based on shift times
- Roster info API endpoints
- Export API with token query parameter support
- Docker compose deployment
2026-07-16 03:16:33 +08:00

22 lines
427 B
YAML

version: '3.8'
services:
aars:
build:
context: .
dockerfile: Dockerfile
ports:
- "18775:8000"
volumes:
- ./data:/app/data
environment:
- TZ=Asia/Hong_Kong
- PYTHONUNBUFFERED=1
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/api/auth/me"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s