Skip to content

Commit

Permalink
Merge pull request #3 from VimukthiPerera/4.2.x
Browse files Browse the repository at this point in the history
Merge Health-check issue fix commit
  • Loading branch information
VimukthiPerera authored Aug 12, 2018
2 parents 29bdfbc + e9ec8f9 commit d2affe5
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions docker-compose/sp-distributed/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ services:
ports:
- "9001:9443"
healthcheck:
test: ["CMD", "nc", "-z","localhost", "9001"]
test: ["CMD", "nc", "-z","localhost", "9443"]
interval: 10s
timeout: 120s
retries: 5
Expand All @@ -109,7 +109,6 @@ services:
environment:
NODE_ID: wso2sp-worker-1
NODE_IP: 0.0.0.0
NODE_PORT: 9001
links:
- manager1
worker2:
Expand All @@ -118,7 +117,7 @@ services:
ports:
- "9002:9443"
healthcheck:
test: ["CMD", "nc", "-z","localhost", "9002"]
test: ["CMD", "nc", "-z","localhost", "9443"]
interval: 10s
timeout: 120s
retries: 5
Expand All @@ -130,7 +129,6 @@ services:
environment:
NODE_ID: wso2sp-worker-2
NODE_IP: 0.0.0.0
NODE_PORT: 9002
links:
- manager1
worker3:
Expand All @@ -139,7 +137,7 @@ services:
ports:
- "9003:9443"
healthcheck:
test: ["CMD", "nc", "-z","localhost", "9003"]
test: ["CMD", "nc", "-z","localhost", "9443"]
interval: 10s
timeout: 120s
retries: 5
Expand All @@ -151,7 +149,6 @@ services:
environment:
NODE_ID: wso2sp-worker-3
NODE_IP: 0.0.0.0
NODE_PORT: 9003
links:
- manager1
worker4:
Expand All @@ -160,7 +157,7 @@ services:
ports:
- "9004:9443"
healthcheck:
test: ["CMD", "nc", "-z","localhost", "9004"]
test: ["CMD", "nc", "-z","localhost", "9443"]
interval: 10s
timeout: 120s
retries: 5
Expand All @@ -172,6 +169,5 @@ services:
environment:
NODE_ID: wso2sp-worker-4
NODE_IP: 0.0.0.0
NODE_PORT: 9004
links:
- manager1

0 comments on commit d2affe5

Please sign in to comment.