add storage config for testnet and livenet

This commit is contained in:
Jonathan Rainville 2019-04-10 18:03:35 -04:00
parent 8837315c30
commit 555a1e5b17
No known key found for this signature in database
GPG Key ID: 5F4630B759727D9C
1 changed files with 35 additions and 2 deletions

View File

@ -38,17 +38,50 @@ module.exports = {
// merges with the settings in default
// used with "embark run privatenet"
privatenet: {
},
privatenet: {},
// merges with the settings in default
// used with "embark run testnet"
testnet: {
enabled: true,
ipfs_bin: "ipfs",
provider: "ipfs",
available_providers: ["ipfs"],
upload: {
host: "localhost",
port: 5001
},
dappConnection: [
{
provider: "ipfs",
protocol: "https",
host: "ipfs.infura.io",
port: 5001,
getUrl: "https://ipfs.infura.io/ipfs/"
}
]
},
// merges with the settings in default
// used with "embark run livenet"
livenet: {
enabled: true,
ipfs_bin: "ipfs",
provider: "ipfs",
available_providers: ["ipfs"],
upload: {
host: "localhost",
port: 5001
},
dappConnection: [
{
provider: "ipfs",
protocol: "https",
host: "ipfs.infura.io",
port: 5001,
getUrl: "https://ipfs.infura.io/ipfs/"
}
]
},
// you can name an environment with specific settings and then specify with