-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #160 from marcospereira/build/use-docker-for-kafka…
…-server Use external Kafka server for shopping cart samples
- Loading branch information
Showing
9 changed files
with
140 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 1,24 @@ | ||
postgres: | ||
image: postgres:latest | ||
container_name: shopping_cart_postgres | ||
environment: | ||
- "TZ=Europe/Amsterdam" | ||
- "POSTGRES_USER=shopping_cart" | ||
- "POSTGRES_PASSWORD=shopping_cart" | ||
ports: | ||
- "5432:5432" # credentials (shopping_cart:shopping_cart) | ||
version: '2' | ||
services: | ||
zookeeper: | ||
image: wurstmeister/zookeeper | ||
container_name: shopping_cart_zookeper | ||
ports: | ||
- "2181:2181" | ||
kafka: | ||
image: wurstmeister/kafka:2.12-2.1.1 | ||
container_name: shopping_cart_kafka | ||
ports: | ||
- "9092:9092" | ||
environment: | ||
KAFKA_ADVERTISED_HOST_NAME: localhost | ||
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 | ||
postgres: | ||
image: postgres:latest | ||
container_name: shopping_cart_postgres | ||
environment: | ||
- "TZ=Europe/Amsterdam" | ||
- "POSTGRES_USER=shopping_cart" | ||
- "POSTGRES_PASSWORD=shopping_cart" | ||
ports: | ||
- "5432:5432" # credentials (shopping_cart:shopping_cart) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 1,24 @@ | ||
postgres: | ||
image: postgres:latest | ||
container_name: shopping_cart_postgres | ||
environment: | ||
- "TZ=Europe/Amsterdam" | ||
- "POSTGRES_USER=shopping_cart" | ||
- "POSTGRES_PASSWORD=shopping_cart" | ||
ports: | ||
- "5432:5432" # credentials (shopping_cart:shopping_cart) | ||
version: '2' | ||
services: | ||
zookeeper: | ||
image: wurstmeister/zookeeper | ||
container_name: shopping_cart_zookeper | ||
ports: | ||
- "2181:2181" | ||
kafka: | ||
image: wurstmeister/kafka:2.12-2.1.1 | ||
container_name: shopping_cart_kafka | ||
ports: | ||
- "9092:9092" | ||
environment: | ||
KAFKA_ADVERTISED_HOST_NAME: localhost | ||
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 | ||
postgres: | ||
image: postgres:latest | ||
container_name: shopping_cart_postgres | ||
environment: | ||
- "TZ=Europe/Amsterdam" | ||
- "POSTGRES_USER=shopping_cart" | ||
- "POSTGRES_PASSWORD=shopping_cart" | ||
ports: | ||
- "5432:5432" # credentials (shopping_cart:shopping_cart) |
This file was deleted.
Oops, something went wrong.