# Plex ## Environment variables The following variables could be set as an environment varaiables using the .env file. | Value | Default | Information | |---|---|---| | RESTART | unless-stopped | Choose a restart policy. | | SYNOLOGY_VOLUME | volume1 | If you have only 1 volume Docker will be installed on volume 1. | | SYNOLOGY_VOLUME_MUSIC | volume1 | If you have only 1 volume the default music folder will be on volume 1. | | SYNOLOGY_VOLUME_PHOTO | volume1 | If you have only 1 volume the default photo folder will be on volume 1. | | SYNOLOGY_VOLUME_VIDEO | volume1 | If you have only 1 volume the default video folder will be on volume 1. | | STACK_NAME | plex | | | UID | 1024 | The user id you want to use. | | GID | 101 | The group id you want to use. | | TZ | Europe/Amsterdam | | | PLEX_CONTAINER_NAME | Plex | This is used for the name of the container and the main folder under de docker folder. | | PLEX_TAG | latest | Choose a version tag. | | PLEX_PORT_HTTP | 32400 | Default port. | | PLEX_PORT_ROKU | 8324 | | | PLEX_PORT_DLNA_1 | 1900 | | | PLEX_PORT_DLNA_2 | 32469 | | | PLEX_PORT_DISCOVERY_1 | 32410 | | | PLEX_PORT_DISCOVERY_2 | 32412 | | | PLEX_PORT_DISCOVERY_3 | 32413 | | | PLEX_PORT_DISCOVERY_4 | 32414 | | | PLEX_ADVERTISE_IP | 127.0.0.1 | | | PLEX_CLAIM | | | ## Links * [Website](https://www.plex.tv/) * [Docker Hub](https://hub.docker.com/r/plexinc/pms-docker/) * [GitHub](https://github.com/plexinc)