From fcd95ed9640cd8a1b8fcfaab3192c698df18c366 Mon Sep 17 00:00:00 2001 From: BhasherBEL Date: Fri, 26 Jan 2024 11:21:20 +0100 Subject: [PATCH] Mediaserver update --- bxl-shp/apps/docker-compose.mediaserver.yaml | 47 ++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/bxl-shp/apps/docker-compose.mediaserver.yaml b/bxl-shp/apps/docker-compose.mediaserver.yaml index f6843e5..9bbb6e1 100644 --- a/bxl-shp/apps/docker-compose.mediaserver.yaml +++ b/bxl-shp/apps/docker-compose.mediaserver.yaml @@ -229,6 +229,53 @@ services: #- mediaserver - external + movary: + container_name: movary + image: leepeuker/movary:latest + restart: unless-stopped + environment: + - TZ=Europe/Paris + #- PUID=1000 + #- PGID=1000 + - TMDB_API_KEY=${TMDB_API_KEY} + - DATABASE_MODE=mysql + - DATABASE_MYSQL_HOST=movary-db + - DATABASE_MYSQL_NAME=movary + - DATABASE_MYSQL_USER=movary + - DATABASE_MYSQL_PASSWORD=${MARIADB_ROOT} + - TMDB_ENABLE_IMAGE_CACHING=1 + - APPLICATION_URL=http://movary + - JELLYFIN_DEVICE_ID=+y7tuKY2mhGFchizNYpII7Hb4Isz5r6t/Y46agVvoJs= + volumes: + - $DATA/mediaserver/movary/app:/app/storage:rw + labels: + - "traefik.enable=true" + - "traefik.http.routers.movary.rule=Host(`movary.bhasher.com`)" + - "traefik.http.services.movary.loadbalancer.server.port=80" + - "traefik.http.routers.movary.tls=true" + - "traefik.http.routers.movary.tls.certresolver=http" + - "traefik.http.routers.movary.entrypoints=internalsecure" + - "traefik.http.routers.movary.middlewares=authelia@docker" + - "com.centurylinklabs.watchtower.enable=true" + depends_on: + - movary-db + networks: + - mediaserver + - external + + movary-db: + container_name: movary-db + image: mysql:8 + environment: + - MYSQL_DATABASE=movary + - MYSQL_USER=movary + - MYSQL_PASSWORD=${MARIADB_ROOT} + - MYSQL_ROOT_PASSWORD=${MARIADB_ROOT} + volumes: + - $DATA/mediaserver/movary/db:/var/lib/mysql + networks: + - mediaserver + #sonarr_youtubedl: # image: whatdaybob/sonarr_youtubedl:latest # container_name: sonarr_youtubedl