-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
103 lines (98 loc) · 2.51 KB
/
Copy pathcompose.yml
File metadata and controls
103 lines (98 loc) · 2.51 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
services:
btc:
container_name: btc
image: bitcoin/bitcoin:latest
# this requires a dummy wallet:
# bitcoin-cli -rpcuser=XXX -rpcpassword=XXX createwallet dummy
command: -printtoconsole
-rpcallowip=0.0.0.0/0
-rpcbind=0.0.0.0
-rpcauth=${RPC_AUTH}
-maxconnections=10
-txindex=1
-zmqpubrawblock=tcp://0.0.0.0:28332
-zmqpubrawtx=tcp://0.0.0.0:28333
-wallet=dummy
volumes:
- /data/btc:/home/bitcoin/.bitcoin
restart: unless-stopped
ports: # we only open ZMQ
- "28332:28332" # ZMQ blocks
- "28333:28333" # ZMQ transactions
healthcheck:
test:
[
"CMD-SHELL",
'bitcoin-cli -rpcconnect=127.0.0.1 -rpcuser=satoshi -rpcpassword=${RPC_PASSWORD} getblockchaininfo | grep -q ''"initialblockdownload": false''',
]
interval: 30s
timeout: 10s
retries: 5
ord:
container_name: ord
build:
context: https://github.com/Th0rgal/ord.git#fix/rust_version
dockerfile: Dockerfile
command:
- ord
- --bitcoin-rpc-url=http://btc:8332
- --bitcoin-rpc-username=satoshi
- --bitcoin-rpc-password=${RPC_PASSWORD}
- --index-sats
- --index-runes
- --index-addresses
- server
- --http
volumes:
- /data/ord:/root/.local/share/ord
- /data/acme:/home/ord/.acme-cache
depends_on:
btc:
condition: service_healthy
restart: unless-stopped
starknet:
container_name: starknet
build:
context: .
dockerfile: JunoDockerfile
environment:
- ETH_NODE_URL=${ETH_NODE_URL}
volumes:
- /data/starknet:/var/lib/juno
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:6060/"]
interval: 30s
timeout: 10s
retries: 5
start_period: 60s
nginx:
container_name: nginx
image: jonasal/nginx-certbot:latest
restart: unless-stopped
ports:
- "80:80"
- "443:443"
- "8332:8332"
volumes:
- nginx_secrets:/etc/letsencrypt
- ./user_conf.d:/etc/nginx/user_conf.d
env_file:
- nginx-certbot.env
depends_on:
btc:
condition: service_healthy
ord:
condition: service_started
fordefi_signer:
container_name: fordefi_signer
image: fordefi.jfrog.io/fordefi/api-signer:latest
command: ["/api-signer", "run"]
volumes:
- fordefi_volume:/storage
restart: unless-stopped
volumes:
nginx_secrets:
juno_data:
fordefi_volume:
external: true