These are some guides for various use.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.1 KiB

7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
  1. # Plex
  2. ## Setup Tunnel
  3. ### Docker
  4. The official container and documentation was made by [nasourso](https://hub.docker.com/r/nasourso/pltu).
  5. #### Volumes
  6. Set the following volumes with the -v tag.
  7. | Volume-Name | Container mount | Description |
  8. | ----------- | --------------- | --------------------------------------------------- |
  9. | `pltu` | `/cert` | storage for openvpn certificate of server with plex |
  10. #### Ports
  11. Set the following ports with the -p tag.
  12. | Container Port | Recommended outside port | Protocol | Description |
  13. | -------------- | ------------------------ | -------- | ----------- |
  14. | `80` | `32400` | TCP | Plex webUI |
  15. #### Additional
  16. There are some special variables to set.
  17. | Flag | Usage |
  18. | -------------- | ------------------------ |
  19. | `--privileged` | is needed due to openvpn |
  20. #### Rebuild
  21. ```shell
  22. #!/bin/sh
  23. docker stop pltu
  24. docker rm pltu
  25. docker pull nasourso/pltu:latest
  26. docker run --name pltu \
  27. --restart unless-stopped \
  28. --privileged \
  29. -p 32400:80 \
  30. -v pltu:/cert/ \
  31. -d nasourso/pltu:latest
  32. ```