chore: initial import of CoHaiSe Cloud
PR — Ouverture automatique / create-pr (push) Failing after 1s

Standalone files & media application: React/Vite frontend with the @cohaise/ui design system, Hono + MariaDB backend, nginx reverse proxy, Docker Compose stack, migrations 000-006, and project docs.

Adds Gitea Actions workflows for deployment, automatic pull requests, and Renovate dependency updates.
This commit is contained in:
2026-10-14 15:24:06 +02:00
commit cc397e96d8
113 changed files with 12678 additions and 0 deletions
@@ -0,0 +1 @@
add_header Cache-Control "public, immutable" always;
@@ -0,0 +1 @@
add_header Cache-Control "no-cache" always;
+14
View File
@@ -0,0 +1,14 @@
# Relay vers l'API. Resolver Docker declare pour resoudre le conteneur a la
# demande : nginx peut demarrer avant l'API et lui survit pendant un
# redemarrage.
resolver 127.0.0.11 valid=30s ipv6=off;
set $cohaise_api http://api:8080;
proxy_pass $cohaise_api$request_uri;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 60s;
# Aligne sur la borne de depot du Cloud.
client_max_body_size 5g;
@@ -0,0 +1,8 @@
# En-tetes de securite communs. CSP stricte : aucun script en ligne, aucun
# cadre, aucune origine externe. Les styles tolerent l'inline (attributs
# `style=` de React) : c'est une concession sans effet sur l'execution de code.
add_header Content-Security-Policy "default-src 'self'; base-uri 'none'; object-src 'none'; frame-ancestors 'none'; form-action 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; media-src 'self' blob:; font-src 'self' data:; connect-src 'self'" always;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
add_header X-Content-Type-Options "nosniff" always;
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
add_header Permissions-Policy "camera=(), microphone=(), geolocation=()" always;