Skip to content

Commit 064d2f8

Browse files
committed
Update monero compose structure
1 parent 73257df commit 064d2f8

6 files changed

Lines changed: 96 additions & 5 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
log-level=4
2+
3+
rpc-login=deploy:changeme
4+
5+
rpc-bind-ip=0.0.0.0
6+
rpc-bind-port=18081
7+
confirm-external-bind=1
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
log-level=3
2+
3+
daemon-address=stagenet-monerod:18081
4+
trusted-daemon=1
5+
daemon-login=deploy:changeme
6+
7+
rpc-login=deploy:changeme
8+
rpc-bind-port=18082
9+
rpc-bind-ip=0.0.0.0
10+
confirm-external-bind=1
11+
12+
wallet-dir=/home/monero/wallets
13+
non-interactive=1
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
log-level=3
2+
3+
daemon-address=stagenet-monerod:18081
4+
trusted-daemon=1
5+
daemon-login=deploy:changeme
6+
7+
rpc-login=deploy:changeme
8+
rpc-bind-port=18083
9+
rpc-bind-ip=0.0.0.0
10+
confirm-external-bind=1
11+
12+
wallet-dir=/home/monero/wallets
13+
non-interactive=1

monerod/config/stagenet/monero-wallet-rpc.conf renamed to monerod/config/stagenet/monero-deposit-wallet-rpc.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ rpc-bind-ip=0.0.0.0
1212
confirm-external-bind=1
1313

1414
wallet-dir=/home/monero/wallets
15-
non-interactive=1
15+
non-interactive=1
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
log-level=3
2+
3+
stagenet=1
4+
5+
daemon-address=stagenet-monerod:38081
6+
trusted-daemon=1
7+
daemon-login=deploy:changeme
8+
9+
rpc-login=deploy:changeme
10+
rpc-bind-port=38083
11+
rpc-bind-ip=0.0.0.0
12+
confirm-external-bind=1
13+
14+
wallet-dir=/home/monero/wallets
15+
non-interactive=1

monerod/docker-compose.yml

Lines changed: 47 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,38 @@
11
version: '3.6'
22

33
services:
4+
mainnet-monerod:
5+
image: reg.openware.work/cryptonode/monerod:0.15.0.1
6+
restart: always
7+
command: ./monerod --non-interactive --config-file=/home/monero/.bitmonero/mainnet/bitmonero.conf
8+
user: root
9+
ports:
10+
- "18081:18081"
11+
volumes:
12+
- ./blocks/mainnet:/home/monero/.bitmonero/lmdb
13+
- ./config/mainnet/bitmonero.conf:/home/monero/.bitmonero/mainnet/bitmonero.conf
14+
15+
mainnet-wallet-deposit:
16+
image: reg.openware.work/cryptonode/monerod:0.15.0.1
17+
restart: always
18+
command: ./monero-wallet-rpc --non-interactive --config-file=/home/monero/.bitmonero/mainnet/monero-deposit-wallet-rpc.conf
19+
user: root
20+
ports:
21+
- "18082:18082"
22+
volumes:
23+
- ./keys/mainnet/deposit:/home/monero/wallets
24+
- ./config/mainnet/monero-deposit-wallet-rpc.conf:/home/monero/.bitmonero/mainnet/monero-deposit-wallet-rpc.conf
25+
mainnet-wallet-hot:
26+
image: reg.openware.work/cryptonode/monerod:0.15.0.1
27+
restart: always
28+
command: ./monero-wallet-rpc --non-interactive --config-file=/home/monero/.bitmonero/mainnet/monero-hot-wallet-rpc.conf
29+
user: root
30+
ports:
31+
- "18083:18083"
32+
volumes:
33+
- ./keys/mainnet/hot:/home/monero/wallets
34+
- ./config/mainnet/monero-hot-wallet-rpc.conf:/home/monero/.bitmonero/mainnet/monero-hot-wallet-rpc.conf
35+
436
stagenet-monerod:
537
image: reg.openware.work/cryptonode/monerod:0.15.0.1
638
restart: always
@@ -12,13 +44,24 @@ services:
1244
- ./blocks/stagenet:/home/monero/.bitmonero/stagenet/lmdb
1345
- ./config/stagenet/bitmonero.conf:/home/monero/.bitmonero/stagenet/bitmonero.conf
1446

15-
stagenet-wallet:
47+
stagenet-wallet-deposit:
1648
image: reg.openware.work/cryptonode/monerod:0.15.0.1
1749
restart: always
18-
command: ./monero-wallet-rpc --stagenet --non-interactive --config-file=/home/monero/.bitmonero/stagenet/monero-wallet-rpc.conf
50+
command: ./monero-wallet-rpc --stagenet --non-interactive --config-file=/home/monero/.bitmonero/stagenet/monero-deposit-wallet-rpc.conf
1951
user: root
2052
ports:
2153
- "38082:38082"
2254
volumes:
23-
- ./keys/stagenet:/home/monero/wallets
24-
- ./config/stagenet/monero-wallet-rpc.conf:/home/monero/.bitmonero/stagenet/monero-wallet-rpc.conf
55+
- ./keys/stagenet/deposit:/home/monero/wallets
56+
- ./config/stagenet/monero-deposit-wallet-rpc.conf:/home/monero/.bitmonero/stagenet/monero-deposit-wallet-rpc.conf
57+
58+
stagenet-wallet-hot:
59+
image: reg.openware.work/cryptonode/monerod:0.15.0.1
60+
restart: always
61+
command: ./monero-wallet-rpc --stagenet --non-interactive --config-file=/home/monero/.bitmonero/stagenet/monero-hot-wallet-rpc.confg
62+
user: root
63+
ports:
64+
- "38083:38083"
65+
volumes:
66+
- ./keys/stagenet/hot:/home/monero/wallets
67+
- ./config/stagenet/monero-hot-wallet-rpc.conf:/home/monero/.bitmonero/stagenet/monero-hot-wallet-rpc.conf

0 commit comments

Comments
 (0)