|
|
|
FUNKWHALE_API_IP=127.0.0.1
|
|
|
|
FUNKWHALE_API_PORT={{ funkwhale_api_port }}
|
|
|
|
FUNKWHALE_WEB_WORKERS={{ funkwhale_web_workers }}
|
|
|
|
FUNKWHALE_HOSTNAME={{ funkwhale_public_url | urlsplit('hostname') }}
|
|
|
|
FUNKWHALE_PROTOCOL={{ funkwhale_public_url | urlsplit('scheme') }}
|
|
|
|
EMAIL_CONFIG=smtp://127.0.0.1
|
|
|
|
DEFAULT_FROM_EMAIL=funkwhale-noreply@{{ ansible_domain }}
|
|
|
|
REVERSE_PROXY_TYPE=apache2
|
|
|
|
DATABASE_URL='postgresql://{{ funkwhale_db_user }}:{{ funkwhale_db_pass | urlencode | regex_replace('/','%2F') }}@{{ funkwhale_db_server }}:{{ funkwhale_db_port }}/{{ funkwhale_db_name }}'
|
|
|
|
CACHE_URL={{ funkwhale_redis_url }}
|
|
|
|
MEDIA_ROOT={{ funkwhale_root_dir }}/data/media
|
|
|
|
STATIC_ROOT={{ funkwhale_root_dir }}/data/static
|
|
|
|
DJANGO_SETTINGS_MODULE=config.settings.production
|
|
|
|
DJANGO_SECRET_KEY='{{ funkwhale_secret_key }}'
|
|
|
|
RAVEN_ENABLED=False
|
|
|
|
RAVEN_DSN=https://44332e9fdd3d42879c7d35bf8562c6a4:0062dc16a22b41679cd5765e5342f716@sentry.eliotberriot.com/5
|
|
|
|
MUSIC_DIRECTORY_PATH={{ funkwhale_root_dir }}/data/music
|
|
|
|
{% if funkwhale_ldap_url is defined %}
|
|
|
|
LDAP_ENABLED=True
|
|
|
|
LDAP_SERVER_URI={{ funkwhale_ldap_url }}
|
|
|
|
LDAP_START_TLS={{ (funkwhale_ldap_url | urlsplit('scheme') == 'ldaps' or funkwhale_ldap_url | urlsplit('hostname') == '127.0.0.1' or funkwhale_ldap_url | urlsplit('hostname') == 'localhost') | ternary('False', 'True') }}
|
|
|
|
{% if funkwhale_ldap_bind_dn is defined and funkwhale_ldap_bind_pass is defined %}
|
|
|
|
LDAP_BIND_DN='{{ funkwhale_ldap_bind_dn }}'
|
|
|
|
LDAP_BIND_PASSWORD='{{ funkwhale_ldap_bind_pass }}'
|
|
|
|
{% endif %}
|
|
|
|
LDAP_SEARCH_FILTER='{{ funkwhale_ldap_user_filter }}'
|
|
|
|
LDAP_ROOT_DN='{{ funkwhale_ldap_base }}'
|
|
|
|
LDAP_USER_ATTR_MAP='{{ funkwhale_ldap_attr_map }}'
|
|
|
|
{% endif %}
|
|
|
|
FUNKWHALE_FRONTEND_PATH={{ funkwhale_root_dir }}/front/dist
|
|
|
|
NGINX_MAX_BODY_SIZE=100M
|
|
|
|
MUSIC_USE_DENORMALIZATION=True
|
|
|
|
FUNKWHALE_SPA_HTML_ROOT={{ funkwhale_root_dir }}/front/dist/
|
|
|
|
FUNKWHALE_URL={{ funkwhale_public_url }}
|