Move Teamarr to a dedicated compose directory/file

This commit is contained in:
Mike Wilson
2025-12-23 12:54:29 -05:00
parent 8ce0aecb4e
commit 9146d65be3
3 changed files with 42 additions and 14 deletions

View File

@@ -0,0 +1,20 @@
networks:
traefik:
external: true
services:
teamarr:
container_name: teamarr
image: ghcr.io/egyptiangio/teamarr:latest
restart: unless-stopped
networks:
- traefik
environment:
- "TZ={{ timezone }}"
volumes:
- "{{ data_dir }}/teamarr:/app/data"
labels:
traefik.enable: true
traefik.http.routers.teamarr.rule: "Host(`teamarr.local.{{ personal_domain }}`)"
traefik.http.routers.teamarr.middlewares: lan-whitelist@file
traefik.http.services.teamarr.loadbalancer.server.port: 9195