diff --git a/docker-compose.yml b/docker-compose.yml index 686a6701ec..fe92a43813 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: @@ -21,4 +23,5 @@ services: DB_PASSWORD: 123456 TZ: Asia/Shanghai ports: - - 8090:8090 \ No newline at end of file + - 8090:8090 + container_name: taier \ No newline at end of file