Commit 60651f7b authored by Lisa Casino's avatar Lisa Casino Committed by Xavier Thompson

software/html5as-base: deploy monitoring service

parent 255eeba4
...@@ -17,11 +17,11 @@ ...@@ -17,11 +17,11 @@
[template-cfg] [template-cfg]
filename = instance.cfg.in filename = instance.cfg.in
md5sum = 12557dcf27c65acb7474f1d9871ff98c md5sum = d52a24adf6a4cb1c514b657c63ebf7a5
[instance_html5as] [instance_html5as]
_update_hash_filename_ = instance_html5as.cfg.in _update_hash_filename_ = instance_html5as.cfg.in
md5sum = 510b95acd930376d3711babf838dd4fa md5sum = 5d6965e14c72f6500ab37acd2a28aa7e
[template_nginx_conf] [template_nginx_conf]
_update_hash_filename_ = templates/nginx_conf.in _update_hash_filename_ = templates/nginx_conf.in
......
...@@ -35,7 +35,8 @@ default-parameters = ...@@ -35,7 +35,8 @@ default-parameters =
{ {
"title": "Tutorial html5as", "title": "Tutorial html5as",
"download_url": "", "download_url": "",
"port": 8081 "port": 8081,
"monitor-httpd-port": 8197
} }
[switch-softwaretype] [switch-softwaretype]
......
...@@ -176,8 +176,16 @@ name = nginx-port-listening.py ...@@ -176,8 +176,16 @@ name = nginx-port-listening.py
config-host = ${html5as:ip} config-host = ${html5as:ip}
config-port = ${html5as:port} config-port = ${html5as:port}
# Use a port different from the default one in order to be able to
# use it in a SlapOS webrunner or a Theia SlapOS Runner
[monitor-instance-parameter]
monitor-httpd-port = {{ parameter_dict['monitor-httpd-port'] }}
# Publish nginx address # Publish nginx address
[publish-connection-information] [publish-connection-information]
recipe = slapos.cookbook:publish recipe = slapos.cookbook:publish
# By extending monitor publish, all the section deploying monitoring will
# be deployed. The parameters needed for accessing monitoring will be published
<= monitor-publish
server_url = ${html5as:access_url} server_url = ${html5as:access_url}
title = Title {{ parameter_dict['title'] }}! title = Title {{ parameter_dict['title'] }}!
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment