-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
39 lines (36 loc) · 908 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
services:
bitcoind:
container_name: bitcoind
user: 1000:1000
image: lncm/bitcoind:v26.0
restart: on-failure
volumes:
- ./docker/bitcoin.conf:/data/.bitcoin/bitcoin.conf
- bitcoin_data:/data/.bitcoin
ports:
- "18443:18443" # Bitcoin RPC port
- "18444:18444" # Bitcoin P2P port
networks:
- bitcoin_network
ord:
container_name: ord
build:
context: .
dockerfile: ./docker/Dockerfile
command: ["--regtest", "--bitcoin-data-dir", "/index-data", "--bitcoin-rpc-url", "bitcoind:18443", "server", "--http-port", "8080"]
volumes:
- index_data:/index-data
environment:
- ORD_BITCOIN_RPC_USERNAME=icp
- ORD_BITCOIN_RPC_PASSWORD=test
ports:
- "8080:8080"
depends_on:
- bitcoind
networks:
- bitcoin_network
volumes:
bitcoin_data:
index_data:
networks:
bitcoin_network: