blob: 6dc25e80be518f8dd8cde1343ce8d7090b910287 [file] [log] [blame]
#
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
---
doc_root_dir: "/var/www/django-{{ gateway_id }}"
user_data_dir: "/var/www/user_data"
django_venv_dir: "{{ doc_root_dir }}/venv"
# real_user_data_dir is the same as user_data_dir but without symbolic links in it
real_user_data_dir: "{{ user_data_dir }}"
vhost_servername: "{{ groups['django'][0] }}"
vhost_ssl: False
vhost_aliases: []
vhost_timeout: 60
django_vhost_conf_name: "django-{{ gateway_id }}"
httpd_confd_file_location:
RedHat: "/etc/httpd/conf.d/{{ django_vhost_conf_name }}.conf"
Debian: "/etc/apache2/sites-available/{{ django_vhost_conf_name }}.conf"
httpd_name:
Debian: apache2
RedHat: httpd
httpd_log_dir:
Debian: /var/log/apache2
RedHat: /var/log/httpd
django_vhost_template: "django-vhost.conf.j2"
django_ssl_vhost_template: "django-ssl-vhost.conf.j2"
django_settings_local_template: "settings_local.py.j2"
django_extra_settings: {}
django_database_name: "django_{{ gateway_id }}"
django_database_backend: "mysql"
django_hidden_airavata_apps: "[]"
django_tus_data_dir: "{{user_data_dir}}/tus-temp-dir"
django_file_upload_max_file_size_mb: 64
django_database_hosts: "{{ groups['database'] }}"
django_db_username: "django"
django_database_host_ip_address: "{{ groups['database'][0] }}"
# Should be a python expression that evaluates to a string representing a file path. For example:
# django_keycloak_ca_certfile_path: "/etc/ca.pem"
# or
# django_keycloak_ca_certfile_path: 'os.path.join(BASE_DIR, "django_airavata", "resources", "incommon_rsa_server_ca.pem")'
# By default it has no value meaning system default CA certs will be used for validation.
django_keycloak_ca_certfile_path:
django_wsgi_processes: 1
django_debug: false
django_error_emails: "{{ admin_emails }}"
python_virtualenv_command: "pyvenv-3.6"
# These directories need to be copied out of the build container and then
# separately rsynced to deployment
django_portal_js_build_dirs:
- "django_airavata/apps/api/static/django_airavata_api/dist"
- "django_airavata/static/common/dist"
- "django_airavata/apps/admin/static/django_airavata_admin/dist"
- "django_airavata/apps/groups/static/django_airavata_groups/dist"
- "django_airavata/apps/workspace/static/django_airavata_workspace/dist"
- "django_airavata/apps/dataparsers/static/django_airavata_dataparsers/dist"
## Keycloak related variables
tenant_domain: "{{ gateway_id }}"
oauth_client_key: "RuLl_Uw7i_KXaLoAGJkiasTfyBYa"
oauth_client_secret: "vD9yi2ANkChzgWiih3RahrIcfsoa"
oauth_service_url: "{{ iam_server_url }}"
auth_options:
password:
name: "{{ portal_title }}"
# external:
# - name: "CILogon"
# idp_alias: "cilogon"
oauth_callback_url: "https://{{ vhost_servername }}/auth/callback"
## Airavata Client related variables
airavata_django_repo: "https://github.com/apache/airavata-django-portal.git"
airavata_django_git_branch: "master"
airavata_django_checkout: "{{ doc_root_dir}}/airavata-django-portal"
airavata_django_extra_dependencies: []
gateway_id: "{{ default_gateway }}"
# relative to document root dir
experiment_data_dir: "{{ user_data_dir }}"
file_upload_tmp_dir: "{{ experiment_data_dir }}/tmp/"
gateway_data_store_ssh_public_key: ""
gateway_data_store_resource_id: "js-170-103.jetstream-cloud.org_6497a464-3121-4b64-a7cb-d195b0a26c19"
gateway_data_store_hostname: "{{ groups['django'][0] }}"
portal_email_tls: false
portal_title: "Django Airavata Gateway"
httpd_default_http_port: 80
httpd_default_https_port: 443
# Google Analytics tracking id
django_google_analytics_tracking_id:
...