Skip to content
Bitwarden Logo

Running Locally

Simple example #1

  • Admin console is accessible on https://localhost:5042/
  • No permanent storage: In this example, the generated config.json and Sqlite databases will be lost.
Terminal window
docker pull bitwarden/passwordless-self-host:stable
docker run \
--publish 5042:5701 \
--env BWP_ENABLE_SSL=true \
bitwarden/passwordless-self-host:stable

Simple example #2

  • Admin console is accessible on http://localhost:5042/
  • Permanent storage: In this example, the generated config.json and Sqlite databases will be retained on the host in directory /your/directory.
Terminal window
docker pull bitwarden/passwordless-self-host:stable
docker run \
--publish 5042:5701 \
--volume /your/directory:/etc/bitwarden_passwordless \
--env BWP_PORT=5042 \
bitwarden/passwordless-self-host:stable

Example with SSL

  • Admin console is accessible on https://localhost:5042/
  • Permanent storage: In this example, the generated config.json and Sqlite databases will be retained on the host in directory /your/directory.
Terminal window
docker pull bitwarden/passwordless-self-host:stable
docker run \
--publish 5042:5701 \
--volume /your/directory:/etc/bitwarden_passwordless \
--env BWP_PORT=5042 \
--env BWP_ENABLE_SSL=true \
bitwarden/passwordless-self-host:stable