mirror of https://github.com/tiyn/wiki
parent
1ca7c2ac5e
commit
fecc8976e7
@ -1,43 +0,0 @@
|
||||
# nasourso - pltu
|
||||
|
||||
This is a docker container for a Plex tunnel via VPN.
|
||||
The official container and documentation was made by [nasourso](https://hub.docker.com/r/nasourso/pltu).
|
||||
|
||||
## Volumes
|
||||
|
||||
Set the following volumes with the -v tag.
|
||||
|
||||
| Outside mount/volume name | Container mount | Description |
|
||||
| ------------------------- | --------------- | --------------------------------------------------- |
|
||||
| `pltu` | `/cert` | storage for openvpn certificate of server with plex |
|
||||
|
||||
## Ports
|
||||
|
||||
Set the following ports with the -p tag.
|
||||
|
||||
| Container Port | Recommended outside port | Protocol | Description |
|
||||
| -------------- | ------------------------ | -------- | ----------- |
|
||||
| `80` | `32400` | TCP | Plex webUI |
|
||||
|
||||
## Additional
|
||||
|
||||
There are some special variables to set.
|
||||
|
||||
| Flag | Usage |
|
||||
| -------------- | ------------------------ |
|
||||
| `--privileged` | is needed due to openvpn |
|
||||
|
||||
## rebuild.sh
|
||||
|
||||
```shell
|
||||
#!/bin/sh
|
||||
docker stop pltu
|
||||
docker rm pltu
|
||||
docker pull nasourso/pltu:latest
|
||||
docker run --name pltu \
|
||||
--restart unless-stopped \
|
||||
--privileged \
|
||||
-p 32400:80 \
|
||||
-v pltu:/cert/ \
|
||||
-d nasourso/pltu:latest
|
||||
```
|
Loading…
Reference in new issue