Docker: introduce a generic docker-compose.yml
This commit is contained in:
parent
ea515b9551
commit
9c6d0bd684
39
scripts/docker/docker-compose-generic.yml
Normal file
39
scripts/docker/docker-compose-generic.yml
Normal 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:
|
Loading…
Reference in New Issue
Block a user