No description
  • Python 84.7%
  • Dockerfile 15.3%
Find a file
Tristan 535ecbe1aa
All checks were successful
Build & Push Docker / docker (push) Successful in 55s
small changes in dockerfile
2026-01-08 23:58:40 +01:00
.forgejo/workflows action updated 2026-01-07 13:16:36 +00:00
app removes asyncio and uses threadpoolexecutor. fixes smaller glitches 2026-01-08 23:57:59 +01:00
docker small changes in dockerfile 2026-01-08 23:58:40 +01:00
.env.sample removes asyncio and uses threadpoolexecutor. fixes smaller glitches 2026-01-08 23:57:59 +01:00
.gitignore restructured repository, ci/cd added to build a docker container 2026-01-07 12:56:06 +00:00
notify-webhook.service update service file 2026-01-08 12:17:53 +01:00
README.md add readme 2026-01-07 16:02:18 +00:00

xmpp-webhook

This is a simple webhook to send xmpp messages via an webhook.

Publishing & usage

The docker image is automatically published on push.

docker pull git.fucktheforce.de/tristan/xmpp-webhook:latest

Docker parameters

Exposed Port: 5000

Volumes:

  • /app/.env
  • /app/logs

Configuration

The sender and receipient configuration is identified by an API-Key. The configuration is done via .env.

Env-Variable Description
ACCOUNT{NUM}_APIKEY The API-Key
ACCOUNT{NUM}_JID Sender JID
ACCOUNT{NUM}_PASS Password of sender JID
ACCOUNT{NUM}_RECEIPIENT Receipient JID - the address the notification to send to

Server Configuration

Env-Variable Description Default
LOG_FILE the log file to log to, used from python app logs/webhook.log
LOG_MAX_BYTES the maximum size of the log file, used from python app 10**6
LOG_BACKUP_COUNT the maximum number of files to keep, used from python app 5

Server Configuration (for systemd-usage)

Env-Variable Description Default
HOST the port to use to expose the service 0.0.0.0
PORT the port to use to expose the service 5000