Goatcounter & tdarr

This commit is contained in:
Brieuc Dubois 2024-01-20 22:55:27 +01:00
parent c33b51a170
commit 55207d51a2
3 changed files with 74 additions and 1 deletions

View File

@ -0,0 +1,33 @@
services:
goatcounter:
container_name: goatcounter
image: baethon/goatcounter:latest
restart: unless-stopped
volumes:
- $DATA/goatcounter:/goatcounter/db:rw
environment:
- GOATCOUNTER_DOMAIN=counter.bhasher.com
- GOATCOUNTER_EMAIL=counter.lan@bhasher.com
- GOATCOUNTER_PASSWORD=${GOATCOUNTER_PASSWORD}
labels:
- "traefik.enable=true"
- "traefik.http.routers.goatcounter.rule=Host(`counter.bhasher.com`)"
- "traefik.http.routers.goatcounter.service=goatcounter"
- "traefik.http.routers.goatcounter.entrypoints=internalsecure"
- "traefik.http.services.goatcounter.loadbalancer.server.port=8080"
- "traefik.http.routers.goatcounter.tls=true"
- "traefik.http.routers.goatcounter.tls.certresolver=http"
- "traefik.http.routers.goatcounter.middlewares=authelia@docker"
- "traefik.http.routers.goatc.rule=Host(`c.bhasher.com`)"
- "traefik.http.routers.goatc.service=goatc"
- "traefik.http.services.goatc.loadbalancer.server.port=8080"
- "traefik.http.routers.goatc.tls=true"
- "traefik.http.routers.goatc.tls.certresolver=http"
- "traefik.http.routers.goatc.entrypoints=internalsecure,externalsecure"
- "traefik.http.routers.goatc.middlewares=counter-strip@docker"
- "traefik.http.middlewares.counter-strip.addprefix.prefix=/count"
- "com.centurylinklabs.watchtower.enable=true"
networks:
- external

View File

@ -189,6 +189,46 @@ services:
- mediaserver
- external
tdarr:
container_name: tdarr
image: ghcr.io/haveagitgat/tdarr:latest
restart: unless-stopped
environment:
- TZ=Europe/Paris
- PUID=1000
- PGID=1000
#- UMASK_SET=002
#- serverIP=0.0.0.0
#- serverPort=8266
#- webUIPort=8265
- internalNode=true
- inContainer=true
#- ffmpegVersion=6
- nodeName=shp
#- NVIDIA_DRIVER_CAPABILITIES=all
#- NVIDIA_VISIBLE_DEVICES=all
volumes:
- $DATA/mediaserver/tdarr/server:/app/server
- $DATA/mediaserver/tdarr/configs:/app/configs
- $DATA/mediaserver/tdarr/logs:/app/logs
- /mnt/movies/movies:/media/moves
- /mnt/movies/series:/media/tv
- /tmp/tdarr:/temp
devices:
- /dev/dri:/dev/dri
labels:
- "traefik.enable=true"
- "traefik.http.routers.tdarr.rule=Host(`tdarr.bhasher.com`)"
- "traefik.http.services.tdarr.loadbalancer.server.port=8265"
- "traefik.http.routers.tdarr.tls=true"
- "traefik.http.routers.tdarr.tls.certresolver=http"
- "traefik.http.routers.tdarr.entrypoints=internalsecure"
- "traefik.http.routers.tdarr.middlewares=authelia@docker"
- "com.centurylinklabs.watchtower.enable=true"
networks:
#- mediaserver
- external
#sonarr_youtubedl:
# image: whatdaybob/sonarr_youtubedl:latest
# container_name: sonarr_youtubedl