Commit 2d0e42ab authored by Ian Fijolek's avatar Ian Fijolek

Update documentation and allow env variable overriding

parent 44a88b11
Please add the appstore description in markdown format here.
\ No newline at end of file
Bitwarden is a self-hosted password manager. It allows you to store and manage your passwords, credit cards, and other private information in a secure way while still allowing you to access it from your browser, phone, or desktop.
Note on User Management: **Bitwarden does not support Single Sign On**. This is by design for security reasons. You must create a new password for your Bitwarden account.
In addition, all users must be invited to your Bitwarden instance to sign up. By default it will not allow open registration. If you wish to automatically invite users, you may select the Cloudron user management, though you should keep in mind that it *will not* fully manage your users. It will only send them an invite email. No more, no less.
If you use Cloudron for user management: Any users with access should automatically receive an invite and be able to register for their own accounts. They will need to create a new password for this application due to client side encryption requirements. You can manage the server through the admin interface at `/admin`. Users access will not be revoked. You must manually revoke access through the admin interface if you wish to do so.
If you do not use Cloudron for user management: On initial creation, no users will have access to the server. You must visit `/admin` and invite any users that you wish to have access.
......@@ -3,12 +3,12 @@
set -eu
echo "=> Exporting env vars expected by Bitwarden"
export SIGNUPS_ALLOWED=false
export INVITATIONS_ALLOWED=true
export SIGNUPS_ALLOWED=${SIGNUPS_ALLOWED:-false}
export INVITATIONS_ALLOWED=${INVITATIONS_ALLOWED:-true}
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_FROM_NAME="${SMTP_FROM_NAME:-Bitwarden}"
export SMTP_PORT=$CLOUDRON_MAIL_SMTP_PORT
export SMTP_SSL=false
export SMTP_EXPLICIT_TLS=false
......@@ -17,7 +17,7 @@ export SMTP_PASSWORD=$CLOUDRON_MAIL_SMTP_PASSWORD
export SMTP_AUTH_MECHANISM="Plain"
export DATABASE_URL=$CLOUDRON_MYSQL_URL
export ENABLE_DB_WAL=false
export LOG_LEVEL=debug
export LOG_LEVEL=${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