-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
79 lines (74 loc) · 2.73 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
services:
watchtower:
container_name: watchtower
image: containrrr/watchtower
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
autoheal:
container_name: autoheal
image: willfarrell/autoheal
restart: unless-stopped
environment:
AUTOHEAL_CONTAINER_LABEL: all
volumes:
- /var/run/docker.sock:/var/run/docker.sock
monerod:
container_name: monerod
image: ghcr.io/rblaine95/monero:0.18.3.4-2
restart: unless-stopped
network_mode: host
volumes:
- ./monero-data:/opt/bitmonero
command:
# https://getmonero.dev/interacting/monerod
- --non-interactive
- --no-igd
- --no-zmq
- --confirm-external-bind
- --rpc-restricted-bind-port=18089
- --rpc-restricted-bind-ip=0.0.0.0
- --rpc-bind-port=18081
- --rpc-bind-ip=127.0.0.1
- --enable-dns-blocklist
- --pad-transactions
- --proxy=127.0.0.1:9050
- --tx-proxy=tor,127.0.0.1:9050,16
- --add-priority-node=xwvz3ekocr3dkyxfkmgm2hvbpzx2ysqmaxgter7znnqrhoicygkfswid.onion:18083
- --add-priority-node=4pixvbejrvihnkxmduo2agsnmc3rrulrqc7s3cbwwrep6h6hrzsibeqd.onion:18083
- --add-priority-node=zbjkbsxc5munw3qusl7j2hpcmikhqocdf4pqhnhtpzw5nt5jrmofptid.onion:18083
- --add-priority-node=plowsof3t5hogddwabaeiyrno25efmzfxyro2vligremt7sxpsclfaid.onion:18083
- --add-priority-node=plowsoffjexmxalw73tkjmf422gq6575fc7vicuu4javzn2ynnte6tyd.onion:18083
- --add-priority-node=qz43zul2x56jexzoqgkx2trzwcfnr6l3hbtfcfx54g4r3eahy3bssjyd.onion:18083
- --add-peer=xwvz3ekocr3dkyxfkmgm2hvbpzx2ysqmaxgter7znnqrhoicygkfswid.onion:18083
- --add-peer=4pixvbejrvihnkxmduo2agsnmc3rrulrqc7s3cbwwrep6h6hrzsibeqd.onion:18083
- --add-peer=zbjkbsxc5munw3qusl7j2hpcmikhqocdf4pqhnhtpzw5nt5jrmofptid.onion:18083
- --add-peer=plowsof3t5hogddwabaeiyrno25efmzfxyro2vligremt7sxpsclfaid.onion:18083
- --add-peer=plowsoffjexmxalw73tkjmf422gq6575fc7vicuu4javzn2ynnte6tyd.onion:18083
- --add-peer=qz43zul2x56jexzoqgkx2trzwcfnr6l3hbtfcfx54g4r3eahy3bssjyd.onion:18083
prep-tor-data:
container_name: prep-volume
image: alpine
volumes:
- ./tor-data:/var/lib/tor
command:
- sh
- -c
- |
chown -R 100:65533 /var/lib/tor
chmod 0700 /var/lib/tor
tor:
container_name: tor
image: ghcr.io/rblaine95/tor
restart: unless-stopped
volumes:
- ./tor-data:/var/lib/tor
network_mode: host
environment:
TOR_DATA_DIRECTORY: /var/lib/tor
TOR_LOG: notice stderr
TOR_SOCKS_PORT: 0.0.0.0:9050
MONEROD_TOR_HIDDEN_SERVICE_DIR: /var/lib/tor/monerod
MONEROD_TOR_HIDDEN_SERVICE_PORT: 18089 127.0.0.1:18089
depends_on:
- prep-tor-data