diff --git a/monerod/config/mainnet/bitmonero.conf b/monerod/config/mainnet/bitmonero.conf new file mode 100644 index 0000000..1c0000a --- /dev/null +++ b/monerod/config/mainnet/bitmonero.conf @@ -0,0 +1,7 @@ +log-level=4 + +rpc-login=deploy:changeme + +rpc-bind-ip=0.0.0.0 +rpc-bind-port=18081 +confirm-external-bind=1 diff --git a/monerod/config/mainnet/monero-deposit-wallet-rpc.conf b/monerod/config/mainnet/monero-deposit-wallet-rpc.conf new file mode 100644 index 0000000..033681b --- /dev/null +++ b/monerod/config/mainnet/monero-deposit-wallet-rpc.conf @@ -0,0 +1,13 @@ +log-level=3 + +daemon-address=stagenet-monerod:18081 +trusted-daemon=1 +daemon-login=deploy:changeme + +rpc-login=deploy:changeme +rpc-bind-port=18082 +rpc-bind-ip=0.0.0.0 +confirm-external-bind=1 + +wallet-dir=/home/monero/wallets +non-interactive=1 diff --git a/monerod/config/mainnet/monero-hot-wallet-rpc.conf b/monerod/config/mainnet/monero-hot-wallet-rpc.conf new file mode 100644 index 0000000..b91d4c0 --- /dev/null +++ b/monerod/config/mainnet/monero-hot-wallet-rpc.conf @@ -0,0 +1,13 @@ +log-level=3 + +daemon-address=stagenet-monerod:18081 +trusted-daemon=1 +daemon-login=deploy:changeme + +rpc-login=deploy:changeme +rpc-bind-port=18083 +rpc-bind-ip=0.0.0.0 +confirm-external-bind=1 + +wallet-dir=/home/monero/wallets +non-interactive=1 diff --git a/monerod/config/stagenet/monero-wallet-rpc.conf b/monerod/config/stagenet/monero-deposit-wallet-rpc.conf similarity index 92% rename from monerod/config/stagenet/monero-wallet-rpc.conf rename to monerod/config/stagenet/monero-deposit-wallet-rpc.conf index 71589e4..597ae5c 100644 --- a/monerod/config/stagenet/monero-wallet-rpc.conf +++ b/monerod/config/stagenet/monero-deposit-wallet-rpc.conf @@ -12,4 +12,4 @@ rpc-bind-ip=0.0.0.0 confirm-external-bind=1 wallet-dir=/home/monero/wallets -non-interactive=1 \ No newline at end of file +non-interactive=1 diff --git a/monerod/config/stagenet/monero-hot-wallet-rpc.conf b/monerod/config/stagenet/monero-hot-wallet-rpc.conf new file mode 100644 index 0000000..e08f75a --- /dev/null +++ b/monerod/config/stagenet/monero-hot-wallet-rpc.conf @@ -0,0 +1,15 @@ +log-level=3 + +stagenet=1 + +daemon-address=stagenet-monerod:38081 +trusted-daemon=1 +daemon-login=deploy:changeme + +rpc-login=deploy:changeme +rpc-bind-port=38083 +rpc-bind-ip=0.0.0.0 +confirm-external-bind=1 + +wallet-dir=/home/monero/wallets +non-interactive=1 diff --git a/monerod/docker-compose.yml b/monerod/docker-compose.yml index c8b2f8d..dff5fd8 100644 --- a/monerod/docker-compose.yml +++ b/monerod/docker-compose.yml @@ -1,6 +1,38 @@ version: '3.6' services: + mainnet-monerod: + image: reg.openware.work/cryptonode/monerod:0.15.0.1 + restart: always + command: ./monerod --non-interactive --config-file=/home/monero/.bitmonero/mainnet/bitmonero.conf + user: root + ports: + - "18081:18081" + volumes: + - ./blocks/mainnet:/home/monero/.bitmonero/lmdb + - ./config/mainnet/bitmonero.conf:/home/monero/.bitmonero/mainnet/bitmonero.conf + + mainnet-wallet-deposit: + image: reg.openware.work/cryptonode/monerod:0.15.0.1 + restart: always + command: ./monero-wallet-rpc --non-interactive --config-file=/home/monero/.bitmonero/mainnet/monero-deposit-wallet-rpc.conf + user: root + ports: + - "18082:18082" + volumes: + - ./keys/mainnet/deposit:/home/monero/wallets + - ./config/mainnet/monero-deposit-wallet-rpc.conf:/home/monero/.bitmonero/mainnet/monero-deposit-wallet-rpc.conf + mainnet-wallet-hot: + image: reg.openware.work/cryptonode/monerod:0.15.0.1 + restart: always + command: ./monero-wallet-rpc --non-interactive --config-file=/home/monero/.bitmonero/mainnet/monero-hot-wallet-rpc.conf + user: root + ports: + - "18083:18083" + volumes: + - ./keys/mainnet/hot:/home/monero/wallets + - ./config/mainnet/monero-hot-wallet-rpc.conf:/home/monero/.bitmonero/mainnet/monero-hot-wallet-rpc.conf + stagenet-monerod: image: reg.openware.work/cryptonode/monerod:0.15.0.1 restart: always @@ -12,13 +44,24 @@ services: - ./blocks/stagenet:/home/monero/.bitmonero/stagenet/lmdb - ./config/stagenet/bitmonero.conf:/home/monero/.bitmonero/stagenet/bitmonero.conf - stagenet-wallet: + stagenet-wallet-deposit: image: reg.openware.work/cryptonode/monerod:0.15.0.1 restart: always - command: ./monero-wallet-rpc --stagenet --non-interactive --config-file=/home/monero/.bitmonero/stagenet/monero-wallet-rpc.conf + command: ./monero-wallet-rpc --stagenet --non-interactive --config-file=/home/monero/.bitmonero/stagenet/monero-deposit-wallet-rpc.conf user: root ports: - "38082:38082" volumes: - - ./keys/stagenet:/home/monero/wallets - - ./config/stagenet/monero-wallet-rpc.conf:/home/monero/.bitmonero/stagenet/monero-wallet-rpc.conf + - ./keys/stagenet/deposit:/home/monero/wallets + - ./config/stagenet/monero-deposit-wallet-rpc.conf:/home/monero/.bitmonero/stagenet/monero-deposit-wallet-rpc.conf + + stagenet-wallet-hot: + image: reg.openware.work/cryptonode/monerod:0.15.0.1 + restart: always + command: ./monero-wallet-rpc --stagenet --non-interactive --config-file=/home/monero/.bitmonero/stagenet/monero-hot-wallet-rpc.confg + user: root + ports: + - "38083:38083" + volumes: + - ./keys/stagenet/hot:/home/monero/wallets + - ./config/stagenet/monero-hot-wallet-rpc.conf:/home/monero/.bitmonero/stagenet/monero-hot-wallet-rpc.conf