Skip to content

Instantly share code, notes, and snippets.

@acb122
Created October 29, 2019 08:06
Show Gist options
  • Save acb122/d49e818f52ae5004973e12d0b9d7b4a7 to your computer and use it in GitHub Desktop.
Save acb122/d49e818f52ae5004973e12d0b9d7b4a7 to your computer and use it in GitHub Desktop.
Plex
version: "3.6"
services:
portainer:
image: portainer/portainer
container_name: portainer
restart: always
command: -H unix:///var/run/docker.sock
ports:
- "9900:9000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ${USERDIR}/docker/portainer/data:/data
- ${USERDIR}/docker/shared:/shared
environment:
- TZ=${TZ}
organizr:
container_name: organizr
restart: always
image: lsiocommunity/organizr
volumes:
- ${USERDIR}/docker/organizr:/config
- ${USERDIR}/docker/shared:/shared
ports:
- "9901:80"
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
mariadb:
image: "linuxserver/mariadb"
container_name: "mariadb"
hostname: mariadb
volumes:
- ${USERDIR}/docker/mariadb:/config
ports:
- target: 3306
published: 3306
protocol: tcp
mode: host
restart: always
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
phpmyadmin:
hostname: phpmyadmin
container_name: phpmyadmin
image: phpmyadmin/phpmyadmin
restart: always
links:
- mariadb:db
ports:
- 9902:80
environment:
- PMA_HOST=mariadb
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
watchtower:
container_name: watchtower
restart: always
image: v2tec/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --schedule "0 0 4 * * *" --cleanup
homeassistant:
container_name: homeassistant
restart: always
image: homeassistant/home-assistant
volumes:
- ${USERDIR}/docker/homeassistant:/config
- /etc/localtime:/etc/localtime:ro
- ${USERDIR}/docker/shared:/shared
ports:
- "9903:8123"
privileged: true
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
transmission-vpn:
container_name: transmission-vpn
image: haugene/transmission-openvpn
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
restart: always
ports:
- "9904:9091"
dns:
- 1.1.1.1
- 1.0.0.1
volumes:
- /etc/localtime:/etc/localtime:ro
- ${USERDIR}/docker/transmission-vpn:/data
- ${USERDIR}/docker/shared:/shared
- /data/Downloads:/data/watch
- /data/Downloads/completed:/data/completed
- /data/Downloads/incomplete:/data/incomplete
environment:
- OPENVPN_PROVIDER=
- OPENVPN_USERNAME=
- OPENVPN_PASSWORD=
- OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60
- LOCAL_NETWORK=10.0.0.0/24
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- WEBPROXY_ENABLED=false
- TRANSMISSION_RPC_AUTHENTICATION_REQUIRED=false
- TRANSMISSION_RPC_HOST_WHITELIST="10.0.0.4,*.*.*.*"
- TRANSMISSION_UMASK=002
- TRANSMISSION_RATIO_LIMIT=1.00
- TRANSMISSION_RATIO_LIMIT_ENABLED=true
sabnzbd:
image: "linuxserver/sabnzbd"
container_name: "sabnzbd"
volumes:
- ${USERDIR}/docker/sabnzbd:/config
- /data/Downloads/completed:/downloads
- /data/Downloads/incomplete:/incomplete-downloads
- ${USERDIR}/docker/shared:/shared
ports:
- "9905:8080"
restart: always
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
radarr:
image: "linuxserver/radarr"
container_name: "radarr"
volumes:
- ${USERDIR}/docker/radarr:/config
- /data/Downloads:/data
- /data/media/movies:/movies
- "/etc/localtime:/etc/localtime:ro"
- ${USERDIR}/docker/shared:/shared
ports:
- "9906:7878"
restart: always
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
sonarr:
image: "linuxserver/sonarr"
container_name: "sonarr"
volumes:
- ${USERDIR}/docker/sonarr:/config
- /data/Downloads:/data
- /data/media/tvshows:/tv
- "/etc/localtime:/etc/localtime:ro"
- ${USERDIR}/docker/shared:/shared
ports:
- "9907:8989"
restart: always
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
plexms:
container_name: plexms
restart: always
image: plexinc/pms-docker
volumes:
- ${USERDIR}/docker/plexms:/config
- /data/Downloads/plex_tmp:/transcode
- /data/media:/media
- ${USERDIR}/docker/shared:/shared
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=${TZ}
- HOSTNAME="Docker Plex"
- PLEX_CLAIM="claim-QAf-UuzCVMuDA71Wxv2a"
- PLEX_UID=${PUID}
- PLEX_GID=${PGID}
- ADVERTISE_IP="10.0.0.4:32400"
hydra2:
image: "linuxserver/hydra2"
container_name: "hydra2"
volumes:
- ${USERDIR}/docker/hydra:/config
- /data/Downloads:/downloads
- ${USERDIR}/docker/shared:/shared
ports:
- "9908:5075"
restart: always
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
jackett:
image: "linuxserver/jackett"
container_name: "jackett"
volumes:
- ${USERDIR}/docker/jackett:/config
- /data/Downloads/completed:/downloads
- "/etc/localtime:/etc/localtime:ro"
- ${USERDIR}/docker/shared:/shared
ports:
- "9909:9117"
restart: always
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment