Running Locally
Simple example #1
- Admin console is accessible on
https://localhost:5042/ - No permanent storage: In this example, the generated
config.jsonandSqlite databaseswill be lost.
docker pull bitwarden/passwordless-self-host:stabledocker run \ --publish 5042:5701 \ --env BWP_ENABLE_SSL=true \ bitwarden/passwordless-self-host:stableSimple example #2
- Admin console is accessible on
http://localhost:5042/ - Permanent storage: In this example, the generated
config.jsonandSqlite databaseswill be retained on the host in directory/your/directory.
docker pull bitwarden/passwordless-self-host:stabledocker run \ --publish 5042:5701 \ --volume /your/directory:/etc/bitwarden_passwordless \ --env BWP_PORT=5042 \ bitwarden/passwordless-self-host:stableExample with SSL
- Admin console is accessible on
https://localhost:5042/ - Permanent storage: In this example, the generated
config.jsonandSqlite databaseswill be retained on the host in directory/your/directory.
docker pull bitwarden/passwordless-self-host:stabledocker run \ --publish 5042:5701 \ --volume /your/directory:/etc/bitwarden_passwordless \ --env BWP_PORT=5042 \ --env BWP_ENABLE_SSL=true \ bitwarden/passwordless-self-host:stable