RegWatch frontend : React/Vite -> nginx + Docker/CI homelab
Build & Deploy / build (push) Successful in 18s

- URL d'API externalisée (VITE_API_URL bakée au build), plus de localhost en dur
- Dockerfile multi-stage pnpm build -> nginx (fallback SPA)
- docker-compose (Watchtower) + .gitea/workflows/build.yml

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-24 18:43:29 +02:00
co-authored by Claude Opus 4.8
commit 2307d9a134
49 changed files with 6678 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
services:
regwatch-frontend:
image: git.nfteam.ovh/mouigni/regwatch-frontend:latest
container_name: regwatch-frontend
restart: unless-stopped
pull_policy: always
ports:
- "8115:80"
labels:
- "com.centurylinklabs.watchtower.enable=true"
- "homepage.group=RegWatch"
- "homepage.name=RegWatch"
- "homepage.icon=mdi-radar"
- "homepage.href=https://regwatch.nfteam.ovh"
- "homepage.description=Veille réglementaire (front React/Vite)"