Move Teamarr to a dedicated compose directory/file
This commit is contained in:
20
ansible/roles/teamarr/templates/docker-compose.yml
Normal file
20
ansible/roles/teamarr/templates/docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user