This commit is contained in:
Jerome Petazzoni
2015-03-10 11:00:39 +00:00
parent 4a4756a3a2
commit 10c024b7e1
4 changed files with 31 additions and 1 deletions

View File

@@ -3,6 +3,6 @@ www:
ports:
- "80:80"
volumes:
- "htdocs:/usr/local/nginx/html"
- "htdocs:/usr/share/nginx/html"

View File

@@ -1,3 +1,5 @@
<a href="http://trng.dckr.org:9090">Live slides</a>
<p>
<a href="DockerSlides.pdf">PDF slides</a>
<p>
<a href="slave/fig.yml">fig.yml (mesos slave)</a>

19
htdocs/master/fig.yml Normal file
View File

@@ -0,0 +1,19 @@
master:
image: redjack/mesos-master
command: mesos-master --work_dir=/mesos
net: host
volt:
image: volt/volt
command: --master=trng.dckr.org:5050
ports:
- "8080:8080"
zk:
image: jplock/zookeeper
marathon:
image: mesosphere/marathon
command: --master trng.dckr.org:5050 --zk zk://zk:2181/marathon
links:
- zk:zk

9
htdocs/slave/fig.yml Normal file
View File

@@ -0,0 +1,9 @@
slave:
image: redjack/mesos-slave
net: host
command: mesos-slave --master=trng.dckr.org:5050 --containerizers=docker,mesos
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
- /var/run/docker.sock:/var/run/docker.sock
- /usr/bin/docker:/bin/docker