Docker: introduce a generic docker-compose.yml

This commit is contained in:
Pietro Abate 2018-02-22 10:48:53 -05:00 committed by Grégoire Henry
parent ea515b9551
commit 9c6d0bd684

View File

@ -0,0 +1,39 @@
version: "3"
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
baker:
image: tezos/tezos:latest
hostname: baker
command: tezos-baker
links:
- node
volumes:
- client_data:/var/run/tezos/client
restart: on-failure
endorser:
image: tezos/tezos:latest
hostname: endorser
command: tezos-endorser
links:
- node
volumes:
- client_data:/var/run/tezos/client
restart: on-failure
volumes:
node_data:
client_data: