library/roles/shinyproxy/templates/shinyproxy-conf.yml.j2: Remove the groups limitations from the example apps.

This commit is contained in:
Andrea Dell'Amico 2017-06-05 18:42:37 +02:00
parent ce2c6e484f
commit 572387dad2
1 changed files with 3 additions and 2 deletions

View File

@ -39,11 +39,9 @@ shiny:
description: Application which demonstrates the basics of a Shiny app description: Application which demonstrates the basics of a Shiny app
docker-cmd: ["R", "-e shinyproxy::run_01_hello()"] docker-cmd: ["R", "-e shinyproxy::run_01_hello()"]
docker-image: openanalytics/shinyproxy-demo docker-image: openanalytics/shinyproxy-demo
groups: scientists, mathematicians
- name: 06_tabsets - name: 06_tabsets
docker-cmd: ["R", "-e shinyproxy::run_06_tabsets()"] docker-cmd: ["R", "-e shinyproxy::run_06_tabsets()"]
docker-image: openanalytics/shinyproxy-demo docker-image: openanalytics/shinyproxy-demo
groups: scientists
{% endif %} {% endif %}
{% if shinyproxy_apps is defined %} {% if shinyproxy_apps is defined %}
{% for app in shinyproxy_apps %} {% for app in shinyproxy_apps %}
@ -52,6 +50,9 @@ shiny:
description: {{ app.description }} description: {{ app.description }}
docker-cmd: ["R", "-e {{ app.cmd }}"] docker-cmd: ["R", "-e {{ app.cmd }}"]
docker-image: {{ app.docker_image }} docker-image: {{ app.docker_image }}
{% if app.groups is defined %}
groups: {{ app.groups }}
{% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}