Last active
June 8, 2019 14:04
-
-
Save figassis/9b42187034e5605f41301b43dcefa81a to your computer and use it in GitHub Desktop.
Media Center
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
#!/bin/bash | |
export USER_ID=$UID | |
docker-compose down; docker-compose up -d --force-recreate |
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: '3' | |
services: | |
plex: | |
image: plexinc/pms-docker | |
restart: always | |
container_name: plex | |
hostname: PlexServer | |
network_mode: host | |
depends_on: | |
- deluge | |
- filebot | |
environment: | |
TZ: "Africa/Luanda" | |
PLEX_UID: $USER_ID | |
PLEX_GID: $USER_ID | |
CHANGE_CONFIG_DIR_OWNERSHIP: 'false' | |
PLEX_CLAIM: $CLAIM | |
volumes: | |
- ~/media/config:/config | |
- ~/media/transcode:/transcode | |
- ~/media/downloads/complete:/data | |
filebot: | |
image: coppit/filebot | |
restart: always | |
container_name: filebot | |
depends_on: | |
- deluge | |
environment: | |
PGID: $USER_ID | |
PUID: $USER_ID | |
volumes: | |
- ~/media/downloads:/media:rw | |
- ~/media/filebot:/config:rw | |
deluge: | |
image: jakexks/deluge-torrent-seedbox | |
restart: always | |
container_name: deluge | |
ports: | |
- 80:80 | |
- 8112:8112 | |
- 58846:58846 | |
- 58847:58847 | |
- 58847:58847/udp | |
environment: | |
PGID: $USER_ID | |
PUID: $USER_ID | |
volumes: | |
- ~/media/downloads:/home/deluge |
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
CLAIM=plexserverclaim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment