mirror of
https://gh.con.sh/https://github.com/plexinc/pms-docker
synced 2024-09-20 06:45:31 +00:00
Added docker-compose file.
This commit is contained in:
parent
4e12825411
commit
7e6baffbc0
|
@ -30,6 +30,8 @@ docker create \
|
|||
plexinc/pms-docker
|
||||
```
|
||||
|
||||
For those who use docker-compose, this repository provides the necessary YML file to be modified for your own use.
|
||||
|
||||
## Parameters
|
||||
|
||||
- `-p 32400:32400/tcp` Forwards port 32400 from the host to the container. This is the primary port that Plex uses for communication and is required for Plex Media Server to operate.
|
||||
|
|
28
docker-compose.yml
Normal file
28
docker-compose.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
version: '2'
|
||||
services:
|
||||
plex:
|
||||
container_name: plex
|
||||
image: plexinc/pms-docker
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 32400:32400/tcp
|
||||
- 3005:3005/tcp
|
||||
- 8324:8324/tcp
|
||||
- 32469:32469/tcp
|
||||
- 1900:1900/udp
|
||||
- 32410:32410/udp
|
||||
- 32412:32412/udp
|
||||
- 32413:32413/udp
|
||||
- 32414:32414/udp
|
||||
environment:
|
||||
- TZ=<timezone>
|
||||
- PLEX_CLAIM=<claimToken>
|
||||
- ADVERTISE_IP=http://<hostIPAddress>:32400/
|
||||
hostname: <hostname>
|
||||
volumes:
|
||||
- <path/to/plex/database>:/config
|
||||
- <path/to/transcode/temp>:/transcode
|
||||
- <path/to/tv/series>:/data/tvshows
|
||||
- <path/to/movies>:/data/movies
|
||||
- <path/to/another/media>:/data/mediaTypeA
|
||||
- <path/to/some/other/media>:/data/mediaTypeB
|
Loading…
Reference in New Issue
Block a user