From 5f3528cce1a90e5bf0d49fe82d777c7bcd071afc Mon Sep 17 00:00:00 2001 From: Aurealibe <220354117+Aurealibe@users.noreply.github.com> Date: Fri, 10 Jul 2026 04:16:47 +0100 Subject: [PATCH] Align production compose with the minimal Coolify pattern (no ports/expose) --- docker-compose.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index b37f352..c01b50a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,11 +1,10 @@ # Production compose (what Coolify deploys): one service, the static site -# built by the multi-stage Dockerfile and served by hardened nginx on 80 -# (the port reverse proxies expect by default). No host `ports:` mapping: -# the platform's proxy (Traefik on Coolify) routes straight to the exposed -# container port. For local development use docker-compose.dev.yml instead. +# built by the multi-stage Dockerfile and served by hardened nginx on port +# 80 (EXPOSEd by the Dockerfile). No ports/expose/networks here: the +# platform's reverse proxy (Traefik) routes to the container from the +# domain assigned in Coolify. For local development use +# docker-compose.dev.yml instead. services: web: build: . - restart: unless-stopped - expose: - - '80' + restart: always