storage.js
1 module.exports = { 2 default: { 3 enabled: true, 4 ipfs_bin: "ipfs", 5 provider: "ipfs", 6 available_providers: ["ipfs"], 7 upload: { 8 host: "localhost", 9 port: 5001 10 }, 11 dappConnection: [ 12 { 13 provider: "ipfs", 14 host: "localhost", 15 port: 5001, 16 getUrl: "http://localhost:8080/ipfs/" 17 } 18 ] 19 // Configuration to start Swarm in the same terminal as `embark run` 20 /*,account: { 21 address: "YOUR_ACCOUNT_ADDRESS", // Address of account accessing Swarm 22 password: "PATH/TO/PASSWORD/FILE" // File containing the password of the account 23 }, 24 swarmPath: "PATH/TO/SWARM/EXECUTABLE" // Path to swarm executable (default: swarm)*/ 25 }, 26 development: { 27 enabled: true, 28 provider: "ipfs", 29 upload: { 30 host: "localhost", 31 port: 5001, 32 getUrl: "http://localhost:8080/ipfs/" 33 } 34 } 35 };