Files
homelab/tasks/plexwebhook.yml
Alex Frantz 3a029d200a
All checks were successful
Deploy Containers / Prepare (push) Successful in 15s
add hostname to plex webhook
2026-04-09 15:58:54 -04:00

21 lines
759 B
YAML

- name: Deploy Plex Webhook
include_role:
name: docker
vars:
name: plex-webhook
image:
name: git.alexav.gg/alex/plex-webhook
tag: latest
networks:
- name: homelab
env:
DISCORD_WEBHOOK: "{{ PLEX_WEBHOOK_DISCORD_WEBHOOK }}"
APPLICATION_TOKEN: "{{ PLEX_WEBHOOK_APPLICATION_TOKEN }}"
PLEX_TOKEN: "{{ PLEX_WEBHOOK_PLEX_TOKEN }}"
STORAGE_TOKEN: "{{ PLEX_WEBHOOK_STORAGE_TOKEN }}"
labels:
traefik.enable: "true"
traefik.http.routers.plexwebhook.rule: Host(`plex-webhook.fntz.net`)
traefik.http.routers.plexwebhook.entrypoints: webSecure
traefik.http.routers.plexwebhook.tls.certresolver: letsencrypt
traefik.http.services.plexwebhook.loadbalancer.server.port: "3000"