GithubHelp home page GithubHelp logo

s0p4l1n3 / drawio-traefik-tls-compose Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 10 KB

Deploy drawio on air gap environment, Self signed certs with Traefik as reverse proxy

License: MIT License

JavaScript 100.00%

drawio-traefik-tls-compose's Introduction

This project is based on: https://github.com/fjudith/docker-draw.io/tree/master/self-contained I have added the traefik part for self signed certificate and reverse proxy

  1. Download this project
  2. Generate certificate and private key for your drawio server (check this guide)
  3. Paste the content of it inside ./secrets/drawio.lab.lan-crt.pem and ./secrets/drawio.lab.lan-crt.pem
  4. Edit the line - "traefik.http.routers.drawio.rule=Host(`drawio.iss.lan`)" from docker-compose and change the dns name according to your setup.
  5. Run the compose: docker compose up -d

docker ps result:

CONTAINER ID   IMAGE                      COMMAND                  CREATED          STATUS          PORTS                                           NAMES
ef9dc2e31b3c   jgraph/drawio              "/docker-entrypoint.…"   26 minutes ago   Up 26 minutes   8080/tcp, 8443/tcp                              drawiov2-drawio-1
2f71039c9373   traefik:2.10.5             "/entrypoint.sh --pr…"   26 minutes ago   Up 26 minutes   80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp   drawiov2-traefik-1
a5e8b5e902fc   plantuml/plantuml-server   "/entrypoint.sh"         36 minutes ago   Up 36 minutes   8080/tcp                                        drawiov2-plantuml-server-1
c277e543cc5c   jgraph/export-server       "docker-entrypoint.s…"   36 minutes ago   Up 36 minutes   8000/tcp                                        drawiov2-image-export-1

Screenshots

image

drawio-traefik-tls-compose's People

Contributors

s0p4l1n3 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.