mirror of https://github.com/tiyn/wiki
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.
36 lines
869 B
36 lines
869 B
5 years ago
|
# Pinedocs
|
||
5 years ago
|
|
||
|
## Setup Server
|
||
|
|
||
|
### Docker
|
||
|
|
||
5 years ago
|
The official container and documentation was made by [xy2z](https://hub.docker.com/r/xy2z/pinedocs).
|
||
|
|
||
5 years ago
|
#### Volumes
|
||
5 years ago
|
Set the following volumes with the -v tag.
|
||
|
|
||
|
| Volume-Name | Container mount | Description |
|
||
|
| ---------------- | --------------- | ----------------------- |
|
||
|
| pinedocs | /data | storage for pinedocs |
|
||
|
|
||
5 years ago
|
#### Ports
|
||
5 years ago
|
Set the following ports with the -p tag.
|
||
|
|
||
|
| Container Port | Recommended outside port | Protocol | Description |
|
||
|
| -------------- | ------------------------ | -------- | ----------- |
|
||
|
| 80 | 80 | TCP | WebUI |
|
||
|
|
||
5 years ago
|
#### 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
|
||
|
```
|