-
Notifications
You must be signed in to change notification settings - Fork 3
/
factorish.yml
38 lines (38 loc) · 969 Bytes
/
factorish.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
29
30
31
32
33
34
35
36
37
38
factorish:
mode: develop
memory: 512
cpus: 1
instances: 3
expose_docker: True
expose_etcd: True
expose_registry: True
expose_ports:
- 8080
coreos:
channel: beta
min_version: 554
flannel:
enabled: True
network: 10.1.0.0/16
applications:
registry:
repository: registry
docker_options:
- '-p 5000:5000'
- '-e GUNICORN_OPTS=[--preload]'
- '-e search_backend='
- '-v /home/core/share/registry:/tmp/registry'
command:
registrator:
repository: gliderlabs/registrator
docker_options:
- '-v /var/run/docker.sock:/tmp/docker.sock:ro'
- '-h $HOSTNAME'
command: '-ttl 30 -ttl-refresh 20 etcd://$COREOS_PRIVATE_IPV4:4001/services'
proxy:
repository: factorish/proxy
docker_options:
- '-p 8080:8080 -e registry=8080'
- '-e ETCD_HOST=$COREOS_PRIVATE_IPV4'
dockerfile: /home/core/share/proxy
command: