forked from iotaledger/one-click-tangle
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
100 lines (96 loc) · 2.45 KB
/
docker-compose.yaml
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
88
89
90
91
92
93
94
95
96
97
98
99
100
networks:
tangle:
external: true
services:
coo:
hostname: coo
# network_mode: host
networks:
- tangle
image: iotaledger/hornet:1.2.4
restart: unless-stopped
container_name: coo
stop_grace_period: 5m
environment:
- COO_PRV_KEYS
expose:
- 15600
volumes:
- ./config/config-coo.json:/app/config.json:ro
- ./config/profiles.json:/app/profiles.json:ro
- ./config/peering-coo.json:/app/peering.json:ro
- ./db/private-tangle/coo.db:/app/db
- ./p2pstore/coo:/app/p2pstore
- ./db/private-tangle:/app/coo-state
- ./snapshots:/app/snapshots
cap_drop:
- ALL
node:
hostname: node1
# network_mode: host
networks:
- tangle
image: iotaledger/hornet:1.2.4
restart: unless-stopped
container_name: node1
stop_grace_period: 5m
expose:
- 14265
- 8081
- 1883
- 15600
- "14626/udp"
ports:
- "0.0.0.0:14265:14265"
- "0.0.0.0:8081:8081"
- "0.0.0.0:15600:15600"
volumes:
- ./config/config-node.json:/app/config.json:ro
- ./config/profiles.json:/app/profiles.json
- ./config/peering-node.json:/app/peering.json
- ./db/private-tangle/node1.db:/app/db
- ./p2pstore/node1:/app/p2pstore
- ./snapshots:/app/snapshots
cap_drop:
- ALL
spammer:
hostname: spammer
# network_mode: host
networks:
- tangle
image: iotaledger/hornet:1.2.4
restart: unless-stopped
container_name: spammer
stop_grace_period: 5m
expose:
- 15600
- "14626/udp"
volumes:
- ./config/config-spammer.json:/app/config.json:ro
- ./config/profiles.json:/app/profiles.json
- ./config/peering-spammer.json:/app/peering.json
- ./db/private-tangle/spammer.db:/app/db
- ./p2pstore/spammer:/app/p2pstore
- ./snapshots:/app/snapshots
cap_drop:
- ALL
node-autopeering:
hostname: node-autopeering
# network_mode: host
networks:
- tangle
image: iotaledger/hornet:1.2.4
restart: unless-stopped
container_name: node-autopeering
stop_grace_period: 5m
expose:
- "14626/udp"
ports:
- "0.0.0.0:14626:14626/udp"
volumes:
- ./config/config-autopeering.json:/app/config.json:ro
- ./config/profiles.json:/app/profiles.json
- ./db/private-tangle/node-autopeering.db:/app/db
- ./p2pstore/node-autopeering:/app/p2pstore
cap_drop:
- ALL