-
Notifications
You must be signed in to change notification settings - Fork 25
/
docker-compose.yml
84 lines (79 loc) · 2.58 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
version: "3.7"
services:
i2pd_daemon:
container_name: i2pd_daemon
image: purplei2p/i2pd:release-2.44.0@sha256:d154a599793c393cf9c91f8549ba7ece0bb40e5728e1813aa6dd4c210aa606f6
user: "1000:1000"
command: --sam.enabled=true --sam.address=0.0.0.0 --sam.port=7656 --loglevel=error
restart: on-failure
volumes:
- ${PWD}/data/i2pd:/home/i2pd/data
networks:
default:
ipv4_address: "10.21.0.2"
tor_server:
container_name: tor_server
image: getumbrel/tor:0.4.7.8@sha256:2ace83f22501f58857fa9b403009f595137fa2e7986c4fda79d82a8119072b6a
user: "1000:1000"
restart: on-failure
entrypoint: /tor-entrypoint/tor-entrypoint.sh
volumes:
- ${PWD}/data/tor:/etc/tor
- ${PWD}/tor-entrypoint:/tor-entrypoint
environment:
HOME: "/tmp"
networks:
default:
ipv4_address: "10.21.0.3"
bitcoind:
image: getumbrel/bitcoind:v28.0@sha256:95c5eb9778fc0050e185b22700061fb7e7d71a0c27860067461bed2afcfbe5c4
user: "1000:1000"
command: -port=8333 -rpcport=8332 -rpcbind=0.0.0.0 -rpcallowip=0.0.0.0/0 -rpcauth=umbrel:5071d8b3ba93e53e414446ff9f1b7d7b$$375e9731abd2cd2c2c44d2327ec19f4f2644256fdeaf4fc5229bf98b778aafec
volumes:
- ${PWD}/data/bitcoin:/data/.bitcoin
restart: unless-stopped
stop_grace_period: 15m30s
ports:
- "8332:8332" # rpc
- "8333:8333" # p2p
networks:
default:
ipv4_address: "10.21.0.4"
server:
build: .
depends_on: [bitcoind]
command: ["npm", "start"]
restart: on-failure
ports:
- "3005:3005"
volumes:
- ${PWD}/data/app:/data # volume to persist advanced settings json
- ${PWD}/data/bitcoin:/bitcoin/.bitcoin # volume to persist umbrel-bitcoin.conf and bitcoin.conf
environment:
PORT: "3005"
BITCOIN_HOST: "bitcoind"
BITCOIN_P2P_PORT: 8333
BITCOIN_RPC_PORT: 8332
BITCOIN_DEFAULT_NETWORK: "regtest"
RPC_USER: "umbrel"
RPC_PASSWORD: "moneyprintergobrrr"
BITCOIN_RPC_HIDDEN_SERVICE: "somehiddenservice.onion"
BITCOIN_P2P_HIDDEN_SERVICE: "anotherhiddenservice.onion"
DEVICE_DOMAIN_NAME: "test.local"
BITCOIND_IP: "10.21.0.4"
TOR_PROXY_IP: "10.21.0.3"
TOR_PROXY_PORT: "9050"
TOR_PROXY_CONTROL_PORT: "9051"
TOR_PROXY_CONTROL_PASSWORD: "umbrelisneat"
I2P_DAEMON_IP: "10.21.0.2"
I2P_DAEMON_PORT: "7656"
networks:
default:
ipv4_address: "10.21.0.5"
networks:
default:
name: advanced_settings_test_network
ipam:
driver: default
config:
- subnet: "10.21.0.0/16"