forked from buriburizaemonnn/RunicSwap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
69 lines (65 loc) · 1.46 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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/ord.Dockerfile
command:
[
"--regtest",
"--bitcoin-data-dir",
"/index-data",
"--index-runes",
"--index-addresses",
"--index-transactions",
"--bitcoin-rpc-url",
"bitcoind:18443",
"server",
"--http-port",
"80",
]
volumes:
- ./docker/etch.yaml:/data/etch.yaml
- ./docker/ic_logo.png:/data/ic_logo.png
- index_data:/index-data
environment:
- ORD_BITCOIN_RPC_URL=bitcoind:18443
- ORD_BITCOIN_RPC_USERNAME=icp
- ORD_BITCOIN_RPC_PASSWORD=test
ports:
- "80:80"
depends_on:
- bitcoind
networks:
- bitcoin_network
btc-rpc-proxy:
container_name: btc-rpc-proxy
build:
context: .
dockerfile: ./docker/proxy.Dockerfile
environment:
- RUST_LOG=debug
ports:
- "3000:3000" # Adjust the port as needed
depends_on:
- bitcoind
networks:
- bitcoin_network
volumes:
bitcoin_data:
index_data:
networks:
bitcoin_network: