Fix Monero local dev docker start up (#6042)

This commit is contained in:
napoly 2024-06-18 09:57:54 +02:00 committed by nicolas.dorier
parent f2f97bb468
commit 80f9e313bc
No known key found for this signature in database
GPG key ID: 6618763EF09186FE

View file

@ -311,26 +311,25 @@ services:
- "torrcdir:/usr/local/etc/tor" - "torrcdir:/usr/local/etc/tor"
- "tor_servicesdir:/var/lib/tor/hidden_services" - "tor_servicesdir:/var/lib/tor/hidden_services"
monerod: monerod:
image: btcpayserver/monero:0.18.2.2-5 image: btcpayserver/monero:0.18.3.3
restart: unless-stopped restart: unless-stopped
container_name: xmr_monerod container_name: xmr_monerod
entrypoint: sleep 999999 entrypoint: monerod --fixed-difficulty 200 --rpc-bind-ip=0.0.0.0 --confirm-external-bind --rpc-bind-port=18081 --block-notify="/bin/sh ./scripts/notifier.sh -k -X GET https://host.docker.internal:14142/monerolikedaemoncallback/block?cryptoCode=xmr&hash=%s" --testnet --no-igd --hide-my-port --offline --non-interactive
# entrypoint: monerod --fixed-difficulty 200 --rpc-bind-ip=0.0.0.0 --confirm-external-bind --rpc-bind-port=18081 --block-notify="/bin/sh ./scripts/notifier.sh -k -X GET https://host.docker.internal:14142/monerolikedaemoncallback/block?cryptoCode=xmr&hash=%s" --testnet --no-igd --hide-my-port --offline volumes:
volumes: - "monero_data:/home/monero/.bitmonero"
- "monero_data:/home/monero/.bitmonero" ports:
ports: - "18081:18081"
- "18081:18081"
monero_wallet: monero_wallet:
image: btcpayserver/monero:0.18.2.2-5 image: btcpayserver/monero:0.18.3.3
restart: unless-stopped restart: unless-stopped
container_name: xmr_wallet_rpc container_name: xmr_wallet_rpc
entrypoint: monero-wallet-rpc --testnet --rpc-bind-ip=0.0.0.0 --disable-rpc-login --confirm-external-bind --rpc-bind-port=18082 --non-interactive --trusted-daemon --daemon-address=monerod:18081 --wallet-file=/wallet/wallet.keys --password-file=/wallet/password --tx-notify="/bin/sh ./scripts/notifier.sh -k -X GET https://host.docker.internal:14142/monerolikedaemoncallback/tx?cryptoCode=xmr&hash=%s" entrypoint: monero-wallet-rpc --testnet --rpc-bind-ip=0.0.0.0 --disable-rpc-login --confirm-external-bind --rpc-bind-port=18082 --non-interactive --trusted-daemon --daemon-address=monerod:18081 --wallet-dir=/wallet --tx-notify="/bin/sh ./scripts/notifier.sh -k -X GET https://host.docker.internal:14142/monerolikedaemoncallback/tx?cryptoCode=xmr&hash=%s"
ports: ports:
- "18082:18082" - "18082:18082"
volumes: volumes:
- "./monero_wallet:/wallet" - "./monero_wallet:/wallet"
depends_on: depends_on:
- monerod - monerod
litecoind: litecoind:
restart: unless-stopped restart: unless-stopped
image: btcpayserver/litecoin:0.18.1 image: btcpayserver/litecoin:0.18.1