From 3199a04014f1790198b9ea184f57b3ddaa72affc Mon Sep 17 00:00:00 2001 From: Greg Date: Sun, 22 Mar 2026 13:28:14 +0100 Subject: [PATCH] Use expose instead of ports for Coolify deployment Coolify handles reverse proxying internally, so binding to a host port is unnecessary and causes conflicts. expose makes port 8000 available within the Docker network without publishing it to the host. Co-Authored-By: Claude Sonnet 4.6 --- docker-compose.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 7534f66..f87ec7a 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -2,8 +2,8 @@ services: web: build: . container_name: cot_web - ports: - - "8000:8000" + expose: + - "8000" volumes: - cot_data:/data environment: