Permalink
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (25 sloc) 601 Bytes
version: "2"
services:
control_plane:
restart: on-failure
build:
context: .
dockerfile: Dockerfile
command: -etcd-url=etcd:2379
depends_on:
- etcd
ports:
- "8080:8080"
networks:
- sg_net
etcd:
ports:
- "2379:2379"
image: quay.io/coreos/etcd
command: etcd --initial-cluster-state new --listen-client-urls http://0.0.0.0:2379 --advertise-client-urls http://127.0.0.1:2379
networks:
sg_net:
aliases:
- etcd
networks:
sg_net: