From 9912fa185c0a8f01d19fc5062212db801b9c0aba Mon Sep 17 00:00:00 2001 From: James Date: Sat, 20 Aug 2022 16:08:18 +0100 Subject: [PATCH] add SMTP config options --- docker-compose.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 8b4869c..19c022b 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -21,9 +21,17 @@ services: - frontend secrets: - default_password - ports: - - 8080:80 + # Uncomment to expose port on host + # ports: + # - 8080:80 environment: PGADMIN_DEFAULT_EMAIL: ${DEFAULT_EMAIL} PGADMIN_DEFAULT_PASSWORD_FILE: /run/secrets/default_password - PGADMIN_DISABLE_POSTFIX: ${DISABLE_POSTFIX-false} + PGADMIN_DISABLE_POSTFIX: ${DISABLE_POSTFIX} + PGADMIN_CONFIG_MAIL_SERVER: ${MAIL_SERVER-"'localhost'"} + PGADMIN_CONFIG_MAIL_PORT: ${MAIL_PORT-25} + PGADMIN_CONFIG_MAIL_USE_SSL: ${MAIL_USE_SSL-False} + PGADMIN_CONFIG_MAIL_USE_TLS: ${MAIL_USE_TLS-False} + PGADMIN_CONFIG_MAIL_USERNAME: ${MAIL_USERNAME-"''"} + PGADMIN_CONFIG_MAIL_PASSWORD: ${MAIL_PASSWORD-"''"} + PGADMIN_CONFIG_SECURITY_EMAIL_SENDER: ${SECURITY_EMAIL_SENDER-"'no-reply@localhost'"} \ No newline at end of file