forked from ultimate-pms/ultimate-media-server-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (27 loc) · 895 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: '2'
# Docker Plex Media Server Configuration File
services:
plex:
image: plexinc/pms-docker
container_name: plex
privileged: true
restart: always
network_mode: host
volumes:
# Store the config locally...
- /opt/docker-plex/config:/config
# Map in the volume(s) where your media resides below (you will need to change)...
- /nas:/nas
- /nas2:/nas2
# Optional directory where you want to store your transcoded files (this should be a SSD)
- /opt/docker-plex/transcode-tmp:/transcode
environment:
- TZ=Australia/Brisbane
- PLEX_UID=0
- PLEX_GID=0
# Update to match your network address
- ALLOWED_NETWORKS=10.16.0.0/16
- CHANGE_CONFIG_DIR_OWNERSHIP=false
- DEBUG=true
# See: https://docs.docker.com/engine/reference/run/#cpu-share-constraint
cpu_shares: 2048