Skip to content

Commit ee56ccd

Browse files
committed
Update docker-compose.yml to change volume paths for bitcoin data and add JSON-RPC import option
1 parent 238c757 commit ee56ccd

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docker-compose.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ services:
1212
volumes:
1313
- ./db:/data/db
1414
- ./logs:/data/logs
15-
- ./bitcoin-data:/bitcoin:ro
16-
- ./bitcoin-blocks:/bitcoin-blocks:ro
15+
- /opt/electrs/db/bitcoin-data:/bitcoin:ro
16+
- /opt/electrs/db/bitcoin-blocks:/bitcoin-blocks:ro
1717
environment:
1818
- RUST_BACKTRACE=1
1919
- RUST_LOG=info
@@ -30,6 +30,7 @@ services:
3030
- "--db-block-cache-mb=1024"
3131
- "--db-parallelism=8"
3232
- "--db-write-buffer-size-mb=256"
33+
- "--jsonrpc-import"
3334
- "-vvv"
3435
- "--timestamp"
3536
healthcheck:

0 commit comments

Comments
 (0)