-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathdocker-compose.yml
28 lines (25 loc) · 1.09 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# A simple compose file to start auth proxy and etcd without netmaster
version: '2.1'
services:
auth_proxy:
image: contiv/auth_proxy:${BUILD_VERSION:-devbuild}
ports:
- "10000:10000"
environment:
- NO_NETMASTER_STARTUP_CHECK=true
volumes:
- ./local_certs:/local_certs/
command: "--data-store-address=\"etcd://etcd:2379\" --tls-certificate=/local_certs/cert.pem --tls-key-file=/local_certs/local.key --listen-address=0.0.0.0:10000 --netmaster-address=0.0.0.0:9999"
# this should go away soon
auth_proxy_temp:
image: contiv/auth_proxy:${BUILD_VERSION:-devbuild}
environment:
- NO_NETMASTER_STARTUP_CHECK=true
volumes:
- ./local_certs:/local_certs/
command: "--initial-setup --data-store-address=\"etcd://etcd:2379\" --tls-certificate=/local_certs/cert.pem --tls-key-file=/local_certs/local.key --listen-address=0.0.0.0:10000 --netmaster-address=0.0.0.0:9999"
etcd:
image: quay.io/coreos/etcd:v2.3.8
ports:
- 2379:2379
command: "--listen-client-urls http://0.0.0.0:2379 --advertise-client-urls http://0.0.0.0:2379"