feat: add Trailarr service configuration with Traefik routing and media volume mappings
This commit is contained in:
parent
475c18c99d
commit
9beaa5481a
27
nodes/heimdall/trailarr/compose.yaml
Normal file
27
nodes/heimdall/trailarr/compose.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
services:
|
||||
trailarr:
|
||||
image: nandyalu/trailarr:latest
|
||||
container_name: trailarr
|
||||
environment:
|
||||
- TZ=America/New_York # Change to your timezone
|
||||
# Add any other environment variables as needed.
|
||||
volumes:
|
||||
- /mnt/appdata/trailarr/config:/config # For Trailarr's database and logs
|
||||
# Map your Radarr media folder(s)
|
||||
- /mnt/media/movies:/media/movies # Example: if Radarr uses /media/movies internally
|
||||
# Map your Sonarr media folder(s)
|
||||
- /mnt/media/tvshows:/media/tv # Example: if Sonarr uses /media/tv internally
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- proxy-net
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.trailarr.entrypoints=websecure"
|
||||
- "traefik.http.routers.trailarr.rule=Host(`trailarr.castaldifamily.com`)"
|
||||
- "traefik.http.routers.trailarr.tls=true"
|
||||
- "traefik.http.routers.trailarr.tls.certresolver=cloudflare"
|
||||
- "traefik.http.services.trailarr.loadbalancer.server.port=7889"
|
||||
|
||||
networks:
|
||||
proxy-net:
|
||||
external: true
|
||||
Loading…
x
Reference in New Issue
Block a user