-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (48 loc) · 1.09 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
services:
proxy:
build:
context: proxy
ports:
- 127.0.0.1:8334:8334
environment:
- LISTEN_ADDR=0.0.0.0
- LISTEN_PORT=8334
- REMOTE_ADDR=btcd
- REMOTE_PORT=8334
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "10"
ord:
build:
context: .
dockerfile: ord.Dockerfile
ports:
- "0.0.0.0:34632:80" # HTTP PORT
environment:
- RUST_LOG=info
volumes:
- /mnt/btcdata:/btcdata # Bitcoin node data dir
- /mnt/orddata:/orddata # Ord side car data dir
command: /usr/src/myapp/target/release/ord --data-dir /orddata --bitcoin-data-dir /btcdata --rpc-url http://proxy:8334 server
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "10"
btcd:
build:
context: btcd
ports:
- 8333:8333
- 127.0.0.1:8335:8334
volumes:
- /mnt/btcdata:/btcdata
- ./btcd.conf:/config
command: btcd -C /config
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "10"