Files
CoHaiSe/docker-compose.yml
T
Esiah 09cf07d79b feat: migrate showcase to Next.js and overhaul CRM UI
- rebuild the public site on the Next.js App Router with static export,
  per-section SEO pages, metadata, sitemap, robots and a generated OG image
- add full-screen scroll-snap regions, staged scroll reveals, a hash-free
  tab navigation with a sliding indicator and region-by-region menu scrolling
- replace the theme text toggle with animated sun/moon icons
- restructure the CRM API into config, middleware, models, routes, services
  and utils layers
- redesign the CRM shell with a single surface, tab rail, full-width blurred
  DataTable, record dialogs and mask-based icons
- update Docker/Nginx publishing, Makefile targets, shared UI polish and docs
2026-11-16 00:52:29 +01:00

58 lines
1.3 KiB
YAML

name: cohaise-web
x-timezone: &timezone
TZ: Europe/Paris
x-restart: &restart
restart: unless-stopped
services:
app-build:
container_name: cohaise-web-app-build
restart: "no"
build:
context: .
dockerfile: docker/Dockerfile.app
target: export
args:
APP_DIR: frontend/web
OUTPUT_DIR: out
command: sh /publish.sh
volumes:
- app_data:/output
- ./docker/publish.sh:/publish.sh:ro
nginx:
container_name: cohaise-web-nginx
build:
context: .
dockerfile: docker/Dockerfile
args:
NGINX_CONF: web.conf
ports:
# Tunnel Cloudflare en amont : n'ecouter que sur la boucle locale.
- "127.0.0.1:${COHAISE_HTTP_PORT:-8080}:80"
# Le tunnel Cloudflare joint nginx par son nom sur le reseau partage.
networks:
- default
- shared-network
environment:
<<: *timezone
volumes:
- app_data:/usr/share/nginx/html
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1/healthz || exit 1"]
interval: 10s
timeout: 3s
retries: 3
<<: *restart
networks:
# Reseau partage avec le tunnel Cloudflare et les autres applications de
# l'hote. Externe : cree par le compose du tunnel, pas par ce projet.
shared-network:
external: true
volumes:
app_data: