-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
73 lines (73 loc) · 1.91 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
version: '3'
services:
tezos-node:
hostname: node
image: tezos/tezos:v13.0
restart: always
entrypoint: [ "/bin/sh", "/mnt/node-start.sh" ]
ports:
- "9732:9732"
- "8732:8732"
volumes:
- ./scripts:/mnt
- ${NODE_STORAGE_PATH}/.tezos-node:/home/tezos/.tezos-node
environment:
- NET_ADDR=0.0.0.0
- P2P_PORT=9732
- RPC_PORT=8732
- USE_SNAPSHOT=false
- TEZOS_HOME_CONFIG=/home/tezos/.tezos-node
- ID_FILE=/home/tezos/.tezos-node/identity.json
- FILE=/mnt/snapshot.rolling
- USE_SNAPSHOT=${USE_SNAPSHOT}
tezos-signer:
hostname: signer
image: tezos/tezos:v13.0
restart: always
volumes:
- ./scripts:/mnt
depends_on:
- tezos-node
entrypoint: [ "/bin/sh", "/mnt/signer-start.sh" ]
environment:
- SIGNER_PORT=7000
- BAKER_SECRET_KEY=${BAKER_SECRET_KEY}
tezos-baker:
hostname: baker
image: tezos/tezos:v13.0
entrypoint: [ "/bin/sh", "/mnt/baker-start.sh" ]
volumes:
- ./scripts:/mnt
- ${NODE_STORAGE_PATH}/.tezos-node:/home/tezos/.tezos-node
- ${NODE_STORAGE_PATH}/.tezos-client:/home/tezos/.tezos-client
restart: on-failure
environment:
- PKH=${BAKER_PUB_KEY_HASH}
- SIGNER_URL=signer:7000
- NODE_URL=node:8732
depends_on:
- tezos-node
- tezos-signer
tezos-accuser:
hostname: accuser
image: tezos/tezos:v13.0
entrypoint: [ "/bin/sh", "/mnt/accuser-start.sh" ]
volumes:
- ./scripts:/mnt
restart: always
environment:
- PKH=${BAKER_PUB_KEY_HASH}
- SIGNER_URL=signer:7000
- NODE_URL=node:8732
depends_on:
- tezos-node
- tezos-signer
pyrometer:
hostname: pyrometer
image: registry.gitlab.com/tezos-kiln/pyrometer
restart: always
volumes:
- ./pyrometer.toml:/home/node/.config/pyrometer/pyrometer.toml
command: run
ports:
- "20000:2020"