GitHub notifier for followed repo
5.8K
Before version v0.12, you have a integrated sleep function, you have to add command: "60" in your docker compose.
You will need to create a data/services.txt file, inside you have to indicate the repo using the following structure:
moghtech/komodo
Dolibarr/dolibarr
You can create as well the data/versions.json with you current versions deployed, as followed:
{
"moghtech/komodo": "v1.16.12",
"Dolibarr/dolibarr": "21.0.0"
}
You need to create as well a .env file:
# Enter the discord webhook url
DISCORD_WEBHOOK_URL=your_discord_webhook_url
# Enter the discord role id for the role you want to ping
DISCORD_ROLE_ID=discord_id # Integer
# Log level (INFO by default if not set)
# Available levels: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# Optional, but you will have a rate limit of 60 requests per hour
GITHUB_TOKEN=your_github_token
# This allows the application to ping the role on Discord
# Optional, default if True
ALLOW_PING=True
# This allows to ping for all updates, not only major ones.
# Optional, default if False
ALLOW_ALL_RELEASES_PING=False
The compose file:
---
services:
updatenotifier:
image: gylfirst/updatenotifier:latest
container_name: updatenotifier
env_file:
- .env
# Set the paths to the data and logs directories
volumes:
- ./data:/app/data
- ./logs:/app/logs
restart: unless-stopped
Content type
Image
Digest
sha256:5ef2e5e2b…
Size
30.4 MB
Last updated
over 1 year ago
docker pull gylfirst/updatenotifier:v0.13