mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-09-15 12:04:53 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
15
roles/documize/templates/documize.conf.j2
Normal file
15
roles/documize/templates/documize.conf.j2
Normal file
@@ -0,0 +1,15 @@
|
||||
[http]
|
||||
port = {{ documize_port }}
|
||||
|
||||
[database]
|
||||
{% if documize_db_engine == 'mysql' %}
|
||||
type = "mysql"
|
||||
connection = "{{ documize_db_user }}:{{ documize_db_pass }}@tcp({{ documize_db_server }}:{{ documize_db_port }})/{{ documize_db_name }}"
|
||||
{% elif documize_db_engine == 'postgres' %}
|
||||
type = "postgresql"
|
||||
connection = "host={{ documize_db_server }} port={{ documize_db_port }} dbname={{ documize_db_name }} user={{ documize_db_user }} password={{ documize_db_pass }} sslmode=disable"
|
||||
{% endif %}
|
||||
salt = "{{ documize_salt }}"
|
||||
|
||||
[install]
|
||||
location = "selfhost"
|
Reference in New Issue
Block a user