Commit e42b53a1 authored by Ian Fijolek's avatar Ian Fijolek

Update to use unmerged bitwarden features

parent bd1a6045
FROM "bitwardenrs/server:1.9.1" as bitwarden
# FROM "bitwardenrs/server:1.9.1" as bitwarden
FROM "vividboarder/bitwarden_rs:mail-auth-over-insecure" as bitwarden
FROM "vividboarder/bitwarden_rs_ldap:alpine" as bitwarden_ldap
FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617
......@@ -23,7 +24,7 @@ RUN rm /etc/apache2/sites-enabled/*
RUN sed -e 's,^ErrorLog.*,ErrorLog "|/bin/cat",' -i /etc/apache2/apache2.conf
RUN a2disconf other-vhosts-access-log
COPY apache.conf /etc/apache2/sites-enabled/bitwarden.conf
RUN a2enmod ldap authnz_ldap proxy proxy_http proxy_wstunnel rewrite
RUN a2enmod ldap authnz_ldap proxy proxy_http proxy_wstunnel rewrite
# Copies the files from the context (Rocket.toml file and web-vault)
# and the binary from the "build" stage to the current stage
......
......@@ -6,11 +6,13 @@ export DOMAIN=$APP_ORIGIN
export SMTP_HOST=$MAIL_SMTP_SERVER
export SMTP_FROM=$MAIL_FROM
export SMTP_FROM_NAME=Bitwarden
export SMTP_PORT=$MAIL_SMTPS_PORT
export SMTP_SSL=true
export SMTP_EXPLICIT_TLS=true
export SMTP_PORT=$MAIL_SMTP_PORT
export SMTP_SSL=false
export SMTP_EXPLICIT_TLS=false
export SMTP_USERNAME=$MAIL_SMTP_USERNAME
export SMTP_PASSWORD=$MAIL_SMTP_PASSWORD
export SMTP_AUTH_MECHANISM="Plain"
export LOG_LEVEL=debug
# Generate admin token if it doesn't exist
if [[ ! -f /app/data/admin_token ]]; then
......
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