https://github.com/berrywallet/litecore-node-docker
Litecore Node + Insight API + Insight UI in Docker
https://github.com/berrywallet/litecore-node-docker
bitcore docker insight-api insight-ui litecoin litecore
Last synced: about 1 year ago
JSON representation
Litecore Node + Insight API + Insight UI in Docker
- Host: GitHub
- URL: https://github.com/berrywallet/litecore-node-docker
- Owner: berrywallet
- License: lgpl-3.0
- Created: 2018-03-14T18:18:26.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-15T13:10:14.000Z (about 8 years ago)
- Last Synced: 2025-03-22T07:43:21.731Z (about 1 year ago)
- Topics: bitcore, docker, insight-api, insight-ui, litecoin, litecore
- Language: Shell
- Size: 6.84 KB
- Stars: 9
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Litecore Node + Insight API + Insight UI in Docker
=========
To run **testnet** (the default):
`docker run -d -p 3001:3001 -p 19335:19335 -v /root/litecoin-node/testnet:/root/litecoin-node/data --name litecoin-testnet berrywallet/litecore-node`
To run for **livenet**:
`docker run -e LITECOIN_LIVENET=1 -d -p 3001:3001 -p 9333:9333 -v /root/litecoin-node/livenet:/root/litecoin-node/data --name litecoin-livenet berrywallet/litecore-node`
Tip: Ports 9333 (livenet) and 19335 (testnet) are inbound for litecoind. Exposing them is just recommended.
### Environment variables
- `LITECOIN_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)