Author: buildbot
Date: Wed May 20 07:28:11 2015
New Revision: 952001
Log:
Staging update by buildbot for slider
Modified:
websites/staging/slider/trunk/content/ (props changed)
websites/staging/slider/trunk/content/docs/slider_specs/application_pkg_docker.html
Propchange: websites/staging/slider/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed May 20 07:28:11 2015
@@ -1 +1 @@
-1680371
+1680469
Modified:
websites/staging/slider/trunk/content/docs/slider_specs/application_pkg_docker.html
==============================================================================
---
websites/staging/slider/trunk/content/docs/slider_specs/application_pkg_docker.html
(original)
+++
websites/staging/slider/trunk/content/docs/slider_specs/application_pkg_docker.html
Wed May 20 07:28:11 2015
@@ -254,10 +254,7 @@ Latest release: <strong>0.80.0-incubatin
<p>Please note that in this example, we are specifying a different docker
command path than the default <code>/usr/bin/docker</code> in appConfig.json.
We also specify the options that we need to include in the <code>docker
run</code> command (<code>-d</code> is by default included). This is just a
demo as how to include docker run command options. We also need to expose a
port to listen on for the application. Thus, we are specifying
<code>site.global.listen_port</code> in appConfig.json and the export config in
metainfo.json below</p>
-<div class="codehilite"><pre><span class="n">The</span> <span
class="n">config</span> <span class="n">structure</span> <span
class="n">in</span> <span class="n">appConfig</span><span
class="p">.</span><span class="n">json</span><span class="p">(</span><span
class="n">map</span><span class="p">)</span> <span class="o">-></span> <span
class="n">components</span><span class="p">(</span><span
class="n">list</span><span class="p">)</span> <span class="o">-></span>
<span class="n">component</span><span class="p">(</span><span
class="n">map</span><span class="p">)</span> <span class="o">-></span> <span
class="n">containers</span><span class="p">(</span><span
class="n">list</span><span class="p">)</span><span class="o">-></span> <span
class="n">container</span><span class="p">(</span><span
class="n">map</span><span class="p">)</span> <span class="n">have</span> <span
class="n">to</span> <span class="n">match</span> <span class="n">the</span>
<span class="n">one</span> <span clas
s="n">in</span> <span class="n">metainfo</span><span class="p">.</span><span
class="n">json</span><span class="p">.</span>
-</pre></div>
-
-
+<p>The config structure in appConfig.json(map) -> components(list) ->
component(map) -> containers(list)-> container(map) have to match the one
in metainfo.json. </p>
<p>We are also adding a few configurations for the component
<em>memcached</em> in appConfig.json here. These configurations are runtime
parameters of the component, as opposed to being part of the Docker image
definition in metainfo.json.</p>
<p><strong>metainfo.json</strong></p>
<div class="codehilite"><pre>{