2017-03-31 21:23:36 +02:00
|
|
|
shiny:
|
|
|
|
proxy:
|
|
|
|
title: {{ shinyproxy_app_title }}
|
|
|
|
logo-url: {{ shinyproxy_logo_url }}
|
|
|
|
landing-page: /
|
|
|
|
heartbeat-rate: 10000
|
|
|
|
heartbeat-timeout: 60000
|
2017-06-05 18:12:18 +02:00
|
|
|
port: {{ shinyproxy_http_port }}
|
2017-03-31 21:23:36 +02:00
|
|
|
authentication: {{ shinyproxy_authentication }}
|
|
|
|
admin-groups: {{ shinyproxy_admin_group }}
|
2017-04-06 15:52:29 +02:00
|
|
|
{% if shinyproxy_ldap_enabled %}
|
2017-03-31 21:23:36 +02:00
|
|
|
# LDAP configuration
|
|
|
|
ldap:
|
|
|
|
url: {{ shinyproxy_ldap_server }}
|
2017-04-06 15:52:29 +02:00
|
|
|
{% if shinyproxy_ldap_user_dn_enabled %}
|
|
|
|
user-dn-pattern: {{ shinyproxy_ldap_user_dn_pattern }}
|
|
|
|
{% endif %}
|
|
|
|
{% if shinyproxy_ldap_user_search_base_enabled %}
|
|
|
|
user-search-base: {{ shinyproxy_ldap_user_search_base }}
|
|
|
|
{% endif %}
|
|
|
|
{% if shinyproxy_ldap_user_search_filter_enabled %}
|
|
|
|
user-search-filter: {{ shinyproxy_ldap_user_search_filter }}
|
|
|
|
{% endif %}
|
|
|
|
group-search-base: {{ shinyproxy_ldap_group_search_base }}
|
|
|
|
group-search-filter: {{ shinyproxy_ldap_group_search_filter }}
|
2017-03-31 21:23:36 +02:00
|
|
|
manager-dn: {{ shinyproxy_ldap_admin }}
|
|
|
|
manager-password: {{ shinyproxy_ldap_admin_pwd }}
|
2017-04-06 15:52:29 +02:00
|
|
|
{% endif %}
|
2017-03-31 21:23:36 +02:00
|
|
|
# Docker configuration
|
|
|
|
docker:
|
|
|
|
cert-path: /home/none
|
2017-06-05 18:12:18 +02:00
|
|
|
url: {{ shinyproxy_docker_url }}
|
|
|
|
port-range-start: {{ shinyproxy_docker_port_range_start }}
|
2017-03-31 21:23:36 +02:00
|
|
|
apps:
|
2017-06-05 18:12:18 +02:00
|
|
|
{% if shinyproxy_default_apps %}
|
2017-03-31 21:23:36 +02:00
|
|
|
- name: 01_hello
|
|
|
|
display-name: Hello Application
|
|
|
|
description: Application which demonstrates the basics of a Shiny app
|
|
|
|
docker-cmd: ["R", "-e shinyproxy::run_01_hello()"]
|
|
|
|
docker-image: openanalytics/shinyproxy-demo
|
|
|
|
- name: 06_tabsets
|
|
|
|
docker-cmd: ["R", "-e shinyproxy::run_06_tabsets()"]
|
|
|
|
docker-image: openanalytics/shinyproxy-demo
|
2017-06-05 18:12:18 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if shinyproxy_apps is defined %}
|
|
|
|
{% for app in shinyproxy_apps %}
|
|
|
|
- name: {{ app.name }}
|
|
|
|
display-name: {{ app.display_name }}
|
|
|
|
description: {{ app.description }}
|
|
|
|
docker-cmd: ["R", "-e {{ app.cmd }}"]
|
|
|
|
docker-image: {{ app.docker_image }}
|
2017-06-05 18:42:37 +02:00
|
|
|
{% if app.groups is defined %}
|
|
|
|
groups: {{ app.groups }}
|
|
|
|
{% endif %}
|
2017-06-05 18:12:18 +02:00
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
2017-03-31 21:23:36 +02:00
|
|
|
|
2017-04-06 15:52:29 +02:00
|
|
|
security:
|
|
|
|
basic:
|
|
|
|
enabled: {{ shinyproxy_basic_auth }}
|
|
|
|
|
2017-03-31 21:23:36 +02:00
|
|
|
logging:
|
|
|
|
file:
|
|
|
|
shinyproxy.log
|
|
|
|
|