Skip to content
Open
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
25 changes: 19 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,37 @@ services:
zookeeper:
image: wurstmeister/zookeeper
ports:
- "2181:2181"
- "2181:2181"

# If you are on arm64 and experiencing issues with the tests (hangs,
# connection reset) then try the following in order:

# - stopping and removing all downloaded container images
# - ensuring you have the latest Docker Desktop version
# - factory reset your Docker Desktop settings

# If you are still running into issues please post in #help-infra-seg.
platform: linux/amd64
kafka:
image: wurstmeister/kafka
links:
- zookeeper
- zookeeper
ports:
- "9092:9092"
- "9092:9092"
environment:
KAFKA_VERSION: "0.10.1.0"
KAFKA_ADVERTISED_HOST_NAME: localhost
KAFKA_ADVERTISED_PORT: "9092"
KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181"

# See platform comment above for amd64/arm64 troubleshooting
platform: linux/amd64
localstack:
image: localstack/localstack:0.10.5
ports:
- "4567-4599:4567-4599"
- "4567-4599:4567-4599"
environment:
- DEBUG=1
- DEFAULT_REGION=us-west-2
- DEBUG=1
- DEFAULT_REGION=us-west-2
# See platform comment above for amd64/arm64 troubleshooting
platform: linux/amd64