0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-05-18 21:03:51 +02:00

updated docker run command

This commit is contained in:
Timon Klinkert 2023-06-26 00:31:40 +02:00 committed by GitHub
parent e7f083dee9
commit e4894524e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ Pull the docker image and mount a volume from the host for persistent storage:
```sh
docker pull vaultwarden/server:latest
docker run -d --name vaultwarden -v /vw-data/:/data/ -p 80:80 vaultwarden/server:latest
docker run -d --name vaultwarden -v /vw-data/:/data/ --restart unless-stopped -p 80:80 vaultwarden/server:latest
```
This will preserve any persistent data under /vw-data/, you can adapt the path to whatever suits you.