1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_etebase.git synced 2024-08-16 10:19:52 +02:00
ansible_role_etebase/templates/etebase-server.ini.j2

46 lines
1.5 KiB
Text
Raw Normal View History

; {{ ansible_managed }}
; See https://github.com/roles-ansible/ansible_role_etebase.git
[global]
secret_file = {{ etebase__global_secret_file }}
2023-10-22 19:51:16 +02:00
debug = {{ etebase__global_debug | ternary('true', 'false') }}
;Set the paths where data will be stored at
static_root = {{ etebase__global_static_root }}
media_root = {{ etebase__global_media_root }}
;Advanced options, only uncomment if you know what you're doing:
;static_url = /static/
;media_url = /user-media/
;language_code = en-us
;time_zone = UTC
;redis_uri = redis://localhost:6379
{{ etebase__global_extra }}
[allowed_hosts]
allowed_host1 = {{ etebase__allowed_hosts_allowed_host1 }}
{{ etebase__allowed_hosts_extra }}
[database]
engine = {{ etebase__database_engine }}
2022-11-12 18:10:49 +01:00
name = {{ etebase__database_name }}
{{ etebase__database_extra }}
[database-options]
; Add engine-specific options here, such as postgresql parameter key words
{{ etebase__database_options_extra }}
;[ldap]
;server = <The URL to your LDAP server>
;search_base = <Your search base>
;filter = <Your LDAP filter query. '%%s' will be substituted for the username>
; In case a cache TTL of 1 hour is too short for you, set `cache_ttl` to the preferred
; amount of hours a cache entry should be viewed as valid:
;cache_ttl = 5
;bind_dn = <Your LDAP "user" to bind as. Must be a bind user>
; Either specify the password directly, or provide a password file
;bind_pw = <The password to authenticate as your bind user>
;bind_pw_file = /path/to/the/file.txt
{{ etebase__ldap_extra }}
{{ etebase__config_extra }}