mirror of
https://github.com/dani-garcia/bitwarden_rs
synced 2024-11-22 01:48:09 +01:00
Added Podman info
parent
ac10cf5891
commit
5c7bdcf5e4
@ -1,11 +1,17 @@
|
||||
The persistent data is stored under /data inside the container, so the only requirement for persistent deployment using Docker is to mount persistent volume at the path:
|
||||
|
||||
```
|
||||
```sh
|
||||
# using Docker:
|
||||
docker run -d --name bitwarden -v /bw-data/:/data/ -p 80:80 bitwardenrs/server:latest
|
||||
# using Podman as non-root:
|
||||
podman run -d --name bitwarden -v /bw-data/:/data/:Z -p 8080:8080 bitwardenrs/server:latest
|
||||
# using Podman as root:
|
||||
sudo podman run -d --name bitwarden -v /bw-data/:/data/:Z -p 80:8080 bitwardenrs/server:latest
|
||||
```
|
||||
|
||||
|
||||
This will preserve any persistent data under `/bw-data/`, you can adapt the path to whatever suits you.
|
||||
|
||||
The service will be exposed on port 80.
|
||||
The service will be exposed on port 80 or 8080.
|
||||
|
||||
For non-x86 hardware or to run specific version, you can [[choose some other image|Which-Docker-image-to-use]].
|
Loading…
Reference in New Issue
Block a user