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:
parent
5f694ca6ed
commit
3199a04014
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user