From 56673b9bb7370b48ed369cf535683534316dd0e5 Mon Sep 17 00:00:00 2001 From: mrtoine Date: Thu, 11 Sep 2025 18:01:10 +0200 Subject: [PATCH] update --- .gitignore | 18 ++++++++++++++++++ README.md | 40 ++++++++++++++++++++++++++++++++++++++++ docker-compose.yml | 16 ++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 docker-compose.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7d2a4e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,18 @@ +# Logs & system +*.log +__pycache__/ +*.pyc + +# Docker +*.env +acme.json + +# IDE +.vscode/ +.idea/ + +# Node (si tu passes à Node un jour) +node_modules/ + +# Python +venv/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..9463d17 --- /dev/null +++ b/README.md @@ -0,0 +1,40 @@ +# 🚀 Liste des Features – Projet server-home + +## 🎨 Frontend (dashboard HTML/CSS/JS) + +- [ ] `feature/dashboard-base` – Page d’accueil avec liens vers services +- [ ] `feature/layout-responsive` – Responsive design + Grid/Flex +- [ ] `feature/css-modules` – Séparation du CSS (layout, couleur, typo) +- [ ] `feature/dashboard-stats-js` – Stats système dynamiques en JS +- [ ] `feature/dashboard-icons-links` – Icônes + liens services personnalisés +- [ ] `feature/theme-system` – Thème sombre / clair configurable +- [ ] `feature/ui-personnalisation` – Logo, favicon, titre dynamique + +## ⚙️ Backend (API Flask ou Node.js) + +- [ ] `feature/api-base` – Serveur API avec `/api/stats` +- [ ] `feature/api-system-info` – CPU / RAM / Uptime du système +- [ ] `feature/api-auth` – Protection API (IP whitelisting ou token) +- [ ] `feature/api-docker-control` – Contrôle Docker (restart, stop service) +- [ ] `feature/api-healthcheck` – Endpoint de check système (`/ping`) + +## 🐳 Docker / Reverse Proxy + +- [ ] `feature/docker-setup` – `docker-compose.yml` de base +- [ ] `feature/reverse-proxy` – Reverse proxy avec Nginx ou Traefik +- [ ] `feature/https-setup` – HTTPS automatique via Let's Encrypt +- [ ] `feature/docker-frontend` – Dockerisation du front via Nginx +- [ ] `feature/docker-backend` – Dockerisation de l’API backend + +## 🔒 Sécurité / Production + +- [ ] `feature/env-structure` – Fichier `.env` propre +- [ ] `feature/deploy-scripts` – `start.sh`, `stop.sh`, etc. +- [ ] `feature/security-cors` – CORS et headers de sécurité +- [ ] `feature/security-ratelimit` – Limiteur de requêtes API + +## 📚 Documentation + +- [ ] `feature/readme` – Rédaction du `README.md` +- [ ] `feature/changelog` – Journal des changements (`CHANGELOG.md`) +- [ ] `feature/user-doc` – Doc utilisateur (markdown ou HTML) \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..73754e0 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,16 @@ +services: + dashboard: + image: nginx:alpine + container_name: dashboard + restart: always + volumes: + - ./data/frontend:/usr/share/nginx/html:ro + ports: + - "8882:80" # ou laisse tomber si tu utilises Traefik derrière + networks: + - default + - nginx_net + +networks: + nginx_net: + external: true \ No newline at end of file