feat: initial CronHub release

- FastAPI backend avec APScheduler
- API REST complète (CRUD + toggle + run + logs)
- UI Jinja2 + Tailwind (charte orange/slate)
- SQLite pour la persistance
- Docker + Traefik labels
- Swagger docs auto sur /docs
This commit is contained in:
Luca
2026-03-15 15:19:36 +01:00
commit d94e340d31
10 changed files with 1109 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
version: "3.8"
services:
cronhub:
build: .
container_name: cronhub
restart: unless-stopped
volumes:
- ./data:/data
- /opt/container/cronmaster/scripts:/scripts:ro
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DB_PATH=/data/cronhub.db
- TZ=Europe/Paris
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.cronhub.rule=Host(`cronhub.nas.percolouco.com`)"
- "traefik.http.routers.cronhub.entrypoints=websecure"
- "traefik.http.routers.cronhub.tls=true"
- "traefik.http.routers.cronhub.tls.certresolver=letsencrypt"
- "traefik.http.services.cronhub.loadbalancer.server.port=8000"
networks:
proxy:
external: true