Skip to content

Instantly share code, notes, and snippets.

@thewinger
Last active June 23, 2023 11:06
Show Gist options
  • Save thewinger/e7c099ec4de17731d16565d3f4d7b8cf to your computer and use it in GitHub Desktop.
Save thewinger/e7c099ec4de17731d16565d3f4d7b8cf to your computer and use it in GitHub Desktop.
########################### NETWORKS
# You may customize the network subnet (192.168.89.0/24) below as you please.
# Docker Compose version 3.5 or higher required to define networks this way.
networks:
default:
driver: bridge
services:
# portainer - webui for containers
portainer:
container_name: portainer
image: portainer/portainer-ce:latest
restart: unless-stopped
security_opt:
- no-new-privileges:true
ports:
- "9000:9000"
volumes:
# - /var/run/docker.sock:/var/run/docker.sock:ro
- $DOCKERDIR/portainer/data:/data
- $DOCKERDIR/shared:/shared
environment:
- TZ=$TZ
- PUID=$PUID
- PGID=$PGID
# Radarr - Movie management
radarr:
# image: aront/radarr #for mp4_automator support
image: linuxserver/radarr:latest
container_name: radarr
restart: unless-stopped
security_opt:
- no-new-privileges:true
ports:
- "7878:7878"
volumes:
- "/etc/localtime:/etc/localtime:ro"
- $DOCKERDIR/radarr:/config
- $MEDIADIR:/media
- $DOWNLOADDIR:/downloads
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TZ
# Sonarr - TV Shows management
# Set url_base in sonarr settings if using PathPrefix
sonarr:
image: linuxserver/sonarr:latest
container_name: sonarr
restart: unless-stopped
security_opt:
- no-new-privileges:true
ports:
- "8989:8989"
volumes:
- "/etc/localtime:/etc/localtime:ro"
- $DOCKERDIR/sonarr:/config
- $MEDIADIR:/media
- $DOWNLOADDIR:/downloads
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TZ
# Bazarr - Subtitle Management
bazarr:
image: linuxserver/bazarr:latest
container_name: bazarr
restart: unless-stopped
security_opt:
- no-new-privileges:true
ports:
- "6767:6767"
volumes:
- $DOCKERDIR/bazarr:/config
- $MEDIADIR:/media
environment:
PUID: $PUID
PGID: $PGID
TZ: $TZ
# Prowlarr - Torrent proxy
prowlarr:
image: ghcr.io/linuxserver/prowlarr:develop
container_name: prowlarr
restart: unless-stopped
security_opt:
- no-new-privileges:true
ports:
- "9696:9696"
volumes:
- $DOCKERDIR/prowlarr:/config
- $DOWNLOADDIR:/downloads
- "/etc/localtime:/etc/localtime:ro"
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TZ
# qBittorrent - Torrent downloader
qbittorrent:
image: linuxserver/qbittorrent:latest
container_name: qbittorrent
restart: unless-restart
security_opt:
- no-new-privileges:true
volumes:
- $DOCKERDIR/qbittorrent:/config
- $DOWNLOADDIR:/downloads
environment:
PUID: $PUID
PGID: $PGID
TZ: $TZ
UMASK_SET: 002
WEBUI_PORT: 8168
# Plex - Media Server
plexms:
image: plexinc/pms-docker:latest
container_name: plexms
restart: unless-stopped
security_opt:
- no-new-privileges:true
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"
volumes:
- $DOCKERDIR/plexms:/config
- $DOWNLOADDIR:/downloads
- $MEDIADIR:/media
environment:
- TZ=$TZ
- HOSTNAME=PlexServer
- PLEX_CLAIM=$PLEX_CLAIM
- PLEX_UID=$PUID
- PLEX_GID=$PGID
- ADVERTISE_IP=http://192.168.0.200:32400/
- ALLOWED_NETWORKS=192.168.0.0/24
filebrowser:
image: filebrowser/filebrowser
container_name: filebrowser
restart: unless-stopped
volumes:
- $MEDIADIR:/srv
- $DOCKERDIR/filebrowser/filebrowser.db:/database/filebrowser.db
- $DOCKERDIR/filebrowser/filebrowser.json:/filebrowser.json
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TZ
- FB_CONFIG=/filebrowser.json
- FB_DATABASE=/database/filebrowser.db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment