2018-03-21 18:19:28 +04:00
|
|
|
version: "2"
|
2018-02-22 19:48:53 +04:00
|
|
|
services:
|
|
|
|
|
|
|
|
node:
|
|
|
|
image: tezos/tezos:latest
|
|
|
|
hostname: node
|
|
|
|
command: tezos-node
|
|
|
|
ports:
|
|
|
|
- 9732:9732
|
|
|
|
expose:
|
|
|
|
- '8732'
|
|
|
|
volumes:
|
|
|
|
- node_data:/var/run/tezos/node
|
|
|
|
- client_data:/var/run/tezos/client
|
|
|
|
restart: on-failure
|
|
|
|
|
2018-07-18 22:27:06 +04:00
|
|
|
## Duplicate the `baker/endorser/accuser` containers for each PROTOCOL
|
|
|
|
## in file `active_protocol_versions`
|
|
|
|
baker-alpha:
|
2018-02-22 19:48:53 +04:00
|
|
|
image: tezos/tezos:latest
|
2018-07-18 22:27:06 +04:00
|
|
|
hostname: baker-alpha
|
|
|
|
environment:
|
|
|
|
- PROTOCOL=alpha
|
2018-02-22 19:48:53 +04:00
|
|
|
command: tezos-baker
|
|
|
|
links:
|
|
|
|
- node
|
|
|
|
volumes:
|
|
|
|
- client_data:/var/run/tezos/client
|
|
|
|
restart: on-failure
|
|
|
|
|
2018-07-18 22:27:06 +04:00
|
|
|
endorser-alpha:
|
2018-02-22 19:48:53 +04:00
|
|
|
image: tezos/tezos:latest
|
2018-07-18 22:27:06 +04:00
|
|
|
hostname: endorser-alpha
|
|
|
|
environment:
|
|
|
|
- PROTOCOL=alpha
|
2018-02-22 19:48:53 +04:00
|
|
|
command: tezos-endorser
|
|
|
|
links:
|
|
|
|
- node
|
|
|
|
volumes:
|
|
|
|
- client_data:/var/run/tezos/client
|
|
|
|
restart: on-failure
|
|
|
|
|
2018-07-18 22:27:06 +04:00
|
|
|
accuser-alpha:
|
2018-06-25 19:39:36 +04:00
|
|
|
image: tezos/tezos:latest
|
2018-07-18 22:27:06 +04:00
|
|
|
hostname: accuser-alpha
|
|
|
|
environment:
|
|
|
|
- PROTOCOL=alpha
|
2018-06-25 19:39:36 +04:00
|
|
|
command: tezos-accuser
|
|
|
|
links:
|
|
|
|
- node
|
|
|
|
volumes:
|
|
|
|
- client_data:/var/run/tezos/client
|
|
|
|
restart: on-failure
|
|
|
|
|
2018-02-22 19:48:53 +04:00
|
|
|
volumes:
|
|
|
|
node_data:
|
|
|
|
client_data:
|