fix: make tidb service optional with proper profile in docker compose yaml (#11729)

This commit is contained in:
Bowen Liang 2024-12-17 14:25:15 +08:00 committed by GitHub
commit 78c3051585
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -498,8 +498,8 @@ services:
# For production use, please refer to https://github.com/pingcap/tidb-docker-compose
tidb:
image: pingcap/tidb:v8.4.0
ports:
- "4000:4000"
profiles:
- tidb
command:
- --store=unistore
restart: always