This repository has been archived by the owner on Oct 30, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
222 additions
and
5 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,4 @@ | ||
node_modules | ||
coverage | ||
.git | ||
test/integration/data/* |
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,18 @@ | ||
FROM node:4.4 | ||
MAINTAINER Ian Patton <ian.patton@gmail.com> | ||
|
||
RUN useradd -m -s /bin/bash node | ||
RUN mkdir -p /usr/src/app | ||
RUN chown -R node /usr/src/app | ||
|
||
USER node | ||
WORKDIR /usr/src/app | ||
|
||
COPY package.json /usr/src/app/ | ||
RUN npm install | ||
|
||
COPY . /usr/src/app/ | ||
|
||
EXPOSE 6382 | ||
|
||
CMD [ "npm", "start" ] |
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,56 @@ | ||
mongo: | ||
image: mongo:3.2 | ||
expose: | ||
- "27017" | ||
command: mongod --smallfiles | ||
rabbit: | ||
image: rabbitmq:3.6 | ||
expose: | ||
- "5672" | ||
farmer1: | ||
build: https://github.com/Storj/storjshare-cli.git#dockerize | ||
command: bin/storjshare.js start | ||
expose: | ||
- "4000" | ||
volumes: | ||
- ./test/integration/configs/farmer1:/home/node/.storjshare | ||
- ./test/integration/data/farmer1:/data | ||
farmer2: | ||
build: https://github.com/Storj/storjshare-cli.git#dockerize | ||
command: bin/storjshare.js start | ||
expose: | ||
- "4000" | ||
volumes: | ||
- ./test/integration/configs/farmer2:/home/node/.storjshare | ||
- ./test/integration/data/farmer2:/data | ||
farmer3: | ||
build: https://github.com/Storj/storjshare-cli.git#dockerize | ||
command: bin/storjshare.js start | ||
expose: | ||
- "4000" | ||
volumes: | ||
- ./test/integration/configs/farmer3:/home/node/.storjshare | ||
- ./test/integration/data/farmer3:/data | ||
farmer4: | ||
build: https://github.com/Storj/storjshare-cli.git#dockerize | ||
command: bin/storjshare.js start | ||
expose: | ||
- "4000" | ||
volumes: | ||
- ./test/integration/configs/farmer4:/home/node/.storjshare | ||
- ./test/integration/data/farmer4:/data | ||
bridge: | ||
build: . | ||
command: bash -c 'sleep 5 && ./node_modules/.bin/_mocha test/**/*.integration.js' | ||
environment: | ||
NODE_ENV: integration | ||
STORJ_ALLOW_LOOPBACK: 1 | ||
links: | ||
- mongo | ||
- rabbit | ||
- farmer1 | ||
- farmer2 | ||
- farmer3 | ||
- farmer4 | ||
volumes: | ||
- .:/output |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"keypath": "./config/id_ecdsa", | ||
"address": "", | ||
"storage": { | ||
"path": "./data", | ||
"size": 1, | ||
"unit": "GB" | ||
}, | ||
"network": { | ||
"address": "127.0.0.1", | ||
"port": 4000, | ||
"seeds": [], | ||
"opcodes": [ | ||
"0f01020202", | ||
"0f02020202", | ||
"0f03020202" | ||
], | ||
"forward": false, | ||
"tunnels": 3, | ||
"tunnelport": 4001, | ||
"gateways": { | ||
"min": 0, | ||
"max": 0 | ||
} | ||
}, | ||
"telemetry": { | ||
"service": "https://status.storj.io", | ||
"enabled": false | ||
}, | ||
"loglevel": 4 | ||
} |
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 @@ | ||
2KzNQi7sfbYZBZW9sVHvRnqiFAn9THcC1QCzA2gbw6HZ7CRzbH6PG5Vb3Z7WMumm3kMgBMkyjVXsEu6ZhSawXqwHV8WYeMXFmuC8GjQu2koSep |
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,31 @@ | ||
{ | ||
"keypath": "./config/id_ecdsa", | ||
"address": "", | ||
"storage": { | ||
"path": "./data", | ||
"size": 1, | ||
"unit": "GB" | ||
}, | ||
"network": { | ||
"address": "127.0.0.1", | ||
"port": 4000, | ||
"seeds": [], | ||
"opcodes": [ | ||
"0f01020202", | ||
"0f02020202", | ||
"0f03020202" | ||
], | ||
"forward": false, | ||
"tunnels": 3, | ||
"tunnelport": 4001, | ||
"gateways": { | ||
"min": 0, | ||
"max": 0 | ||
} | ||
}, | ||
"telemetry": { | ||
"service": "https://status.storj.io", | ||
"enabled": false | ||
}, | ||
"loglevel": 4 | ||
} |
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 @@ | ||
CoXhpq2vyGxTpEEqgTApGveJVj5RPpqvtVhEJ714igq6UuR5fzzpZb8PscwC2YwRsynbVSyGWDRejxETAdozwdn8R3QXCrZV6c4UieFrKVZTA |
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,31 @@ | ||
{ | ||
"keypath": "./config/id_ecdsa", | ||
"address": "", | ||
"storage": { | ||
"path": "./data", | ||
"size": 1, | ||
"unit": "GB" | ||
}, | ||
"network": { | ||
"address": "127.0.0.1", | ||
"port": 4000, | ||
"seeds": [], | ||
"opcodes": [ | ||
"0f01020202", | ||
"0f02020202", | ||
"0f03020202" | ||
], | ||
"forward": false, | ||
"tunnels": 3, | ||
"tunnelport": 4001, | ||
"gateways": { | ||
"min": 0, | ||
"max": 0 | ||
} | ||
}, | ||
"telemetry": { | ||
"service": "https://status.storj.io", | ||
"enabled": false | ||
}, | ||
"loglevel": 4 | ||
} |
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 @@ | ||
36DVqih1D3XSHBkq9C8T84FVHuz35uZs81GP98woX3QmTAZ1q3gDeWXw1okfQ64TWF6ah2VoWMknmPobR16RCNGMC3YGxfEgboYqmrgoTUkN9f |
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,31 @@ | ||
{ | ||
"keypath": "./config/id_ecdsa", | ||
"address": "", | ||
"storage": { | ||
"path": "./data", | ||
"size": 1, | ||
"unit": "GB" | ||
}, | ||
"network": { | ||
"address": "127.0.0.1", | ||
"port": 4000, | ||
"seeds": [], | ||
"opcodes": [ | ||
"0f01020202", | ||
"0f02020202", | ||
"0f03020202" | ||
], | ||
"forward": false, | ||
"tunnels": 3, | ||
"tunnelport": 4001, | ||
"gateways": { | ||
"min": 0, | ||
"max": 0 | ||
} | ||
}, | ||
"telemetry": { | ||
"service": "https://status.storj.io", | ||
"enabled": false | ||
}, | ||
"loglevel": 4 | ||
} |
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 @@ | ||
3eef4fXq7DPc8yEEyNw7KDDWtsimHHbaWbobmWQkGAxruuctE68mgd9DpGnFHto25HYYgVWSnBftjUzZHVUvqHPrxLRVJ55x5Z9oEu7PspSR5D |
Empty file.