mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-29 18:55:34 +02:00
Update to 2022-02-15 16:00
This commit is contained in:
10
roles/kimai/templates/env.j2
Normal file
10
roles/kimai/templates/env.j2
Normal file
@@ -0,0 +1,10 @@
|
||||
# for MySQL "serverVersion=5.7" and for MariaDB "serverVersion=mariadb-10.5.8"
|
||||
DATABASE_URL=mysql://{{ kimai_db_user }}:{{ kimai_db_pass | urlencode | regex_replace('/','%2F') }}@{{ kimai_db_server }}:{{ kimai_db_port }}/{{ kimai_db_name }}?charset=utf8&serverVersion=mariadb-10.5.8
|
||||
MAILER_FROM=kimai-no-replay@{{ ansible_domain }}
|
||||
MAILER_URL=smtp://localhost:25?encryption=&auth_mode=
|
||||
APP_ENV=prod
|
||||
APP_SECRET={{ kimai_secret_key }}
|
||||
CORS_ALLOW_ORIGIN=^https?://localhost(:[0-9]+)?$
|
||||
{% if kimai_src_ip is defined and kimai_src_ip | length > 0 %}
|
||||
TRUSTED_PROXIES={{ kimai_src_ip | join(',') }}
|
||||
{% endif %}
|
Reference in New Issue
Block a user