forked from ISTI-ansible-roles/ansible-roles
55 lines
1.6 KiB
Django/Jinja
55 lines
1.6 KiB
Django/Jinja
shiny:
|
|
proxy:
|
|
title: {{ shinyproxy_app_title }}
|
|
logo-url: {{ shinyproxy_logo_url }}
|
|
landing-page: /
|
|
heartbeat-rate: 10000
|
|
heartbeat-timeout: 60000
|
|
port: 8080
|
|
authentication: {{ shinyproxy_authentication }}
|
|
admin-groups: {{ shinyproxy_admin_group }}
|
|
{% if shinyproxy_ldap_enabled %}
|
|
# LDAP configuration
|
|
ldap:
|
|
url: {{ shinyproxy_ldap_server }}
|
|
{% 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 }}
|
|
manager-dn: {{ shinyproxy_ldap_admin }}
|
|
manager-password: {{ shinyproxy_ldap_admin_pwd }}
|
|
{% endif %}
|
|
# Docker configuration
|
|
docker:
|
|
cert-path: /home/none
|
|
url: http://localhost:2375
|
|
host: 127.0.0.1
|
|
port-range-start: 20000
|
|
apps:
|
|
- 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
|
|
groups: scientists, mathematicians
|
|
- name: 06_tabsets
|
|
docker-cmd: ["R", "-e shinyproxy::run_06_tabsets()"]
|
|
docker-image: openanalytics/shinyproxy-demo
|
|
groups: scientists
|
|
|
|
security:
|
|
basic:
|
|
enabled: {{ shinyproxy_basic_auth }}
|
|
|
|
logging:
|
|
file:
|
|
shinyproxy.log
|
|
|