Align production compose with the minimal Coolify pattern (no ports/expose)
This commit is contained in:
+6
-7
@@ -1,11 +1,10 @@
|
|||||||
# Production compose (what Coolify deploys): one service, the static site
|
# Production compose (what Coolify deploys): one service, the static site
|
||||||
# built by the multi-stage Dockerfile and served by hardened nginx on 80
|
# built by the multi-stage Dockerfile and served by hardened nginx on port
|
||||||
# (the port reverse proxies expect by default). No host `ports:` mapping:
|
# 80 (EXPOSEd by the Dockerfile). No ports/expose/networks here: the
|
||||||
# the platform's proxy (Traefik on Coolify) routes straight to the exposed
|
# platform's reverse proxy (Traefik) routes to the container from the
|
||||||
# container port. For local development use docker-compose.dev.yml instead.
|
# domain assigned in Coolify. For local development use
|
||||||
|
# docker-compose.dev.yml instead.
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
build: .
|
build: .
|
||||||
restart: unless-stopped
|
restart: always
|
||||||
expose:
|
|
||||||
- '80'
|
|
||||||
|
|||||||
Reference in New Issue
Block a user