Skip to content

Commit

Permalink
Update docker-compose.beginners.yml too
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
  • Loading branch information
timvaillancourt committed Jul 10, 2023
1 parent 91ed1e9 commit 058bc84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions examples/compose/.env
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ CELL=local
KEYSPACE=commerce
DB=commerce

VITESS_TAG:v14.0.5
EXTERNAL_DB=0
DB_HOST=external_db_host
DB_PORT=3306
Expand Down
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

0 comments on commit 058bc84

Please sign in to comment.