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