This commit is contained in:
parent
369ac32c15
commit
4ee27307ba
22
docs/tutorials/mkdocs-with-gitea-and-drone.md
Normal file
22
docs/tutorials/mkdocs-with-gitea-and-drone.md
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
1- Setup Nginx, [Gitea](../portainer-stacks/Gitea.md), [Drone](../portainer-stacks/Drone.md)
|
||||||
|
|
||||||
|
2- Portainer Stack:
|
||||||
|
```
|
||||||
|
---
|
||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
mkdocswiki:
|
||||||
|
image: nginx
|
||||||
|
container_name: mkdocswiki
|
||||||
|
ports:
|
||||||
|
- 39786:80
|
||||||
|
volumes:
|
||||||
|
- /wiki/site:/usr/share/nginx/html:ro
|
||||||
|
labels:
|
||||||
|
- com.centurylinklabs.watchtower.enable=true
|
||||||
|
restart: unless-stopped
|
||||||
|
```
|
||||||
|
|
||||||
|
3- [Clone this repository](https://git.sthope.dev/sthope/mkdocswiki_template) as template and create the `.drone.yml` as indicated in the [README.md](https://git.sthope.dev/sthope/mkdocswiki_template/src/branch/master/README.md)
|
||||||
|
|
||||||
|
4- Complete drone configuration to work with your new mkdocswiki template and run it and after drone successfully build, files should be copied to your volume `/wiki/site` and be available at [http://docker_IP:39786](http://docker_IP:39786)
|
@ -88,5 +88,7 @@ nav:
|
|||||||
- TasmoBackup: portainer-stacks/TasmoBackup.md
|
- TasmoBackup: portainer-stacks/TasmoBackup.md
|
||||||
- Uptime-Kuma: portainer-stacks/uptime-kuma.md
|
- Uptime-Kuma: portainer-stacks/uptime-kuma.md
|
||||||
- Zigbee2MQTT: portainer-stacks/Zigbee2MQTT.md
|
- Zigbee2MQTT: portainer-stacks/Zigbee2MQTT.md
|
||||||
|
- Tutorials:
|
||||||
|
- MKDocs with Gitea and Drone: tutorials/mkdocs-with-gitea-and-drone.md
|
||||||
- cmnds:
|
- cmnds:
|
||||||
- AddUser 1Line: cmnds/adduser-1line.md
|
- AddUser 1Line: cmnds/adduser-1line.md
|
Loading…
x
Reference in New Issue
Block a user