Add section on automatic updates and use image by default [ci skip]

This commit is contained in:
video-prize-ranch 2022-08-12 21:22:46 -04:00
parent ba796cbf09
commit bf0ae28599
No known key found for this signature in database
GPG Key ID: D8EAA4C5B12A7281
2 changed files with 15 additions and 2 deletions

View File

@ -90,6 +90,19 @@ You can now run rimgo.
sudo docker-compose up -d 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 ### Build from source
#### Requirements #### Requirements

View File

@ -2,9 +2,9 @@ version: '3'
services: services:
rimgo: 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 #image: quay.io/pussthecatorg/rimgo # Unofficial image
build: . #build: . # Uncomment to build from source
ports: ports:
- 3000:3000 - 3000:3000
restart: unless-stopped restart: unless-stopped