1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-08-09 07:25:24 +02:00

expose env

This commit is contained in:
Ran Shamay 2023-11-21 14:08:28 +02:00
parent d161f259ff
commit e50d74a0d2
2 changed files with 4 additions and 1 deletions

View file

@ -30,6 +30,9 @@ services:
- DEFAULT_ADMIN_NAME=Demo Demo
- DEFAULT_ADMIN_USERNAME=demo
- MAIL_HOST=smtp.gmail.com
# related: https://github.com/knex/knex/issues/2354
# As knex does not pass query parameters from the connection string we
# have to use environment variables in order to pass the desired values, e.g.

View file

@ -44,7 +44,7 @@ module.exports.custom = {
defaultAdminEmail: process.env.DEFAULT_ADMIN_EMAIL,
mailConnectorHost: process.env.MAIL_HOST,
mailConnectorPort: process.env.MAIL_PORT || 587,
mailConnectorPort: process.env.MAIL_PORT || 25,
mailConnectorEmail: 'Planka <planka-noreplay@test.com>',
mailConnectorUser: process.env.MAIL_USER,
mailConnectorPass: process.env.MAIL_PASSWORD,