ansible-role-shinyproxy/defaults/main.yml

80 lines
3.1 KiB
YAML
Raw Normal View History

2020-09-16 18:31:27 +02:00
---
2020-09-17 19:30:11 +02:00
# https://shinyproxy.io/
2020-09-23 16:40:51 +02:00
shinyproxy_install: True
shinyproxy_as_docker_service: False
2020-09-17 19:30:11 +02:00
shinyproxy_major_ver: 2
shinyproxy_minor_ver: 5
shinyproxy_patch_ver: 0
2020-09-17 19:30:11 +02:00
shinyproxy_version: '{{ shinyproxy_major_ver }}.{{ shinyproxy_minor_ver }}.{{ shinyproxy_patch_ver }}'
shinyproxy_file_name: 'shinyproxy-{{ shinyproxy_version }}.jar'
shinyproxy_url: 'https://www.shinyproxy.io/downloads/{{ shinyproxy_file_name }}'
shinyproxy_app_name: shinyproxy.jar
shinyproxy_user: shinyproxy
shinyproxy_landing_page: '/'
shinyproxy_install_dir: /opt/shinyproxy
shinyproxy_conf_dir: '{{ shinyproxy_install_dir }}'
2020-09-17 19:30:11 +02:00
shinyproxy_log_dir: /var/log/shinyproxy
shinyproxy_bind_address: 127.0.0.1
shinyproxy_http_port: 8080
2021-04-18 21:23:44 +02:00
shinyproxy_docker_http_port_mode: 'ingress'
2020-11-16 17:25:40 +01:00
shinyproxy_heartbeat_rate: 10000
shinyproxy_heartbeat_timeout: 60000
shinyproxy_undertow_loglevel: 'INFO'
shinyproxy_prometheus_port: 9090
shinyproxy_expose_prometheus: True
# 30 minutes
shinyproxy_server_session_timeout: 1800
2020-09-17 19:30:11 +02:00
# For logrotate. In days
shinyproxy_log_retention: 10
shinyproxy_default_apps: True
2020-09-23 16:40:51 +02:00
# Shinyproxy as docker service
2021-04-11 17:32:16 +02:00
shinyproxy_docker_image: 'openanalytics/shinyproxy:latest'
2021-04-13 19:57:26 +02:00
shinyproxy_as_docker_stack_name: 'shinyproxy'
2020-09-23 16:40:51 +02:00
shinyproxy_as_docker_service_name: 'shinyproxy'
2021-04-13 19:57:26 +02:00
shinyproxy_as_docker_src_dir: /srv/{{ shinyproxy_as_docker_stack_name }}_service
2020-09-23 16:40:51 +02:00
shinyproxy_docker_network: 'shinyproxy'
2021-04-13 19:57:26 +02:00
shinyproxy_docker_swarm_behind_haproxy: True
shinyproxy_docker_swarm_replicas: 1
shinyproxy_docker_mount_conf_file: True
2020-10-08 15:28:27 +02:00
shinyproxy_docker_log_to_journal: True
2020-09-23 16:40:51 +02:00
# Shinyproxy configuration
2020-09-17 19:30:11 +02:00
# docker, docker-swarm, kubernetes
shinyproxy_container_backend: 'docker'
shinyproxy_docker_port: 2375
shinyproxy_docker_host: 'localhost'
shinyproxy_docker_workers:
- 'localhost'
shinyproxy_docker_protocol: http
shinyproxy_docker_certs_dir: /etc/pki/shinyproxy
shinyproxy_docker_url: '{{ shinyproxy_docker_protocol }}://{{ shinyproxy_docker_host }}:{{ shinyproxy_docker_port }}'
shinyproxy_docker_port_range_start: 20000
shinyproxy_docker_cpu_limit: 1
shinyproxy_docker_memory_request: '1g'
shinyproxy_docker_memory_limit: '2g'
shinyproxy_docker_internal_networking: 'false'
shinyproxy_container_wait_time: 600000
shinyproxy_docker_loglevel: 'INFO'
shinyproxy_hide_navbar: 'false'
shinyproxy_custom_template: False
shinyproxy_template_path: '{{ shinyproxy_install_dir }}/web_templates'
shinyproxy_app_title: 'Open Analytics Shiny Proxy'
shinyproxy_logo_url: 'http://www.openanalytics.eu/sites/www.openanalytics.eu/themes/oa/logo.png'
shinyproxy_authentication: ldap
shinyproxy_ldap_enabled: False
shinyproxy_basic_auth: 'false'
shinyproxy_admin_group: ''
shinyproxy_ldap_server: 'ldap://ldap.forumsys.com:389/dc=example,dc=com'
shinyproxy_ldap_admin: cn=read-only-admin,dc=example,dc=com
shinyproxy_ldap_admin_pwd: password
shinyproxy_ldap_user_dn_enabled: False
shinyproxy_ldap_user_dn_pattern: 'uid={0}'
shinyproxy_ldap_user_search_base_enabled: True
shinyproxy_ldap_user_search_base: ''
shinyproxy_ldap_user_search_filter_enabled: True
shinyproxy_ldap_user_search_filter: '(uid={0})'
shinyproxy_ldap_group_search_base: ''
shinyproxy_ldap_group_search_filter: '(uniqueMember={0})'
shinyproxy_max_log_size: 20MB