1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-09-19 17:01:32 +02:00

Merge pull request #3620 from DenuxPlays/main

Updated docker run command
This commit is contained in:
Daniel García 2023-07-04 20:54:05 +02:00 committed by GitHub
commit 556d945396
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 ```sh
docker pull vaultwarden/server:latest 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. This will preserve any persistent data under /vw-data/, you can adapt the path to whatever suits you.