Initial commit

This commit is contained in:
georgew 2026-01-25 16:17:01 +00:00
commit a297abb7ef
3 changed files with 21 additions and 0 deletions

1
.env.example Normal file
View file

@ -0,0 +1 @@
HOMEPAGE_VAR_WATCHTOWER_KEY=watchtowerApiKey

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.env

19
docker-compose.yaml Normal file
View file

@ -0,0 +1,19 @@
services:
watchtower:
image: containrrr/watchtower
container_name: watchtower
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
env_file:
- ./.env # The HOMEPAGE_VAR_WATCHTOWER_KEY is taken from the homepage .env
environment:
# This tells Watchtower to clean up old images after updating
- WATCHTOWER_CLEANUP=true
# This sets how often to check for updates (in seconds). 86400 = 24 hours.
- WATCHTOWER_POLL_INTERVAL=86400
- DOCKER_API_VERSION=1.44
- WATCHTOWER_HTTP_API_METRICS=true # Required for the widget
- WATCHTOWER_HTTP_API_TOKEN=${HOMEPAGE_VAR_WATCHTOWER_KEY}
ports:
- 8080:8080