-
Notifications
You must be signed in to change notification settings - Fork 9.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When starting v0.14.0 with Docker Compose, the tidb container is started, and port 4000 is exposed #11708
Comments
To prevent the tidb:
image: pingcap/tidb:v8.4.0
# Comment out or remove the following line to not expose port 4000
# ports:
# - "4000:4000"
command:
- --store=unistore
restart: always By doing this, the Additionally, if you want to prevent the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
@crazywoola @bowenliang123 |
This is fixed and released since 0.14.1. |
@bowenliang123 |
Sorry for the miss of linking it. Please check 0.14.1 release note and its highlights. |
@bowenliang123 |
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: