1
0
mirror of https://github.com/tiyn/wiki.git synced 2026-07-02 10:01:36 +02:00
Files
wiki/wiki/docker/xy2z_-_pinedocs.md
tiyn c03daea525 Corrected various typographic errors
- substituted en-dash for hyphen where needed
- renamed files to avoid confusion due to identical name
- added links
- fixed capitalization
- fixed line breaks
2026-07-02 09:12:29 +02:00

45 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# xy2z pinedocs
This is a [Docker](/wiki/docker.md) container for the file viewer pinedocs.
The official container and documentation was made by
[xy2z](https://hub.docker.com/r/xy2z/pinedocs).
## Set-up
Create the file `rebuild.sh`.
Change the settings according to your needs and run `./rebuild.sh` afterward.
### Volumes
Set the following volumes with the -v tag.
| Outside mount/volume name | Container mount | Description |
| ------------------------- | --------------- | -------------------- |
| `pinedocs` | `/data` | storage for pinedocs |
### Ports
Set the following ports with the -p tag.
| Container Port | Recommended outside port | Protocol | Description |
| -------------- | ------------------------ | -------- | ----------- |
| `80` | `80` | TCP | WebUI |
### rebuild.sh
```sh
#!/bin/sh
docker stop pinedocs
docker rm pinedocs
docker pull xy2z/pinedocs
docker run --name pinedocs \
--restart unless-stopped \
-p 80:80 \
-v pinedocs:/data \
-d xy2z/pinedocs
```