mirror of
https://github.com/tiyn/wiki.git
synced 2026-02-22 10:24:47 +01:00
restructuring
This commit is contained in:
35
general-software/setups/pinedocs.md
Normal file
35
general-software/setups/pinedocs.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# Pinedocs
|
||||
|
||||
## Setup Server
|
||||
|
||||
### Docker
|
||||
|
||||
The official container and documentation was made by [xy2z](https://hub.docker.com/r/xy2z/pinedocs).
|
||||
|
||||
#### Volumes
|
||||
Set the following volumes with the -v tag.
|
||||
|
||||
| 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
|
||||
|
||||
```
|
||||
#!/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
|
||||
```
|
||||
Reference in New Issue
Block a user