Skip to content

Commit

Permalink
[issue_1160][docker] Fixed name error when using docker-compose (#1168)
Browse files Browse the repository at this point in the history
Use docker-compose syntax to explicitly specify the name of the
container after it is started to avoid container name format errors when
docker-compose is repeatedly executed.

check it #1160
  • Loading branch information
Jixiangup authored Apr 23, 2024
1 parent 48bfd97 commit f0e723e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ services:
TZ: Asia/Shanghai
ports:
- 3306:3306
container_name: taier-db
taier-zk:
image: zookeeper:3.4.9
container_name: taier-zk
taier:
image: dtopensource/taier:latest
environment:
Expand All @@ -21,4 +23,5 @@ services:
DB_PASSWORD: 123456
TZ: Asia/Shanghai
ports:
- 8090:8090
- 8090:8090
container_name: taier

0 comments on commit f0e723e

Please sign in to comment.