Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples/compose: fix consul:latest error w/docker-compose up -d #13468

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading