Skip to content

Commit

Permalink
modify container name
Browse files Browse the repository at this point in the history
  • Loading branch information
junqiang.zhang committed Feb 8, 2023
1 parent 6abb89c commit 59af578
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
privileged: true
image: mysql:5.7
command: mysqld --sql_mode="STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION" --default-authentication-plugin=mysql_native_password
container_name: test_mysql
container_name: mock_mysql
# volumes:
# - ./db:/var/lib/mysql
# - ./conf/:/etc/mysql/conf.d
Expand All @@ -19,7 +19,7 @@ services:
network_mode: "bridge"
redis:
image: redis
container_name: test_redis
container_name: mock_redis
network_mode: bridge
# command: redis-server /etc/redis. Conf # start redis command
# volumes:
Expand All @@ -28,7 +28,7 @@ services:
- "63790:6379"
kafka:
image: sjqzhang/kafka
container_name: test_kafka
container_name: mock_kafka
network_mode: bridge
environment:
ADVERTISED_HOST: "127.0.0.1"
Expand Down

0 comments on commit 59af578

Please sign in to comment.