Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
DB Tech Media Server Setup
---
version: "2"
services:
emby:
image: linuxserver/emby
container_name: emby
environment:
- PUID=998
- PGID=100
- TZ=America/Denver
- UMASK_SET=022 #optional
volumes:
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/Configs/Emby:/config
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/TV:/data/tvshows
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/Movies:/data/movies
ports:
- 8096:8096
- 8920:8920 #optional for secure connections
restart: unless-stopped
embystat:
image: ghcr.io/linuxserver/embystat
container_name: embystat
environment:
- PUID=998
- PGID=100
- TZ=America/Denver
volumes:
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/Configs/EmbyStat:/config
ports:
- 6555:6555
restart: unless-stopped
jackett:
image: linuxserver/jackett
container_name: jackett
environment:
- PUID=998
- PGID=100
- TZ=America/Denver
volumes:
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/Configs/Jackett:/config
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/Torrents:/downloads
ports:
- 9117:9117
restart: unless-stopped
organizr:
container_name: organizr
hostname: organizr
image: organizr/organizr
restart: unless-stopped
ports:
- 90:80
volumes:
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/Configs/Organizr:/config
environment:
- fpm=true #true or false | using true will provide better performance
- branch=v2-master #v2-master or #v2-develop
- PUID=998
- PGID=100
- TZ=America/Denver
qbittorrentvpn:
image: markusmcnugen/qbittorrentvpn
container_name: qbittorrentvpn
privileged: true
environment:
- VPN_USERNAME=username
- VPN_PASSWORD=password
- PUID=998
- PGID=100
- WEBUI_PORT_ENV=8080
- INCOMING_PORT_ENV=8999
- VPN_ENABLED=yes
- LAN_NETWORK=192.168.68.0/24 #adjust this to YOUR network settings
- NAME_SERVERS=1.1.1.1,1.0.0.1 #you can use whatever DNS provider you want
ports:
- 8080:8080
- 8999:8999
- 8999:8999/udp
volumes:
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/Configs/QBittorrentVPN:/config
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/Torrents:/downloads
- /etc/timezone:/etc/timezone:ro #This is for TimeZone
restart: unless-stopped
radarr:
image: linuxserver/radarr
container_name: radarr
environment:
- PUID=998
- PGID=100
- TZ=America/Denver
- UMASK_SET=022 #optional
volumes:
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/Configs/Radarr:/config
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/Movies:/movies
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/Torrents:/downloads
ports:
- 7878:7878
restart: unless-stopped
sabnzbd:
image: ghcr.io/linuxserver/sabnzbd
container_name: sabnzbd
environment:
- PUID=998
- PGID=100
- TZ=America/Denver
volumes:
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/Configs/Sabnzbd:/config
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/Downloads:/downloads
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/Downloads/Incomplete:/incomplete-downloads #optional
ports:
- 8181:8080
- 9191:9090
restart: unless-stopped
sonarr:
image: linuxserver/sonarr
container_name: sonarr
environment:
- PUID=998
- PGID=100
- TZ=America/Denver
- UMASK_SET=022
volumes:
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/Configs/Sonarr:/config
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/TV:/tv
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/Torrents:/downloads
ports:
- 8989:8989
restart: unless-stopped
## System Monitoring
prometheus:
image: prom/prometheus
container_name: prometheus
environment:
- PUID=998
- PGID=100
- TZ=America/Denver
- UMASK_SET=022
volumes:
- /srv/dev-disk-by-uuid-0d4a201c-b292-412d-ade6-cc5561e54f1f/Configs/Prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- 9292:9090
restart: unless-stopped
node-exporter:
image: quay.io/prometheus/node-exporter:latest
container_name: node-exporter
network_mode: host
environment:
- PUID=998
- PGID=100
- TZ=America/Denver
- UMASK_SET=022
volumes:
- /:/host:ro,rslave
ports:
- 9100:9090
restart: unless-stopped
grafana:
image: grafana/grafana
container_name: grafana
environment:
- PUID=998
- PGID=100
- TZ=America/Denver
- UMASK_SET=022
ports:
- 3000:3000
restart: unless-stopped
@minicoz
Copy link

minicoz commented Jan 16, 2022

Thanks a ton! I got this working on my raspberry pi4 by changing a few volume mounts here and qbittorentvpn image for ARM here:
https://github.com/minicoz/pi4MediaServer

@okynnor
Copy link

okynnor commented Sep 13, 2022

Do you have some options on why I'm not able to set and to write to any of my samba mounted drives. These smb mounts are mounted to my raspberry pi 4 host. The mounts on the host have r/w/x access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment