Files
homelab/tasks/pocketid.yml
Alex Frantz 8c3835288c
All checks were successful
Deploy Containers / Prepare (push) Successful in 26s
migrate to pocketid v2
2026-01-10 18:12:48 -05:00

28 lines
782 B
YAML

---
- name: Deploy PocketID
include_role:
name: docker
vars:
name: pocketid
directories:
- "{{ data_dir }}/pocketid"
image:
name: ghcr.io/pocket-id/pocket-id
tag: v2
networks:
- name: homelab
volumes:
- "{{ data_dir }}/pocketid:/app/data"
env:
ENCRYPTION_KEY: "{{ POCKETID_ENCRYPTION_KEY }}"
APP_URL: "{{ POCKETID_APP_URL }}"
TRUST_PROXY: "{{ POCKETID_TRUST_PROXY }}"
PUID: "{{ PUID }}"
PGID: "{{ PGID }}"
labels:
traefik.enable: "true"
traefik.http.routers.oidc.rule: Host(`oidc.fntz.net`)
traefik.http.routers.oidc.entrypoints: webSecure
traefik.http.routers.oidc.tls.certresolver: letsencrypt
traefik.http.services.oidc.loadbalancer.server.port: "1411"