Commit 962ec27a authored by Felix Bartels's avatar Felix Bartels

add mail sending

had to delete my config.json during tests to apply smtp settings
Signed-off-by: Felix Bartels's avatarFelix Bartels <felix@host-consultants.de>
parent 53976d45
......@@ -7,6 +7,7 @@ ENV DATA_FOLDER=/app/data
ENV CONFIG_FILE=/app/data/config.json
ENV SIGNUPS_ALLOWED=false
ENV INVITATIONS_ALLOWED=true
ENV DISABLE_ADMIN_TOKEN=true
ENV WEBSOCKET_ENABLED=false
# set to false, will need some apache config first
......
......@@ -4,8 +4,10 @@ set -eu
export DOMAIN=$APP_ORIGIN
export SMTP_HOST=$MAIL_SMTP_SERVER
export SMTP_FROM=$MAIL_FROM
export SMTP_FROM_NAME=Bitwarden
export SMTP_PORT=$MAIL_SMTP_PORT
export SMTP_SSL=true
export SMTP_SSL=false
echo "=> Starting apache"
APACHE_CONFDIR="" source /etc/apache2/envvars
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment