Files
homelab/tasks/glance.yml
T
alex 5153470a98
Deploy Containers / Prepare (push) Successful in 17s
add immich api key
2026-04-24 16:18:30 -04:00

33 lines
1.1 KiB
YAML

---
- name: Deploy Glance
include_role:
name: docker
vars:
name: glance
image:
name: glanceapp/glance
tag: latest
directories:
- "{{ data_dir }}/glance"
- "{{ data_dir }}/glance/config"
- "{{ data_dir }}/glance/assets"
networks:
- name: homelab
env:
ADGUARD_USERNAME: "{{ GLANCE_ADGUARD_USERNAME }}"
ADGUARD_PASSWORD: "{{ GLANCE_ADGUARD_PASSWORD }}"
VIDEO_MACHINE: "{{ GLANCE_VIDEO_MACHINE }}"
STEAM_API_KEY: "{{ GLANCE_STEAM_API_KEY }}"
NOW_PLAYING_VAL: "{{ GLANCE_NOW_PLAYING_VAL }}"
IMMICH_KEY: "{{ GLANCE_IMMICH_API_KEY }}"
volumes:
- "{{ data_dir }}/glance/config:/app/config"
- "{{ data_dir }}/glance/assets:/app/assets"
- "/var/run/docker.sock:/var/run/docker.sock:ro"
labels:
traefik.enable: "true"
traefik.http.routers.glance.rule: Host(`fntz.net`)
traefik.http.routers.glance.entrypoints: webSecure
traefik.http.routers.glance.tls.certresolver: letsencrypt
traefik.http.services.glance.loadbalancer.server.port: "8080"