Commit ce5dcdc3 authored by Felix Bartels's avatar Felix Bartels

updates and streamlining

get some fixes from https://git.cloudron.io/iamthefij/bitwardenrs-appSigned-off-by: Felix Bartels's avatarFelix Bartels <felix@host-consultants.de>
parent 2c246bf4
FROM "bitwardenrs/server:1.9.1" as bitwarden
FROM "bitwardenrs/server:1.13.0-alpine" as bitwarden
FROM cloudron/base:1.0.0@sha256:147a648a068a2e746644746bbfb42eb7a50d682437cead3c67c933c546357617
......@@ -10,9 +10,12 @@ ENV CONFIG_FILE=/app/data/config.json
ENV SIGNUPS_ALLOWED=false
ENV INVITATIONS_ALLOWED=true
ENV DISABLE_ADMIN_TOKEN=true
ENV WEBSOCKET_ENABLED=true
# Enable admin interface without requiring a token
# Interface is protected by the webserver (user has to be admin)
ENV DISABLE_ADMIN_TOKEN=true
RUN mkdir -p /app/data
VOLUME /app/data
EXPOSE 80
......
......@@ -2,15 +2,17 @@
set -eu
echo "=> exporting env vars expected by Bitwarden"
echo "=> Exporting env vars expected by Bitwarden"
export DOMAIN=$CLOUDRON_APP_ORIGIN
export SMTP_HOST=$CLOUDRON_MAIL_SMTP_SERVER
export SMTP_FROM=$CLOUDRON_MAIL_FROM
export SMTP_FROM_NAME=Bitwarden
export SMTP_PORT=$CLOUDRON_MAIL_SMTPS_PORT
export SMTP_SSL=true
export SMTP_PORT=$CLOUDRON_MAIL_SMTP_PORT
export SMTP_SSL=false
export SMTP_EXPLICIT_TLS=false
export SMTP_USERNAME=$CLOUDRON_MAIL_SMTP_USERNAME
export SMTP_PASSWORD=$CLOUDRON_MAIL_SMTP_PASSWORD
export SMTP_AUTH_MECHANISM="Plain"
echo "=> Starting supervisord"
exec /usr/bin/supervisord --configuration /etc/supervisor/supervisord.conf --nodaemon -i Bitwarden
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