Commit 1b5e3a17 authored by Nirina Malard's avatar Nirina Malard

software/html5as-base: deploy monitoring service

parent c0c34bbc
......@@ -18,11 +18,11 @@
[template-cfg]
filename = instance.cfg.in
md5sum = 614443e77252a0b27fa275107a517407
md5sum = 76b0cd254ec7eb97eeadc8129b33c4dc
[instance_html5as]
_update_hash_filename_ = instance_html5as.cfg.in
md5sum = 2a2481fce38b5f5656b857a34a33d493
md5sum = 9d9ba26bfe1f2697b67339bb2a1a06b0
[template_nginx_conf]
_update_hash_filename_ = templates/nginx_conf.in
......
......@@ -35,7 +35,8 @@ default-parameters =
{
"title": "Tutorial html5as",
"download_url": "",
"port": 8081
"port": 8081,
"monitor-httpd-port": 8197
}
[switch-softwaretype]
......
......@@ -178,8 +178,16 @@ name = nginx-port-listening.py
config-host = ${html5as:ip}
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-connection-information]
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}
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