Files
homelab/tasks/drop.yml
Alex Frantz c92d2e0e40
All checks were successful
Deploy Containers / Prepare (push) Successful in 54s
move postgres services to global postgres
2025-12-26 20:25:55 -05:00

28 lines
814 B
YAML

---
- name: Deploy Drop
include_role:
name: docker
vars:
name: drop
directories:
- "{{ data_dir }}/drop/app"
image:
name: ghcr.io/drop-oss/drop
tag: latest
networks:
- name: homelab
- name: drop
volumes:
- "{{ media_path }}/Games/Desktop:/library"
- "{{ data_dir }}/drop/app:/data"
env:
DATABASE_URL: "postgres://drop:drop@172.16.0.25:5432/drop"
GIANT_BOMB_API_KEY: "{{ DROP_GIANT_BOMB_API_KEY }}"
EXTERNAL_URL: "https://games.fntz.net"
labels:
traefik.enable: "true"
traefik.http.routers.drop.rule: Host(`games.fntz.net`)
traefik.http.routers.drop.entrypoints: webSecure
traefik.http.routers.drop.tls.certresolver: letsencrypt
traefik.http.services.drop.loadbalancer.server.port: "3000"