Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.8'
- services:
- bazarr:
- # docker compose -f ./docker_compose.yaml up -d bazarr
- image: lscr.io/linuxserver/bazarr:latest
- container_name: bazarr
- environment:
- - PUID=${USER_ID}
- - PGID=${GROUP_ID}
- - TZ=${TIME_ZONE}
- volumes:
- - ${CONFIG_FOLDER}/bazarr:/config
- - ${MOVIES_FOLDER}:/movies #optional
- - ${SERIES_FOLDER}:/tv #optional
- ports:
- - 6767:6767
- restart: unless-stopped
- jellyfin:
- # docker compose -f ./docker_compose.yaml up -d jellyfin
- image: lscr.io/linuxserver/jellyfin:latest
- container_name: jellyfin
- environment:
- - PUID=${USER_ID}
- - PGID=${GROUP_ID}
- - TZ=${TIME_ZONE}
- - JELLYFIN_PublishedServerUrl=${SERVER_IP_ADDRESS}
- volumes:
- - ${CONFIG_FOLDER}/jellyfin:/config
- - ${DATA_FOLDER}/jellyfin/data/metadata:/config/data/metadata
- - ${TEMP_FOLDER}/jellyfin/cache:/config/cache
- - ${TEMP_FOLDER}/jellyfin/transcodes:/config/data/transcodes
- - ${SERIES_FOLDER}:/data/tvshows
- - ${MOVIES_FOLDER}:/data/movies
- - ${MOVIES_KIDS_FOLDER}:/data/movies_kids
- ports:
- - 8096:8096
- - 8920:8920
- - 7359:7359/udp
- - 1901:1900/udp
- restart: unless-stopped
- plex:
- # docker compose -f ./docker_compose.yaml up -d plex
- image: plexinc/pms-docker
- container_name: plex
- restart: unless-stopped
- ports:
- - 32400:32400/tcp
- - 3005:3005/tcp
- - 8324:8324/tcp
- - 32469:32469/tcp
- - 1900:1900/udp
- - 32410:32410/udp
- - 32412:32412/udp
- - 32413:32413/udp
- - 32414:32414/udp
- environment:
- - TZ=${TIME_ZONE}
- - PLEX_CLAIM=${PLEX_CLAIM}
- - ADVERTISE_IP=${PLEX_ADVERTISE_IP}
- - PLEX_UID=${USER_ID}
- - PLEX_GID=${GROUP_ID}
- hostname: PlexMediaServer
- volumes:
- - ${CONFIG_FOLDER}/plex:/config
- - ${DATA_FOLDER}/plex/metadata:/config/Library/Application Support/Plex Media Server/Metadata
- - ${TEMP_FOLDER}/plex/cache:/config/Library/Application Support/Plex Media Server/Cache
- - ${TEMP_FOLDER}/plex/transcode:/transcode
- - ${MEDIA_FOLDER}:/data
- prowlarr:
- # docker compose -f ./docker_compose.yaml up -d prowlarr
- image: lscr.io/linuxserver/prowlarr:latest
- container_name: prowlarr
- restart: unless-stopped
- volumes:
- - ${CONFIG_FOLDER}/prowlarr:/config
- ports:
- - 9696:9696
- environment:
- - TZ=${TIME_ZONE}
- radarr:
- # docker compose -f ./docker_compose.yaml up -d radarr
- image: lscr.io/linuxserver/radarr:latest
- container_name: radarr
- environment:
- - PUID=${USER_ID}
- - PGID=${GROUP_ID}
- - TZ=${TIME_ZONE}
- volumes:
- - ${CONFIG_FOLDER}/radarr:/config
- - ${MOVIES_FOLDER}:/movies
- - ${DOWNLOADS_FOLDER}/transmission:/downloads
- ports:
- - 7878:7878
- restart: unless-stopped
- socket-proxy:
- container_name: socket-proxy
- image: tecnativa/docker-socket-proxy
- restart: always
- # networks:
- # - socket_proxy
- # privileged: true # true for VM. False for unprivileged LXC container.
- ports:
- # - "127.0.0.1:2375:2375" # Port 2375 should only ever get exposed to the internal network. When possible use this line.
- # I use the next line instead, as I want portainer to manage multiple docker endpoints within my home network.
- - "2375:2375"
- volumes:
- - "/var/run/docker.sock:/var/run/docker.sock:ro"
- environment:
- - LOG_LEVEL=info # debug,info,notice,warning,err,crit,alert,emerg
- ## Variables match the URL prefix (i.e. AUTH blocks access to /auth/* parts of the API, etc.).
- # 0 to revoke access.
- # 1 to grant access.
- ## Granted by Default
- - EVENTS=1
- - PING=1
- - VERSION=1
- ## Revoked by Default
- # Security critical
- - AUTH=0
- - SECRETS=0
- - POST=1 # Watchtower
- # Not always needed
- - BUILD=0
- - COMMIT=0
- - CONFIGS=0
- - CONTAINERS=1 # Traefik, portainer, etc.
- - DISTRIBUTION=0
- - EXEC=0
- - IMAGES=1 # Portainer
- - INFO=1 # Portainer
- - NETWORKS=1 # Portainer
- - NODES=0
- - PLUGINS=0
- - SERVICES=1 # Portainer
- - SESSION=0
- - SWARM=0
- - SYSTEM=0
- - TASKS=1 # Portainer
- - VOLUMES=1 # Portainer
- sonarr:
- # docker compose -f ./docker_compose.yaml up -d sonarr
- image: lscr.io/linuxserver/sonarr:latest
- container_name: sonarr
- environment:
- - PUID=${USER_ID}
- - PGID=${GROUP_ID}
- - TZ=${TIME_ZONE}
- volumes:
- - ${CONFIG_FOLDER}/sonarr:/config
- - ${SERIES_FOLDER}:/tv
- - ${DOWNLOADS_FOLDER}/transmission:/downloads
- ports:
- - 8989:8989
- restart: unless-stopped
- tautulli:
- # docker compose -f ./docker_compose.yaml up -d tautulli
- # https://github.com/1activegeek/nginx-config-collection/blob/master/apps/tautulli/tautulli.md
- image: ghcr.io/tautulli/tautulli
- container_name: tautulli
- restart: unless-stopped
- volumes:
- - ${CONFIG_FOLDER}/tautulli:/config
- environment:
- - PUID=1000
- - PGID=1000
- - TZ=${TIME_ZONE}
- ports:
- - 8181:8181
- transmission:
- # docker compose -f ./docker_compose.yaml up -d transmission
- # image: lscr.io/linuxserver/transmission:latest
- image: lscr.io/linuxserver/transmission:version-3.00-r8
- container_name: transmission
- environment:
- - PUID=${USER_ID}
- - PGID=${GROUP_ID}
- - TZ=${TIME_ZONE}
- - TRANSMISSION_WEB_HOME=/transmissionic/
- volumes:
- - ${CONFIG_FOLDER}/transmission/data:/config
- - ${DOWNLOADS_FOLDER}/transmission/watch:/watch
- - ${DOWNLOADS_FOLDER}/transmission:/downloads
- ports:
- - 9091:9091
- - 51413:51413
- - 51413:51413/udp
- restart: unless-stopped
- watchtower:
- # docker compose -f ./docker_compose.yaml up -d watchtower
- container_name: watchtower
- image: containrrr/watchtower
- volumes:
- - /var/run/docker.sock:/var/run/docker.sock
- command: --debug --cleanup --schedule "0 0 21 * * *"
- restart: unless-stopped
- environment:
- TZ: ${TIME_ZONE}
- WATCHTOWER_NO_STARTUP_MESSAGE: true
- WATCHTOWER_NOTIFICATIONS_HOSTNAME: "MediaServer"
- WATCHTOWER_NOTIFICATION_REPORT: "true"
- WATCHTOWER_NOTIFICATION_URL: ${TELEGRAM_URL}
- WATCHTOWER_NOTIFICATION_TEMPLATE: |
- {{- if .Report -}}
- {{- with .Report -}}
- {{len .Scanned}} Scanned, {{len .Updated}} Updated, {{len .Failed}} Failed
- {{- range .Updated}}
- - {{.Name}}: {{.CurrentImageID.ShortID}} updated to {{.LatestImageID.ShortID}}
- {{- end -}}
- {{- range .Fresh}}
- - {{.Name}}: {{.State}}
- {{- end -}}
- {{- range .Skipped}}
- - {{.Name}}: {{.State}}: {{.Error}}
- {{- end -}}
- {{- range .Failed}}
- - {{.Name}}: {{.State}}: {{.Error}}
- {{- end -}}
- {{- end -}}
- {{- else -}}
- {{range .Entries -}}{{.Message}}{{"\n"}}{{- end -}}
- {{- end -}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement