Agregando sonarr al stack
This commit is contained in:
4
stacks/sonarr/.env.example
Normal file
4
stacks/sonarr/.env.example
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
CONFIG_DIR="./config"
|
||||||
|
MEDIA_ANIME="./media/anime"
|
||||||
|
MEDIA_TV="./media/anime"
|
||||||
|
MEDIA_DOWNLOADS="./media/downloads"
|
||||||
19
stacks/sonarr/compose.traefik.yml
Normal file
19
stacks/sonarr/compose.traefik.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
services:
|
||||||
|
sonarr:
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.docker.network=traefik"
|
||||||
|
- "traefik.http.routers.sonarr-web.rule=Host(`sonarr.skrd.fun`)"
|
||||||
|
- "traefik.http.routers.sonarr-web.entrypoints=web"
|
||||||
|
- "traefik.http.routers.sonarr-web.middlewares=redirect-to-https@file"
|
||||||
|
- "traefik.http.routers.sonarr.rule=Host(`sonarr.skrd.fun`)"
|
||||||
|
- "traefik.http.routers.sonarr.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.sonarr.tls.certresolver=cf"
|
||||||
|
- "traefik.http.services.sonarr.loadbalancer.server.port=8080"
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
name: traefik
|
||||||
|
external: true
|
||||||
13
stacks/sonarr/compose.yml
Normal file
13
stacks/sonarr/compose.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
services:
|
||||||
|
sonarr:
|
||||||
|
image: ghcr.io/hotio/sonarr:release-4.0.16.2944
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- UMASK=002
|
||||||
|
- TZ=America/Santiago
|
||||||
|
volumes:
|
||||||
|
- ${CONFIG_DIR}:/config
|
||||||
|
- ${MEDIA_ANIME}:/data/anime
|
||||||
|
- ${MEDIA_TV}:/data/tv
|
||||||
|
- ${MEDIA_DOWNLOADS}:/data/downloads
|
||||||
Reference in New Issue
Block a user