-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
56 lines (51 loc) · 1.41 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
version: '3'
services:
# https://github.com/jinnerbichler/iri/tree/private-testnet
iri:
image: jinnerbichler/iota-private-testnet
restart: always
ports:
- "14267:14265"
# - "14777:14777/udp"
# - "15777:15777"
volumes:
- ./iota.ini:/iri/iota.ini
- ./logback.xml:/iri/conf/logback.xml
- ./testnet_db:/iri/testnet_db
entrypoint:
- "/usr/bin/java"
- "-XX:+DisableAttachMechanism"
# - "-Xmx8g"
# - "-Xms256m"
- "-Dlogback.configurationFile=/iri/conf/logback.xml"
- "-Djava.net.preferIPv4Stack=true"
- "-jar"
- "iri.jar"
- "--remote"
# https://github.com/jinnerbichler/private-iota-testnet/tree/private-testnet
coordinator:
image: jinnerbichler/iota-coordinator
command: ["--host=iri", "--port=14265", "--interval=5", "--depth=50"]
depends_on:
- iri
# https://github.com/jinnerbichler/IOTA-Spammer/tree/private-testnet
spammer:
image: jinnerbichler/iota-spammer
depends_on:
- iri
restart: always
environment:
- "SPAM_FREQUENCY=10"
- "SPAM_DEPTH_MIN=2"
- "SPAM_DEPTH_MAX=60"
- "IRI_HOST=http://iri"
- "IRI_PORT=14265"
- "REPEATER_ON=false"
- "SPAM_ON=true"
# https://github.com/jinnerbichler/IOTA-tangle-explorer/tree/docker
explorer:
image: jinnerbichler/iota-tangle-explorer
ports:
- "8081:8080"
depends_on:
- iri