forked from maestro-org/maestro-symphony
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.mainnet.yml
More file actions
52 lines (50 loc) · 1.06 KB
/
docker-compose.mainnet.yml
File metadata and controls
52 lines (50 loc) · 1.06 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
services:
bitcoin-node:
image: bitcoin/bitcoin:29
command:
- -printtoconsole
- -txindex
- -port=8333
- -rpcbind=0.0.0.0
- -rpcallowip=0.0.0.0/0
- -rpcport=8332
- -rpcthreads=1
- -rpcuser=symphony
- -rpcpassword=symphony
- -datadir=/srv/bitcoin/node
- -deprecatedrpc=warnings
- -rest
ports:
- "8333:8333" # P2P port
- "8332:8332" # RPC port
volumes:
- ./tmp/bitcoin-data:/srv/bitcoin/node
logging:
options:
max-size: "30m"
max-file: "2"
restart: unless-stopped
symphony:
build:
context: .
user: "${UID}:${GID}"
command:
- /etc/symphony/config.toml
- run
environment:
- RUST_LOG=info
ports:
- "8080:8080"
volumes:
- ./examples/mainnet.toml:/etc/symphony/config.toml
- ./tmp/symphony-data:/srv/symphony
depends_on:
- bitcoin-node
logging:
options:
max-size: "30m"
max-file: "2"
restart: unless-stopped
volumes:
bitcoin-data:
symphony-data: