forked from iota-community/one-command-tangle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (50 loc) · 1.3 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
version: '3'
networks:
larsid:
name: larsid
external: true
services:
compass:
image: "iotacafe/compass:coordinator-8306ac7"
networks:
- larsid
depends_on:
- 'iri'
volumes:
- ./state:/state
- ./layers:/layers
command: coordinator_deploy.jar
${EXTRA_COMPASS_FLAGS}
-broadcast
-layers /layers
-sigMode CURLP27
-powMode CURLP81
-mwm ${MWM}
-security ${SECURITY_LEVEL}
-seed MYSEEDHEREPLEASEREPLACEMEIMMEDIATELYWITHSOMETHINGSECURE99999999999999999999999999
-tick ${TICK_RATE}
-host http://iri:${IRI_PORT}
-statePath /state/statefile
iri:
networks:
- larsid
image: "iotaledger/iri:latest"
ports:
- "${IRI_PORT}:${IRI_PORT}"
- "5556:5556"
volumes:
- ./config/snapshot.txt:/snapshot.txt
- ./db:/iri/data
command: >-
--testnet true
--remote true
--zmq-enable-tcp true
--remote-limit-api ""
--testnet-coordinator ZRMNUUBQHVRFRFBOQZYGAUBSTJSHDVIPXHUDA9VAXFTDSGGRILPVMYLVOLVCIEHLFMQKUOHUIUWILCXGD
--testnet-coordinator-security-level ${SECURITY_LEVEL}
--testnet-coordinator-signature-mode CURLP27
--mwm ${MWM}
--milestone-start 0
--milestone-keys 20
--snapshot /snapshot.txt
--max-depth 1000