Last active
January 26, 2022 06:11
-
-
Save ilude/dea127068522b40a123f0657cb5c681e to your computer and use it in GitHub Desktop.
Plex Server and associated services
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
cloudflare-ddns: | |
image: oznu/cloudflare-ddns:latest # change 'latest' to 'armhf' or 'aarch64' if running on an arm device | |
restart: unless-stopped | |
environment: | |
- EMAIL=<cloudflare_account_email> | |
- API_KEY=<cloudflare_account_api_token> | |
- ZONE=<cloudflare_domain> | |
- SUBDOMAIN=<hostname> | |
- PROXIED=false |
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: '2.4' | |
services: | |
plex: | |
image: linuxserver/plex | |
container_name: plex | |
restart: unless-stopped | |
network_mode: host | |
#ports: | |
# - 32400:32400 | |
environment: | |
- PUID=${PUID} | |
- PGID=${PGID} | |
- TZ=${TZ} | |
- VERSION=docker | |
- UMASK_SET=022 #optional | |
volumes: | |
- ./data/plex/config:/config | |
- ./data/plex/media/tv:/tv | |
- ./data/plex/media/movies:/movies | |
devices: | |
- /dev/dri:/dev/dri # pass in intel quicksync cpu encoder | |
sonarr: | |
image: linuxserver/sonarr | |
restart: unless-stopped | |
container_name: sonarr | |
ports: | |
- 8989:8989 | |
volumes: | |
- /dev/rtc:/dev/rtc:ro | |
- /etc/localtime:/etc/localtime:ro | |
- ./data/plex/media/tv:/tv | |
- ./data/sonarr/config:/config | |
- ./data/downloads:/downloads | |
- ./data/recycle:/recycle | |
environment: | |
- PUID=${PUID} | |
- PGID=${PGID} | |
- TZ=${TZ} | |
radarr: | |
image: linuxserver/radarr | |
restart: unless-stopped | |
container_name: radarr | |
ports: | |
- 7878:7878 | |
volumes: | |
- /dev/rtc:/dev/rtc:ro | |
- /etc/localtime:/etc/localtime:ro | |
- ./data/plex/media/movies:/movies | |
- ./data/radarr/config:/config | |
- ./data/downloads:/downloads | |
- ./data/recycle:/recycle | |
environment: | |
- PUID=${PUID} | |
- PGID=${PGID} | |
- TZ=${TZ} | |
sabnzbd: | |
image: linuxserver/sabnzbd | |
restart: unless-stopped | |
container_name: sabnzbd | |
ports: | |
- 8080:8080 | |
volumes: | |
- /dev/rtc:/dev/rtc:ro | |
- /etc/localtime:/etc/localtime:ro | |
- ./data/sabnzbd/config:/config | |
- ./data/working:/working | |
- ./data/downloads:/downloads | |
- ./data/incomplete:/incomplete-downloads | |
environment: | |
- PUID=${PUID} | |
- PGID=${PGID} | |
- TZ=${TZ} | |
samba: | |
image: dperson/samba | |
container_name: samba | |
ports: | |
- 137:137/udp | |
- 138:138/udp | |
- 139:139/tcp | |
- 445:445/tcp | |
restart: unless-stopped | |
environment: | |
- TZ=${TZ} | |
- PUID=${PUID} | |
- PGID=${PGID} | |
- WORKGROUP=workgroup | |
- USER=${USER};set_the_password_stupid | |
- NMBD=True | |
- RECYCLE=false | |
- SHARE=data;/data;yes;no;no;${USER};${USER};;Data | |
volumes: | |
- ./data:/data | |
avahi: | |
image: ghcr.io/mattkobayashi/docker-avahi:latest | |
container_name: avahi | |
restart: unless-stopped | |
network_mode: host | |
environment: | |
SERVER_HOST_NAME: 'your_server_name' | |
SERVER_DOMAIN_NAME: 'local' | |
volumes: | |
- /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket | |
watchtower: | |
image: containrrr/watchtower | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock |
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
nzbhydra2: | |
image: ghcr.io/linuxserver/nzbhydra2 | |
container_name: nzbhydra2 | |
environment: | |
- PUID=${PUID} | |
- PGID=${PGID} | |
- TZ=${TZ} | |
volumes: | |
- ./data/nzbhydra2/config:/config | |
- ./data/downloads:/downloads | |
ports: | |
- 5076:5076 | |
restart: unless-stopped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment