aboutsummaryrefslogtreecommitdiffhomepage
path: root/composer.json
diff options
context:
space:
mode:
authorMathieu Bruyen <code@mais-h.eu>2015-11-26 09:20:23 +0100
committerMathieu Bruyen <code@mais-h.eu>2015-11-26 10:44:03 +0100
commit59507c5b24a0f4d68e5798dd9fa995d1e6dac416 (patch)
tree68362ee57075f1b733b53360d81982bc947155aa /composer.json
parent0a0c600887dde4cc755de0862a3301830c415882 (diff)
downloadwallabag-59507c5b24a0f4d68e5798dd9fa995d1e6dac416.tar.gz
wallabag-59507c5b24a0f4d68e5798dd9fa995d1e6dac416.tar.zst
wallabag-59507c5b24a0f4d68e5798dd9fa995d1e6dac416.zip
SMTP configuration through environment
Configuring SMTP parameters required to be written in files which is not convenient when using docker containers as the credentials need to be in the filesystem. Created environment parameters override for those parameters. A new build script created in order to generate those parameters right before launching the application.
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json11
1 files changed, 10 insertions, 1 deletions
diff --git a/composer.json b/composer.json
index b6a9c854..5892dc1a 100644
--- a/composer.json
+++ b/composer.json
@@ -85,6 +85,9 @@
85 "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache", 85 "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
86 "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets", 86 "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
87 "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile" 87 "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
88 ],
89 "build-parameters": [
90 "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters"
88 ] 91 ]
89 }, 92 },
90 "extra": { 93 "extra": {
@@ -92,7 +95,13 @@
92 "symfony-web-dir": "web", 95 "symfony-web-dir": "web",
93 "symfony-assets-install": "relative", 96 "symfony-assets-install": "relative",
94 "incenteev-parameters": { 97 "incenteev-parameters": {
95 "file": "app/config/parameters.yml" 98 "file": "app/config/parameters.yml",
99 "env-map": {
100 "mailer_host": "WALLABAG_MAILER_HOST",
101 "mailer_user": "WALLABAG_MAILER_USER",
102 "mailer_password": "WALLABAG_MAILER_PASSWORD",
103 "secret": "WALLABAG_SECRET"
104 }
96 } 105 }
97 }, 106 },
98 "autoload": { 107 "autoload": {