These are some guides for various use.
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.

35 lines
869 B

7 months ago
7 months ago
7 months ago
7 months ago
  1. # Pinedocs
  2. ## Setup Server
  3. ### Docker
  4. The official container and documentation was made by [xy2z](https://hub.docker.com/r/xy2z/pinedocs).
  5. #### Volumes
  6. Set the following volumes with the -v tag.
  7. | Volume-Name | Container mount | Description |
  8. | ---------------- | --------------- | ----------------------- |
  9. | pinedocs | /data | storage for pinedocs |
  10. #### Ports
  11. Set the following ports with the -p tag.
  12. | Container Port | Recommended outside port | Protocol | Description |
  13. | -------------- | ------------------------ | -------- | ----------- |
  14. | 80 | 80 | TCP | WebUI |
  15. #### Rebuild
  16. ```
  17. #!/bin/sh
  18. docker stop pinedocs
  19. docker rm pinedocs
  20. docker pull xy2z/pinedocs
  21. docker run --name pinedocs \
  22. --restart unless-stopped \
  23. -p 80:80 \
  24. -v pinedocs:/data \
  25. -d xy2z/pinedocs
  26. ```