Skip to content

Commit

Permalink
Merge pull request #13473 from vitessio/backport-13468-to-release-17.0
Browse files Browse the repository at this point in the history
[release-17.0] `examples/compose`: fix `consul:latest` error w/`docker-compose up -d` (#13468)
  • Loading branch information
mattlord authored Jul 11, 2023
2 parents d2a41dd + 67ec6c5 commit 5d0b91f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions examples/compose/docker-compose.beginners.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
version: "2.1"
services:
consul1:
image: consul:latest
image: hashicorp/consul:latest
hostname: "consul1"
ports:
- "8400:8400"
- "8500:8500"
- "8600:8600"
command: "agent -server -bootstrap-expect 3 -ui -disable-host-node-id -client 0.0.0.0"
consul2:
image: consul:latest
image: hashicorp/consul:latest
hostname: "consul2"
expose:
- "8400"
Expand All @@ -19,7 +19,7 @@ services:
depends_on:
- consul1
consul3:
image: consul:latest
image: hashicorp/consul:latest
hostname: "consul3"
expose:
- "8400"
Expand Down
6 changes: 3 additions & 3 deletions examples/compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ services:
consul1:
command: agent -server -bootstrap-expect 3 -ui -disable-host-node-id -client 0.0.0.0
hostname: consul1
image: consul:latest
image: hashicorp/consul:latest
ports:
- 8400:8400
- 8500:8500
Expand All @@ -16,7 +16,7 @@ services:
- "8500"
- "8600"
hostname: consul2
image: consul:latest
image: hashicorp/consul:latest
consul3:
command: agent -server -retry-join consul1 -disable-host-node-id
depends_on:
Expand All @@ -26,7 +26,7 @@ services:
- "8500"
- "8600"
hostname: consul3
image: consul:latest
image: hashicorp/consul:latest
external_db_host:
build:
context: ./external_db/mysql
Expand Down

0 comments on commit 5d0b91f

Please sign in to comment.