From 4ce3841fa869064fea29cc46f0fe6d04e6a4296b Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 10 May 2024 18:30:35 +0300 Subject: [PATCH] Update Docker Compose section --- Updating-the-vaultwarden-image.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Updating-the-vaultwarden-image.md b/Updating-the-vaultwarden-image.md index 3d695d4..108d7c3 100644 --- a/Updating-the-vaultwarden-image.md +++ b/Updating-the-vaultwarden-image.md @@ -37,10 +37,15 @@ docker rm vaultwarden_data You can also use a tool like [Watchtower](https://containrrr.dev/watchtower/) to automate the update process. Watchtower can periodically check for an update to the Docker image, pull the updated image, and recreate the container using the updated image. -## Updating when using docker-compose +## Updating when using Docker Compose + +```sh +docker compose pull +docker compose up -d +``` +For legacy/standalone versions: ```sh -docker-compose down docker-compose pull docker-compose up -d ```