[FIX] entferne mailer Passwort aus environment.env
This commit is contained in:
parent
58d7a6a660
commit
b7c57021a8
@ -25,6 +25,7 @@ services:
|
||||
user: "{{ git_user.uid }}:{{ git_user.group }}"
|
||||
env_file: ./environment.env
|
||||
environment:
|
||||
- GITEA__mailer__PASSWD={{ vault[inventory_hostname]['gitea']['mailer']['passwd'] | default('') }}
|
||||
- GITEA__database__DB_TYPE=mysql
|
||||
- GITEA__database__HOST=db:3306
|
||||
- GITEA__database__NAME=gitea
|
||||
|
@ -59,9 +59,6 @@ GITEA__mailer__ENABLE_HELO={{ gitea_vars.mailer.enable_helo }}
|
||||
{% if 'user' in gitea_vars['mailer'] %}
|
||||
GITEA__mailer__USER={{ gitea_vars.mailer.user }}
|
||||
{% endif %}
|
||||
{% if 'passwd' in gitea_vars['mailer'] %}
|
||||
GITEA__mailer__PASSWD={{ gitea_vars.mailer.passwd }}
|
||||
{% endif %}
|
||||
{% endif %} {# /mailer #}
|
||||
|
||||
{% if 'repository' in gitea_vars %}
|
||||
|
Loading…
Reference in New Issue
Block a user