Skip to content

Instantly share code, notes, and snippets.

@karlbaillie
Created November 24, 2017 16:30
Show Gist options
  • Save karlbaillie/ac8fe2c001b9707c8134bc9126625159 to your computer and use it in GitHub Desktop.
Save karlbaillie/ac8fe2c001b9707c8134bc9126625159 to your computer and use it in GitHub Desktop.
Media Server Setup
version: '2'
services:
unifi:
image: linuxserver/unifi
environment:
PUID: '1012'
GUID: '1012'
stdin_open: true
volumes:
- /storage/data/unifi:/config:rw
tty: true
ports:
- 192.168.20.15:8080:8080/tcp
- 192.168.20.15:8081:8081/tcp
- 192.168.20.15:8443:8443/tcp
- 192.168.20.15:8843:8843/tcp
- 192.168.20.15:8880:8880/tcp
mariadb:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: 'REDACTED'
stdin_open: true
volumes:
- /storage/data/mariadb/data:/var/lib/mysql
tty: true
ports:
- 3306:3306/tcp
watchtower:
image: v2tec/watchtower
stdin_open: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
tty: true
nextcloud:
image: linuxserver/nextcloud
environment:
PUID: '1002'
PGID: '1002'
stdin_open: true
volumes:
- /storage/data/nextcloud:/config
- /storage/nextcloud:/data
tty: true
ports:
- 192.168.20.12:443:443/tcp
rutorrent:
image: linuxserver/rutorrent
environment:
PGID: '1010'
PUID: '1010'
TZ: Europe/London
stdin_open: true
volumes:
- /storage/data/rutorrent:/config
- /storage/downloads/torrents:/downloads
tty: true
ports:
- 192.168.20.11:80:80/tcp
- 192.168.20.11:5000:5000/tcp
- 192.168.20.11:51413:51413/tcp
- 192.168.20.11:6881:6881/udp
sonarr:
image: linuxserver/sonarr
environment:
PGID: '1010'
PUID: '1010'
stdin_open: true
volumes:
- /dev/rtc:/dev/rtc:ro
- /storage/data/sonarr:/config
- /storage/media/tv:/tv
- /storage/downloads:/downloads
tty: true
links:
- sabnzbd:downloader
ports:
- 192.168.20.11:8989:8989/tcp
couchpotato:
image: linuxserver/couchpotato
environment:
PGID: '1010'
PUID: '1010'
TZ: Europe/London
stdin_open: true
volumes:
- /storage/data/couchpotato:/config
- /storage/downloads:/downloads
- /storage/media/movies:/movies
tty: true
links:
- sabnzbd:downloader
ports:
- 192.168.20.11:5050:5050/tcp
jenkins:
image: jenkins
stdin_open: true
volumes:
- /storage/data/jenkins:/var/jenkins_home
tty: true
ports:
- 192.168.20.13:8080:8080/tcp
- 192.168.20.13:50000:50000/tcp
user: '1003'
sabnzbd:
image: linuxserver/sabnzbd
environment:
PGID: '1010'
PUID: '1010'
TZ: Europe/London
stdin_open: true
volumes:
- /storage/data/sabnzbd:/config
- /storage/downloads:/downloads
- /storage/incomplete-downloads:/incomplete-downloads
tty: true
links:
- plex:media-server
ports:
- 192.168.20.11:8080:8080/tcp
- 192.168.20.11:9090:9090/tcp
plex:
privileged: true
image: linuxserver/plex
environment:
VERSION: latest
PUID: '1010'
PGID: '1010'
TZ: Europe/London
stdin_open: true
ports:
- 192.168.20.11:32400:32400/tcp
- 192.168.20.11:32400:32400/udp
- 192.168.20.11:32469:32469/tcp
- 192.168.20.11:32469:32469/udp
- 192.168.20.11:32410:32410/udp
- 192.168.20.11:32412:32412/udp
- 192.168.20.11:32413:32413/udp
- 192.168.20.11:32414:32414/udp
- 192.168.20.11:5353:5353/udp
- 192.168.20.11:1900:1900/udp
volumes:
- /storage/media/tv:/data/tv
- /storage/media/movies:/data/movies
- /storage/media/music:/data/music
- /storage/data/plex/config:/config
- /storage/data/plex/transcode:/transcode
tty: true
thelounge:
image: linuxserver/thelounge
environment:
PUID: '1009'
PGID: '1009'
TZ: Europe/London
stdin_open: true
volumes:
- /storage/data/thelounge:/config
tty: true
ports:
- 192.168.20.10:9000:9000/tcp
plexpy:
image: linuxserver/plexpy
environment:
PGID: '1010'
PUID: '1010'
stdin_open: true
volumes:
- /storage/data/plex/config/Library/Application Support/Plex Media Server/Logs:/logs:ro
- /storage/data/plexpy:/config
tty: true
ports:
- 192.168.20.11:8181:8181/tcp
smokeping:
image: linuxserver/smokeping
environment:
PGID: '1013'
PUID: '1013'
stdin_open: true
volumes:
- /storage/data/smokeping/data:/data:rw
- /storage/data/smokeping/config:/config:rw
tty: true
ports:
- 192.168.20.10:80:80/tcp
htpcmanager:
image: linuxserver/htpcmanager
environment:
PGID: '1010'
PUID: '1010'
stdin_open: true
volumes:
- /storage/data/htpcmanager/config:/config:rw
tty: true
ports:
- 192.168.20.11:8085:8085/tcp
home-assistant:
image: homeassistant/home-assistant
environment:
PGID: '1014'
PUID: '1014'
stdin_open: true
volumes:
- /storage/data/home-assistant/config:/config:rw
- /etc/localtime:/etc/localtime:ro
tty: true
ports:
- 192.168.20.14:8123:8123/tcp
nagios:
image: jasonrivers/nagios
environment:
PGID: '1015'
PUID: '1015'
stdin_open: true
volumes:
- /storage/data/nagios/etc:/opt/nagios/etc:rw
- /storage/data/nagios/var:/opt/nagios/var:rw
- /storage/data/nagios/plugins:/opt/Custom-Nagios-Plugins:rw
tty: true
ports:
- 192.168.20.16:80:80/tcp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment