GithubHelp home page GithubHelp logo

docker-storj's Introduction

Seedbloom, seeding the decentralised

Seeding the decentralised economy

Docker Repository on Quay

Dockerized Storj Share Daemon

Dockerized Daemon + CLI for farming data on the Storj network, suitable for standalone use or inclusion in other packages.

The founders of Seedbloom have been supporters of Storj from its inception. Seedbloom platform supports the network by providing farmer nodes. This support is reciprocated by the Storj network rewarding Seedbloom platform with SJCX, which contributes to covering Seedbloom's operating costs.

Seedbloom, seeding the decentralised economy and building the decentralised web.

Generate farmer key

TODO

Create configuration

Basic configuration

docker run -it -v $(PWD)/storj-config:[path to config] seedbloom/storjshare-daemon  create --sjcx [YOUR SJCX ADDRESS] --size [1GB, 1TB] --storage [path to storage]  --noedit -o [path to config]

Example config

{
  // Set the SJCX/BTC address for receiving contract payments
  "paymentAddress": "[YOUR SJCX ADDRESS]",
  // Subscribes to the given contract topics
  // See https://storj.github.io/core/tutorial-contract-topics.html
  "opcodeSubscriptions": [
    "0f01020202",
    "0f02020202",
    "0f03020202"
  ],
  // Limits the number of pending OFFER message at one time
  "maxOfferConcurrency": 3,
  // If the seedList is empty, use this bridge to discover seeds
  // Following a transfer, also send an exchange report to this bridge
  "bridgeUri": "https://api.storj.io",
  // Known preferred seeds in form of a storj URI
  // Example: "storj://[ip.or.hostname]:[port]/[nodeid]"
  "seedList": [],
  // Interface to bind RPC server, use 0.0.0.0 for all interfaces or if you
  // have a public address, use that, else leave 127.0.0.1 and Storj Share
  // will try to determine your address
  "rpcAddress": "127.0.0.1",
  // Port to bind for RPC server, make sure this is forwarded if behind a
  // NAT or firewall - otherwise Storj Share will try to punch out
  "rpcPort": 4000,
  // Enables NAT traversal strategies, first UPnP, then reverse HTTP tunnel
  // if that fails. Disable if you are public or using dynamic DNS
  "doNotTraverseNat": false,
  // Maximum number of tunnels to provide to the network
  // Tunnels help nodes with restrictive network configurations participate
  "maxTunnels": 3,
  // Maximum number of concurrent connections to allow
  "maxConnections": 150,
  // If providing tunnels, the starting and ending port range to open for
  // them
  "tunnelGatewayRange": {
    "min": 4001,
    "max": 4003
  },
  // Number of times to retry joining the network and the wait time between
  "joinRetry": {
    "times": 3,
    "interval": 5000
  },
  // Temporarily stop sending OFFER messages if more than this number of shard
  // transfers are active
  "offerBackoffLimit": 4,
  // ECDSA private key for your network identity, your Node ID is derived from
  // this and it is used to sign and verify messages
  "networkPrivateKey": "d43245XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX69",
  // Determines how much detail is shown in the log:
  // 4 - DEBUG | 3 - INFO | 2 - WARN | 1 - ERROR | 0 - SILENT
  "loggerVerbosity": 3,
  // Path to write the log file to disk, leave empty to default to:
  // $HOME/.config/storjshare/logs/[nodeid].log
  "loggerOutputFile": "/var/logs/storj",
  // Directory path to store contracts and shards
  "storagePath": "/data/storj",
  // Amount of space to lease to the network, as human readable string
  // Valid units are B, KB, MB, GB, TB
  "storageAllocation": "1TB",
  // Periodically report your used and free capacity to Storj Labs to improve
  // the network - no personally identifiable information is sent
  "enableTelemetryReporting": true
}

The above storj configuration will be available in your current dir under storj-config.

Run

Start a farmer node.

docker run -v [host storage location]:[same path defined in storj config] -v [storj config absolute path]:[same path defined in storj config] seedbloom/storjshare-daemon -c [same path defined in storj config]

Repositories

docker pull quay.io/seedbloom/storjshare-daemon
docker pull seedbloom/storjshare-daemon

docker-storj's People

Contributors

vmatekole avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

rubiojr kkonyshev

docker-storj's Issues

error: unknown option `-c'

You should update your docs seedbloom/storjshare-daemon -c should be seedbloom/storjshare-daemon start -c ;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.