From bf0ae28599e022389d33fec8304e5ddc5ac3cc34 Mon Sep 17 00:00:00 2001 From: video-prize-ranch Date: Fri, 12 Aug 2022 21:22:46 -0400 Subject: [PATCH] Add section on automatic updates and use image by default [ci skip] --- README.md | 13 +++++++++++++ docker-compose.yml | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3efc013..526d4aa 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,19 @@ You can now run rimgo. sudo docker-compose up -d ``` +#### Automatic updates +[Watchtower](https://containrrr.dev/watchtower/) can automatically update your Docker containers. + +Create a new `docker-compose.yml` file or add the watchtower section to your existing `docker-compose.yml` file. +```yml +version: "3" +services: + watchtower: + image: containrrr/watchtower + volumes: + - /var/run/docker.sock:/var/run/docker.sock +``` + ### Build from source #### Requirements diff --git a/docker-compose.yml b/docker-compose.yml index a099805..3369fd5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,9 +2,9 @@ version: '3' services: rimgo: - #image: codeberg.org/video-prize-ranch/rimgo # Uncomment to use image, official image + image: codeberg.org/video-prize-ranch/rimgo # Official image #image: quay.io/pussthecatorg/rimgo # Unofficial image - build: . + #build: . # Uncomment to build from source ports: - 3000:3000 restart: unless-stopped