本地运行

简单示例 #1

  • 可通过 https://localhost:5042/ 访问管理控制台

  • 无永久存储:在此示例中,生成的 config.jsonSqlite databases 将丢失。

docker pull bitwarden/passwordless-self-host:stable
docker run \
  --publish 5042:5701 \
  --env BWP_ENABLE_SSL=true \
  bitwarden/passwordless-self-host:stable

简单示例 #2

  • 可通过 http://localhost:5042/ 访问管理控制台

  • 永久存储:在此示例中,生成的 config.jsonSqlite databases 将保留在主机上的 /your/directory 目录中。

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

SSL 示例

  • 可通过 http://localhost:5042/ 访问管理控制台

  • 永久存储:在此示例中,生成的 config.jsonSqlite databases 将保留在主机上的 /your/directory 目录中。

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

最后更新于