- Galerie fête : ne remplace plus l'URL signée d'une image déjà affichée (egress ~10 Go/h par écran) - ZIP découpé en parties (300 photos / 100 Mo), liens directs sans blob en mémoire - Suppression d'une photo par l'admin (original + miniature), POST authentifié par admin_token - Miniatures 480 px générées côté client, ZIP et téléchargement gardent l'original - Token admin dans le fragment (#token=), nginx sans access_log sur /admin/, logs Docker bornés - Slug avec suffixe aléatoire de 6 hex pour les nouveaux événements Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
36 lines
1.4 KiB
YAML
36 lines
1.4 KiB
YAML
services:
|
|
photobooth-front:
|
|
image: nginx:alpine
|
|
restart: always
|
|
# Journaux bornés (~30 Mo max) : contiennent des IP d'invités.
|
|
logging:
|
|
driver: json-file
|
|
options:
|
|
max-size: "10m"
|
|
max-file: "3"
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.http.routers.photobooth.rule=Host(`photobooth.assistantaikev.eu`)
|
|
- traefik.http.routers.photobooth.tls=true
|
|
- traefik.http.routers.photobooth.entrypoints=web,websecure
|
|
- traefik.http.routers.photobooth.tls.certresolver=mytlschallenge
|
|
- traefik.http.middlewares.photobooth.headers.SSLRedirect=true
|
|
- traefik.http.middlewares.photobooth.headers.STSSeconds=315360000
|
|
- traefik.http.middlewares.photobooth.headers.browserXSSFilter=true
|
|
- traefik.http.middlewares.photobooth.headers.contentTypeNosniff=true
|
|
- traefik.http.middlewares.photobooth.headers.forceSTSHeader=true
|
|
- traefik.http.middlewares.photobooth.headers.SSLHost=assistantaikev.eu
|
|
- traefik.http.middlewares.photobooth.headers.STSIncludeSubdomains=true
|
|
- traefik.http.middlewares.photobooth.headers.STSPreload=true
|
|
- traefik.http.routers.photobooth.middlewares=photobooth@docker
|
|
- traefik.http.services.photobooth.loadbalancer.server.port=80
|
|
volumes:
|
|
- ./site:/usr/share/nginx/html:ro
|
|
- ./nginx-photobooth.conf:/etc/nginx/conf.d/default.conf:ro
|
|
networks:
|
|
- n8n_default
|
|
|
|
networks:
|
|
n8n_default:
|
|
external: true
|