Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
/ bitcore Public archive

A full stack for bitcoin and blockchain-based applications (Docker container).

License

Notifications You must be signed in to change notification settings

jsribeiro/bitcore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Supported tags and respective Dockerfile links

Bitcore

Infrastructure to build Bitcoin and blockchain-based applications for the next generation of financial technology.

Links:

Running the container

Create a volume where all data and blockchain data will be stored:

docker volume create --name bitcore_data

Now run the container, publishing ports 3001 (for Bitcore) and 8333 (for bitcoind).

docker run -d --restart=always --name bitcore \
   -p 3001:3001 -p 8333:8333 \
   -v bitcore_data:/root/.bitcore \
   sena/bitcore

If you want to run Bitcore on the Testnet, first you need to add a configuration file to the data volume indicating that. Locate the data volume mount location on the Docker host:

docker volume inspect bitcore_data | grep Mountpoint

Create a file named bitcore-node.json in that directory with the following contents:

{
  "datadir": "/root/.bitcore/data",
  "network": "testnet",
  "port": 3001,
  "services": [
    "bitcoind",
    "db",
    "address",
    "web",
    "insight-api",
    "insight-ui"
  ]
}

Now run the container, publishing ports 3001 (for Bitcore) and 18333 (for bitcoind on Testnet):

docker run -d --restart=always --name bitcore \
   -p 3001:3001 -p 18333:18333 \
   -v bitcore_data:/root/.bitcore \
   sena/bitcore

About

A full stack for bitcoin and blockchain-based applications (Docker container).

Resources

License

Stars

Watchers

Forks

Packages

No packages published