-
-
Save alejandromav/1d2215afa0beac346f79f346bd93644a to your computer and use it in GitHub Desktop.
Plex setup Docker Compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PUID=1000 | |
| PGID=1000 | |
| DOCKERUSERNAME=1000 | |
| DOCKERUSERGROUP=1000 | |
| MEDIADIR=/home/<username>/Media | |
| USERDIR=/home/<username> | |
| TZ=Europe/Madrid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.8' | |
| x-networks-proxy: &networks-proxy | |
| networks: | |
| - proxy | |
| x-environment: &environment | |
| environment: | |
| - TZ=$TZ | |
| - PUID=$PUID | |
| - PGID=$PGID | |
| - PLEX_CLAIM=claim-z3fkQVJW7gMMuhDE5iNo | |
| x-security: &security | |
| security_opt: | |
| - no-new-privileges:true | |
| services: | |
| plex: | |
| image: lscr.io/linuxserver/plex:latest | |
| container_name: plex | |
| restart: unless-stopped | |
| <<: [*networks-proxy, *environment] | |
| volumes: | |
| - ./config/plexdata/config:/config | |
| - ./config/transcode:/transcode | |
| - $MEDIADIR/media:/data/media | |
| ports: | |
| - "32400:32400/tcp" | |
| - "3005:3005/tcp" | |
| - "8324:8324/tcp" | |
| - "32469:32469/tcp" | |
| - "1900:1900/udp" | |
| - "32410:32410/udp" | |
| - "32412-32414:32412-32414/udp" | |
| # - "5353:5353/udp" | |
| devices: | |
| - /dev/dri:/dev/dri | |
| privileged: true | |
| pull_policy: always | |
| radarr: | |
| image: lscr.io/linuxserver/radarr:latest | |
| container_name: radarr | |
| restart: unless-stopped | |
| <<: [*networks-proxy, *environment] | |
| ports: | |
| - 7878:7878 | |
| volumes: | |
| - /etc/localtime:/etc/localtime:ro | |
| - ./config/radarr:/config | |
| - $MEDIADIR:/data | |
| pull_policy: always | |
| sonarr: | |
| image: lscr.io/linuxserver/sonarr:latest | |
| container_name: sonarr | |
| restart: unless-stopped | |
| <<: [*networks-proxy, *environment] | |
| ports: | |
| - 8989:8989 | |
| volumes: | |
| - /etc/localtime:/etc/localtime:ro | |
| - ./config/sonarr:/config | |
| - $MEDIADIR:/data | |
| pull_policy: always | |
| qbittorrent: | |
| image: lscr.io/linuxserver/qbittorrent:latest | |
| container_name: qbittorrent | |
| restart: unless-stopped | |
| <<: [*networks-proxy] | |
| volumes: | |
| - ./config/qbittorrent:/config | |
| - $MEDIADIR/torrents:/data/torrents | |
| ports: | |
| - 8080:8080 | |
| - 8090:8090 | |
| - 6881:6881 | |
| - 6881:6881/udp | |
| environment: | |
| - PUID=$PUID | |
| - PGID=$PUID | |
| - TZ=$TZ | |
| - WEBUI_PORT=8090 | |
| pull_policy: always | |
| prowlarr: | |
| image: lscr.io/linuxserver/prowlarr:latest | |
| container_name: prowlarr | |
| restart: unless-stopped | |
| <<: [*networks-proxy, *environment] | |
| volumes: | |
| - ./config/prowlarr/data:/config | |
| ports: | |
| - 9696:9696 | |
| networks: | |
| proxy: | |
| external: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment