-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: boot nsq cluster via docker-compose, update env file
.env files capable of loading configuration that matches the nsq cluster booted by docker-compose. Boot docker-compose nsq cluser in CI for live integration testing.
- Loading branch information
Showing
4 changed files
with
38 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
NSQD_TCP_ADDRESS=127.0.0.1:4150 | ||
NSQD_HTTP_ADDRESS=127.0.0.1:4151 | ||
NSQLOOKUPD_TCP_ADDRESS=127.0.0.1:4160 | ||
NSQLOOKUPD_HTTP_ADDRESS=127.0.0.1:4161 | ||
FAKE_QUEUE=true |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
version: '3' | ||
services: | ||
nsqlookupd: | ||
image: nsqio/nsq | ||
command: /nsqlookupd | ||
ports: | ||
- "4160:4160" | ||
- "4161:4161" | ||
nsqd: | ||
image: nsqio/nsq | ||
command: /nsqd --lookupd-tcp-address=nsqlookupd:4160 --broadcast-address localhost | ||
depends_on: | ||
- nsqlookupd | ||
ports: | ||
- "4150:4150" | ||
- "4151:4151" | ||
nsqadmin: | ||
image: nsqio/nsq | ||
command: /nsqadmin --lookupd-http-address=nsqlookupd:4161 | ||
depends_on: | ||
- nsqlookupd | ||
ports: | ||
- "4171:4171" |
This file was deleted.
Oops, something went wrong.