traefik/integration/resources/compose/etcd3.yml

34 lines
748 B
YAML
Raw Normal View History

2017-11-17 16:22:03 +00:00
version: '2'
services:
etcd:
image: quay.io/coreos/etcd:v3.2.9
2018-08-07 17:12:03 +00:00
command: /usr/local/bin/etcd --data-dir=/etcd-data --name node1 --initial-advertise-peer-urls http://etcd:2380 --listen-peer-urls http://0.0.0.0:2380 --advertise-client-urls http://etcd:2379,http://etcd:4001 --listen-client-urls http://0.0.0.0:2379,http://0.0.0.0:4001 --initial-cluster node1=http://etcd:2380 --debug
2017-11-17 16:22:03 +00:00
expose:
- 2380
- 2379
- 4001
- 7001
whoami1:
image: containous/whoami
2017-11-17 16:22:03 +00:00
depends_on:
- etcd
whoami2:
image: containous/whoami
2017-11-17 16:22:03 +00:00
depends_on:
- whoami1
whoami3:
image: containous/whoami
2017-11-17 16:22:03 +00:00
depends_on:
- whoami2
whoami4:
image: containous/whoami
2017-11-17 16:22:03 +00:00
depends_on:
- whoami3