Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/berrywallet/bitcore-node-docker

Bitcore Node + Insight API + Insight UI in Docker
https://github.com/berrywallet/bitcore-node-docker

Last synced: 16 days ago
JSON representation

Bitcore Node + Insight API + Insight UI in Docker

Awesome Lists containing this project

README

        

Bitcore Node + Insight API + Insight UI in Docker
=========

To run **testnet** (the default):

`docker run -d -p 3001:3001 -p 18333:18333 -v /var/bitcoin-node/testnet:/root/bitcoin-node/data --name bitcoin-testnet berrywallet/bitcore-node`

To run for **livenet**:

`docker run -e BITCOIN_LIVENET=1 -d -p 3001:3001 -p 8333:8333 -v /var/bitcoin-node/livenet:/root/bitcoin-node/data --name bitcoin-livenet berrywallet/bitcore-node`

### Environment variables

- `BITCOIN_LIVENET` (default: 0) - Set 1 to enable livenet
- `API_ROUTE_PREFIX` (default: api) - Set URL prefix for Insight API
- `UI_ROUTE_PREFIX` (default: "") - Set URL prefix for Insight UI
- `API_CACHE_ENABLE` (default: 1) - Enable/disable Insight API cache
- `API_LIMIT_ENABLE` (default: 1) - Enable/disable Insight API rate limiter
- `API_LIMIT_WHITELIST` (default: "127.0.0.1 ::1") - Whitelist, delimited by space
- `API_LIMIT_BLACKLIST` (default: "") - Blacklist, delimited by space
- `API_LIMIT_COUNT` (default: 10800)
- `API_LIMIT_INTERVAL` (default: 10800000)
- `API_LIMIT_WHITELIST_COUNT` (default: 108000)
- `API_LIMIT_WHITELIST_INTERVAL` (default: 10800000)
- `API_LIMIT_BLACKLIST_COUNT` (default: 0)
- `API_LIMIT_BLACKLIST_INTERVAL` (default: 10800000)