This is a Node.js project made to be run within docker.
To run this project within docker, make a docker-compose.yml file:
services:
updater:
image: inkytheinkmaster/dockerimageupdater:latest
container_name: imageupdater
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- TZ: Australia/Canberra
- TIME: 8 # Optional, allows you to set a custom time (hour) when the daily cron job runs
- IGNORED:"example/example:latest,docker/docker:latest"
- WEBHOOK_URL: "" # The webhook url that receives a POST request with the repo in the body when an update is avaliable
restart: unless-stoppedOr run the docker run command:
docker run -d -e IGNORED="example/example:latest,docker/docker:latest" -e TZ=Australia/Canberra -e WEBHOOK_URL="" -e TIME=8 -v /var/run/docker.sock:/var/run/docker.sock --name image-update-checker --restart=always inkytheinkmaster/dockerimageupdater:latestFirst, download the repository and install all packages:
git clone https://github.com/THE-Ink-Master/dockerImageUpdater.gitcd ./dockerImageUpdaterpnpm installThen run the application:
pnpm start