Skip to content

Instantly share code, notes, and snippets.

@heywoodlh
Created November 24, 2022 03:21
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
#!/usr/bin/env bash
media_dir="/Volumes/DataStore2"
root_dir="/Volumes/DataStore2/plex_containers"
docker network ls | grep -q plex && docker network create plex
mkdir -p ${root_dir}
#docker run -d --restart unless-stopped --name plex \
# -v ${root_dir}/plex:/config \
# -v ${media_dir}:${media_dir} \
# -e PUID=1000 \
# -e PGID=1000 \
# --net host \
# linuxserver/plex:latest
docker run -d --restart unless-stopped --name nzbget \
-v ${root_dir}/nzbget:/config \
-v ${media_dir}:${media_dir} \
-e PUID=1000 \
-e PGID=1000 \
--memory='1g' \
-p 6789:6789 \
--net plex \
linuxserver/nzbget:latest
docker run -d --restart unless-stopped --name sonarr \
-v ${root_dir}/sonarr:/config \
-v ${media_dir}:${media_dir} \
-e PUID=1000 \
-e PGID=1000 \
--memory='1g' \
-p 8989:8989 \
--net plex \
linuxserver/sonarr:latest
docker run -d --restart unless-stopped --name radarr \
-v ${root_dir}/radarr:/config \
-v ${media_dir}:${media_dir} \
-e PUID=1000 \
-e PGID=1000 \
--memory='1g' \
-p 7878:7878 \
--net plex \
linuxserver/radarr:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment