When starting v0.14.0 with Docker Compose, the tidb container is started, and port 4000 is exposed #11708
Open
5 tasks done
Labels
🐞 bug
Something isn't working
Self Checks
Dify version
0.14.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Start Dify v0.14.0 using Docker Compose.
✔️ Expected Behavior
Ports should not be exposed unnecessarily. If it is necessary to expose a port, users should be able to change the port number. Containers that are not required for production environments should not be started.
❌ Actual Behavior
The tidb container is started regardless of the profile, and port 4000 is exposed. If port 4000 is already in use, an error occurs.
dify/docker/docker-compose.yaml
Lines 496 to 504 in 7f095bd
This behavior was introduced by #11645.
Workarounds
Without modifying the
docker-compose.yaml
file, you can use the--scale
option to prevent thetidb
container from starting:The text was updated successfully, but these errors were encountered: