Watchtower prototype added.

This commit is contained in:
Alexey Skobkin 2020-07-18 16:19:29 +03:00
parent 17e717e157
commit 8b5446dd89
3 changed files with 27 additions and 0 deletions

View file

@ -45,5 +45,6 @@ Not every stack is tested to fully work.
- [x] Redis - [x] Redis
- [ ] Sonarr (prototype state, working itself, but transmission-on-host integration didn't work due to path mismatch) - [ ] Sonarr (prototype state, working itself, but transmission-on-host integration didn't work due to path mismatch)
- [x] Speedtest (LibreSpeed) - [x] Speedtest (LibreSpeed)
- [ ] Watchtower (prototype state)
- [ ] Wordpress (prototype state) - [ ] Wordpress (prototype state)
- [ ] YaCy (abandoned due to upstream code problems) - [ ] YaCy (abandoned due to upstream code problems)

8
watchtower/.env.dist Normal file
View file

@ -0,0 +1,8 @@
# https://hub.docker.com/r/containrrr/watchtower
# https://containrrr.dev/watchtower/
# Define containers (separated by space) which you want to automatically update here:
CONTAINERS_LIST=container1 container2
LOG_MAX_SIZE=5m
LOG_MAX_FILE=5

View file

@ -0,0 +1,18 @@
version: '3.7'
services:
watchtower:
# https://hub.docker.com/r/containrrr/watchtower
# https://containrrr.dev/watchtower/
image: containrrr/watchtower:latest
container_name: watchtower
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
env_file: .env
restart: unless-stopped
command: "${CONTAINERS_LIST}"
logging:
driver: "json-file"
options:
max-size: "${LOG_MAX_SIZE:-5m}"
max-file: "${LOG_MAX_FILE:-5}"