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 <noreply@anthropic.com>
This commit is contained in:
Greg 2026-03-22 13:28:14 +01:00
parent 5f694ca6ed
commit 3199a04014

View File

@ -2,8 +2,8 @@ services:
web: web:
build: . build: .
container_name: cot_web container_name: cot_web
ports: expose:
- "8000:8000" - "8000"
volumes: volumes:
- cot_data:/data - cot_data:/data
environment: environment: