Created
October 19, 2019 07:37
-
-
Save jorijn/7e1d3e7a241a98680558302a7b41586c to your computer and use it in GitHub Desktop.
Docker Compose file to be used in combination with https://gist.github.com/Jorijn/141f49dd0c69901f28215893d5900bca. Place this in the cloned root of the blockbook project and run `docker-compose up -d`. Configuration sample: https://gist.github.com/Jorijn/c0f5d3daf6ab6d35ac25b47c2a5be331
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
blockbook: | |
container_name: blockbook | |
restart: always | |
build: . | |
entrypoint: | |
- /go/src/blockbook/blockbook | |
- -sync | |
- -blockchaincfg=/home/blockbook/cfg/cfg.json | |
- -workers=10 | |
- -logtostderr | |
- -internal=0.0.0.0:9030 | |
- -public=0.0.0.0:9130 | |
- -datadir=/home/blockbook/data | |
ports: | |
- "9030:9030" | |
- "9130:9130" | |
volumes: | |
- "<pick something>/data/blockbook/cfg:/home/blockbook/cfg" | |
- "<pick something>/data/blockbook/data:/home/blockbook/data" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment