mirror of
https://github.com/tiyn/wiki.git
synced 2025-04-10 18:47:45 +02:00
The docker-images where scattered across different files. For faster access i moved them to an extra folder and linked them if they're needed elsewhere. entries that where outside this folder and only contained basic documentation of the docker image where removed.
43 lines
1.1 KiB
Markdown
43 lines
1.1 KiB
Markdown
# nasourso - pltu
|
|
|
|
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.
|
|
|
|
| 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
|
|
|
|
```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
|
|
```
|