2022-11-10 22:47:17 +01:00
|
|
|
; {{ 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') }}
|
2022-11-10 22:47:17 +01:00
|
|
|
;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 }}
|
2022-11-10 22:47:17 +01:00
|
|
|
{{ 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 }}
|