e5e6f72f92
- CI/CD Gitea Actions: ci.yml (Pint + PHPUnit), deploy.yml (déploiement SSH) - Suppression de l'ancien workflow GitHub cassé - En-têtes de sécurité: ajout CSP et Permissions-Policy - RGPD: droit à l'effacement (anonymisation du compte) + tests - Correctifs: ForceHttps hors env testing, timestamps du modèle Utilisateur, suppression des migrations en doublon (migrate échouait sur base neuve) - Qualité: formatage Laravel Pint sur l'ensemble du code - Documentation dossier technique (docs/) + .docx + .pptx Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
25 lines
554 B
YAML
25 lines
554 B
YAML
version: '3'
|
|
services:
|
|
# La partie PHP (ton Dockerfile actuel)
|
|
app:
|
|
build: .
|
|
container_name: laravel_php
|
|
restart: always
|
|
volumes:
|
|
- .:/var/www
|
|
|
|
# La partie Serveur Web (qui parle à NPM et à PHP)
|
|
web:
|
|
image: nginx:alpine
|
|
container_name: laravel_web
|
|
restart: always
|
|
ports:
|
|
- "8005:80"
|
|
- "8443:443" # HTTPS port
|
|
volumes:
|
|
- .:/var/www
|
|
- ./nginx.conf:/etc/nginx/conf.d/default.conf
|
|
- ./cert.pem:/var/www/cert.pem
|
|
- ./cert.key:/var/www/cert.key
|
|
depends_on:
|
|
- app |