mirror of
https://github.com/Adam-Ant/media-server-in-a-box
synced 2024-12-20 14:44:34 +00:00
User ID and directory structure refactor
This commit is contained in:
parent
6196e1bdf0
commit
203a58ea03
@ -1,26 +1,19 @@
|
|||||||
version: '2'
|
version: '2'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
data:
|
|
||||||
image: tianon/true
|
|
||||||
volumes:
|
|
||||||
- $VOLDIR:/config
|
|
||||||
|
|
||||||
nzbget:
|
nzbget:
|
||||||
image: adamant/nzbget
|
image: adamant/nzbget
|
||||||
depends_on:
|
volumes:
|
||||||
- data
|
- $VOLDIR/nzbget:/config
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- data
|
|
||||||
- container:media
|
- container:media
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
deluge:
|
deluge:
|
||||||
image: adamant/deluge
|
image: adamant/deluge
|
||||||
depends_on:
|
volumes:
|
||||||
- data
|
- $VOLDIR/deluge:/config
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- data
|
|
||||||
- container:media
|
- container:media
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
@ -29,8 +22,9 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- deluge
|
- deluge
|
||||||
- nzbget
|
- nzbget
|
||||||
|
volumes:
|
||||||
|
- $VOLDIR/sickrage:/config
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- data
|
|
||||||
- container:media
|
- container:media
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
@ -39,8 +33,9 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- deluge
|
- deluge
|
||||||
- nzbget
|
- nzbget
|
||||||
|
volumes:
|
||||||
|
- $VOLDIR/couchpotato:/config
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- data
|
|
||||||
- container:media
|
- container:media
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
@ -49,8 +44,9 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- sickrage
|
- sickrage
|
||||||
- couchpotato
|
- couchpotato
|
||||||
|
volumes:
|
||||||
|
- $VOLDIR/plex:/config/Plex\ Media\ Server
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- data
|
|
||||||
- container:media
|
- container:media
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
@ -69,6 +65,8 @@ services:
|
|||||||
- plex
|
- plex
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- data
|
- data
|
||||||
|
volumes:
|
||||||
|
- $VOLDIR/plexpy:/config
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
web:
|
web:
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
export VOLDIR="/volumes/media-server"
|
export VOLDIR="/volumes/media-server"
|
||||||
SERVICES=("couchpotato" "deluge" "nzbget" "plex" "plexpy" "sickrage" "nginx")
|
SERVICES=("couchpotato" "deluge" "nzbget" "plex" "plexpy" "sickrage" "nginx")
|
||||||
SERVICEUID=("745" "647" "236" "787" "426" "439" "0")
|
SERVICEUID=("901" "902" "904" "900" "905" "906" "0")
|
||||||
|
|
||||||
[[ $EUID -ne 0 ]] && echo "Please run this script as root" && exit 1
|
[[ $EUID -ne 0 ]] && echo "Please run this script as root" && exit 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user