wiki/docs/tutorials/mkdocs-with-gitea-and-drone.md
sthope 848a5f5f29
All checks were successful
continuous-integration/drone/push Build is passing
updating docker version
2023-08-19 21:52:32 +02:00

885 B

1- Setup Nginx, Gitea, Drone

2- Portainer Stack:

---
version: "3.9"
services:
  mkdocswiki:
    image: nginx
    container_name: mkdocswiki
    ports:
      - 39786:80
    volumes:
      - /wiki/site:/usr/share/nginx/html:ro
    labels:
      - com.centurylinklabs.watchtower.enable=${AutoUpdate-true}
    restart: ${RST-unless-stopped}

3- Clone this repository as template and create the .drone.yml as indicated in the 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