pywebfinger/README.md
2024-05-06 11:47:50 +00:00

983 B

PyWebfinger

A Python webserver that loosely implements the Webfinger spec RFC7033.

Shamelessly stolen from this Authentik GitHub issue while I wait for Authentik to provide something themselves. Some small modifications were made to make it configurable using environment variables.

A healtcheck endpoint was also added to ensure everything is running smoothly.

Running

Docker CLI

docker run -d --name pywebfinger \
    -e ISSUER_URL=https://auth.example.com/application/o/example/
    -p 8000:8000
    git.mrmeeb.stream/mrmeeb/pywebfinger:latest

Docker Compose

services:
  pywebfinger:
    image: git.mrmeeb.stream/pywebfinger:latest
    container_name: pywebfinger
    restart: unless-stopped
    ports:
      - 8000:8000
    environment:
      - ISSUER_URL=https://auth.example.com/application/o/example/