Skip to content

Commit

Permalink
add docker cmd to edit page
Browse files Browse the repository at this point in the history
  • Loading branch information
miltontony committed Jul 22, 2015
1 parent a8265a0 commit 86d699c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions project/templates/unicoremc/advanced.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
<dt>MEM Limit</dt><dd>{{form.marathon_mem}}</dd>
<dt>Number of instances</dt><dd>{{form.marathon_instances}}</dd>
<dt>Health check path</dt><dd>{{form.marathon_health_check_path}}</dd>
<dt>Docker CMD</dt><dd>{{form.docker_cmd}}</dd>
</dl>
</fieldset>

Expand Down
3 changes: 2 additions & 1 deletion unicoremc/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ class Meta:
fields = (
'available_languages', 'default_language', 'ga_profile_id',
'frontend_custom_domain', 'cms_custom_domain', 'marathon_cpus',
'marathon_mem', 'marathon_instances', 'marathon_health_check_path')
'marathon_mem', 'marathon_instances', 'marathon_health_check_path',
'docker_cmd')

0 comments on commit 86d699c

Please sign in to comment.