Skip to content

docker-compose.yml: specify AMD64 platform #56

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
65 changes: 43 additions & 22 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,50 @@ services:
image: hashicorp/consul:latest
command: agent -server -dev -log-level debug -client 0.0.0.0
ports:
- 8500:8500
- 8500:8500

# 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
nsqlookupd-1:
image: nsqio/nsq:v0.3.8
command: >
/nsqlookupd
-broadcast-address localhost:4160
ports:
- 4160:4160
- 4161:4161
- 4160:4160
- 4161:4161

# See platform comment above for amd64/arm64 troubleshooting
platform: linux/amd64
nsqlookupd-2:
image: nsqio/nsq:v0.3.8
command: >
/nsqlookupd
-broadcast-address localhost:4162
ports:
- 4162:4160
- 4163:4161
- 4162:4160
- 4163:4161

# See platform comment above for amd64/arm64 troubleshooting
platform: linux/amd64
nsqlookupd-3:
image: nsqio/nsq:v0.3.8
command: >
/nsqlookupd
-broadcast-address localhost:4164
ports:
- 4164:4160
- 4165:4161
- 4164:4160
- 4165:4161

# See platform comment above for amd64/arm64 troubleshooting
platform: linux/amd64
nsqd-1:
image: nsqio/nsq:v0.3.8
command: >
Expand All @@ -45,13 +60,15 @@ services:
-lookupd-tcp-address nsqlookupd-2:4160
-lookupd-tcp-address nsqlookupd-3:4160
ports:
- 4150:4150
- 4151:4151
- 4150:4150
- 4151:4151
depends_on:
- nsqlookupd-1
- nsqlookupd-2
- nsqlookupd-3
- nsqlookupd-1
- nsqlookupd-2
- nsqlookupd-3

# See platform comment above for amd64/arm64 troubleshooting
platform: linux/amd64
nsqd-2:
image: nsqio/nsq:v0.3.8
command: >
Expand All @@ -61,13 +78,15 @@ services:
-lookupd-tcp-address nsqlookupd-2:4160
-lookupd-tcp-address nsqlookupd-3:4160
ports:
- 4152:4150
- 4153:4151
- 4152:4150
- 4153:4151
depends_on:
- nsqlookupd-1
- nsqlookupd-2
- nsqlookupd-3
- nsqlookupd-1
- nsqlookupd-2
- nsqlookupd-3

# See platform comment above for amd64/arm64 troubleshooting
platform: linux/amd64
nsqd-3:
image: nsqio/nsq:v0.3.8
command: >
Expand All @@ -77,9 +96,11 @@ services:
-lookupd-tcp-address nsqlookupd-2:4160
-lookupd-tcp-address nsqlookupd-3:4160
ports:
- 4154:4150
- 4155:4151
- 4154:4150
- 4155:4151
depends_on:
- nsqlookupd-1
- nsqlookupd-2
- nsqlookupd-3
- nsqlookupd-1
- nsqlookupd-2
- nsqlookupd-3
# See platform comment above for amd64/arm64 troubleshooting
platform: linux/amd64
Loading