Files
L'électron rare b3964df9b2 build: add nginx docker image and compose
Dockerfile implements multi-stage build: node:22-alpine for build
stage, nginx:1.27-alpine for production runtime. nginx.conf provides
SPA routing with gzip compression and cache headers. docker-compose.yml
prepared for Tower Traefik integration with external network and Host
route. All files match specification verbatim.
2026-07-09 12:22:42 +02:00

18 lines
470 B
YAML

services:
web:
build: .
container_name: clement-saillant-cc
restart: unless-stopped
networks:
- traefik
labels:
- traefik.enable=true
- traefik.http.routers.clement.rule=Host(`clement.saillant.cc`)
- traefik.http.routers.clement.entrypoints=websecure
- traefik.http.routers.clement.tls.certresolver=letsencrypt
- traefik.http.services.clement.loadbalancer.server.port=80
networks:
traefik:
external: true