1
0
mirror of https://github.com/wallabag/docker synced 2025-12-13 09:46:27 +00:00

Merge pull request #27 from xsteadfastx/master

set email settings through ansible template
This commit is contained in:
xsteadfastx
2016-10-31 09:29:08 +01:00
committed by GitHub
2 changed files with 8 additions and 4 deletions

View File

@@ -14,6 +14,10 @@
database_root_password_postgres: "{{ lookup('env', 'POSTGRES_PASSWORD') }}"
database_user: "{{ lookup('env', 'SYMFONY__ENV__DATABASE_USER')|default('root', true) }}"
secret: "{{ lookup('env', 'SYMFONY__ENV__SECRET')|default('ovmpmAWXRCabNlMgzlzFXDYmCFfzGv', true) }}"
mailer_host: "{{ lookup('env', 'SYMFONY__ENV__MAILER_HOST')|default('127.0.0.1', true) }}"
mailer_user: "{{ lookup('env', 'SYMFONY__ENV__MAILER_USER')|default('~', true) }}"
mailer_password: "{{ lookup('env', 'SYMFONY__ENV__MAILER_PASSWORD')|default('~', true) }}"
from_email: "{{ lookup('env', 'SYMFONY__ENV__FROM_EMAIL')|default('wallabag@example.com', true) }}"
tasks:

View File

@@ -10,9 +10,9 @@ parameters:
database_socket: null
mailer_transport: smtp
mailer_host: 127.0.0.1
mailer_user: ~
mailer_password: ~
mailer_host: {{ mailer_host }}
mailer_user: {{ mailer_user }}
mailer_password: {{ mailer_password }}
locale: en
@@ -27,7 +27,7 @@ parameters:
fosuser_registration: true
fosuser_confirmation: true
from_email: no-reply@wallabag.org
from_email: {{ from_email }}
rss_limit: 50