-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
87 lines (82 loc) · 2.88 KB
/
docker-compose.yml
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
services:
electrum-client:
build:
context: ./electrum-client
args:
VERSION: "4.5.5"
CHECKSUM_SHA512: "3bdfce2187466fff20fd67736bdf257bf95d3517de47043be411ccda558a442b8fd81d6a8da094a39a1db39a7339dcd4282e73a7f00cf6bbd70473d7ce456b0b"
container_name: electrum-client
restart: unless-stopped
environment:
- ELECTRUM_USER=${ELECTRUM_RPC_USERNAME}
- ELECTRUM_PASSWORD=${ELECTRUM_RPC_PASSWORD}
- ELECTRUM_SERVER_ADDRESS=${ELECTRUM_SERVER_ADDRESS}
monero-wallet-rpc:
image: ghcr.io/sethforprivacy/simple-monero-wallet-rpc:latest
restart: unless-stopped
container_name: monero-wallet-rpc
volumes:
- monero-wallet-rpc-data:/home/monero
command:
- "--trusted-daemon"
- "--rpc-bind-port=18082"
- "--rpc-login=${MONERO_RPC_USERNAME}:${MONERO_RPC_PASSWORD}"
- "--daemon-address=${MONERO_DAEMON_ADDRESS}"
- "--wallet-dir=/home/monero/wallet"
- "--log-level=4"
seed-importer:
build:
context: .
container_name: seed-importer
environment:
- PYTHONUNBUFFERED=1
- ELECTRUM_RPC_URL=http://electrum-client:7000
- ELECTRUM_RPC_USERNAME=${ELECTRUM_RPC_USERNAME}
- ELECTRUM_RPC_PASSWORD=${ELECTRUM_RPC_PASSWORD}
- BITCOIN_WALLET_SEED=${BITCOIN_WALLET_SEED}
- MONERO_RPC_URL=http://monero-wallet-rpc:18082/json_rpc
- MONERO_RPC_USERNAME=${MONERO_RPC_USERNAME}
- MONERO_RPC_PASSWORD=${MONERO_RPC_PASSWORD}
- MONERO_WALLET_SEED=${MONERO_WALLET_SEED}
- MONERO_WALLET_PASSWORD=${MONERO_WALLET_PASSWORD}
- MONERO_WALLET_HEIGHT=${MONERO_WALLET_HEIGHT}
command: python ./src/seed-importer.py
depends_on:
- electrum-client
- monero-wallet-rpc
autoforward:
build:
context: .
container_name: autoforward
restart: unless-stopped
environment:
- PYTHONUNBUFFERED=1
- ELECTRUM_RPC_URL=http://electrum-client:7000
- ELECTRUM_RPC_USERNAME=${ELECTRUM_RPC_USERNAME}
- ELECTRUM_RPC_PASSWORD=${ELECTRUM_RPC_PASSWORD}
- BITCOIN_WALLET_SEED=${BITCOIN_WALLET_SEED}
- MONERO_RPC_URL=http://monero-wallet-rpc:18082/json_rpc
- MONERO_RPC_USERNAME=${MONERO_RPC_USERNAME}
- MONERO_RPC_PASSWORD=${MONERO_RPC_PASSWORD}
- MONERO_WALLET_SEED=${MONERO_WALLET_SEED}
- MONERO_WALLET_PASSWORD=${MONERO_WALLET_PASSWORD}
- MONERO_WALLET_HEIGHT=${MONERO_WALLET_HEIGHT}
- KRAKEN_API_KEY=${KRAKEN_API_KEY}
- KRAKEN_API_SECRET=${KRAKEN_API_SECRET}
command: python ./src/autoforward.py
depends_on:
- seed-importer
autoconvert:
build:
context: .
container_name: autoconvert
restart: unless-stopped
environment:
- PYTHONUNBUFFERED=1
- KRAKEN_API_KEY=${KRAKEN_API_KEY}
- KRAKEN_API_SECRET=${KRAKEN_API_SECRET}
command: python ./src/autoconvert.py
depends_on:
- seed-importer
volumes:
monero-wallet-rpc-data: