Add draw.io (#1450)

* Add draw.io

* Use http instead of https

* Add warning in readme file.
This commit is contained in:
Stavros 2023-10-24 16:05:39 +03:00 committed by GitHub
parent 11fb8ebab6
commit 9512252fb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 61 additions and 0 deletions

View File

@ -29,6 +29,7 @@ This is the official repository for the Tipi App Store. It contains all the apps
- [Deemix](https://gitlab.com/Bockiii/deemix-docker) - deemix is a barebone deezer downloader library built from the ashes of Deezloader Remix.
- [DokuWiki](https://github.com/dokuwiki/dokuwiki) - DokuWiki is a simple to use and highly versatile Open Source wiki software
- [Dozzle](https://github.com/amir20/dozzle) - Dozzle is a small web based app to monitor Docker logs
- [Draw.io](https://github.com/jgraph/drawio) - draw.io is a JavaScript, client-side editor for general diagramming and whiteboarding.
- [Duplicati](https://github.com/linuxserver/docker-duplicati) - Store securely encrypted backups in the cloud!
- [Emulatorjs](https://github.com/EmulatorJS/EmulatorJS) - Self-hosted Javascript emulation for various system.
- [Excalidraw](https://github.com/excalidraw/excalidraw) - Online whiteboard collaboration made easy

17
apps/drawio/config.json Normal file
View File

@ -0,0 +1,17 @@
{
"name": "Draw.io",
"available": true,
"port": 8734,
"exposable": true,
"id": "drawio",
"description": "draw.io is a JavaScript, client-side editor for general diagramming and whiteboarding.",
"tipi_version": 1,
"version": "22.0.6",
"categories": ["utilities"],
"short_desc": "Diagramming and whiteboarding app.",
"author": "JGraph",
"source": "https://github.com/jgraph/drawio",
"website": "https://www.drawio.com/",
"form_fields": [],
"supported_architectures": ["arm64", "amd64"]
}

View File

@ -0,0 +1,36 @@
version: "3.7"
services:
drawio:
image: jgraph/drawio:22.0.6
ports:
- ${APP_PORT}:8080
container_name: drawio
tty: true
stdin_open: true
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.drawio-web-redirect.redirectscheme.scheme: https
traefik.http.services.drawio.loadbalancer.server.port: 8080
# Web
traefik.http.routers.drawio-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.drawio-insecure.entrypoints: web
traefik.http.routers.drawio-insecure.service: drawio
traefik.http.routers.drawio-insecure.middlewares: drawio-web-redirect
# Websecure
traefik.http.routers.drawio.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.drawio.entrypoints: websecure
traefik.http.routers.drawio.service: drawio
traefik.http.routers.drawio.tls.certresolver: myresolver
# Local domain
traefik.http.routers.drawio-local-insecure.rule: Host(`drawio.${LOCAL_DOMAIN}`)
traefik.http.routers.drawio-local-insecure.entrypoints: web
traefik.http.routers.drawio-local-insecure.service: drawio
traefik.http.routers.drawio-local-insecure.middlewares: drawio-web-redirect
# Local domain secure
traefik.http.routers.drawio-local.rule: Host(`drawio.${LOCAL_DOMAIN}`)
traefik.http.routers.drawio-local.entrypoints: websecure
traefik.http.routers.drawio-local.service: drawio
traefik.http.routers.drawio-local.tls: true

View File

@ -0,0 +1,7 @@
## Draw.io
**Warning:** when openning the draw.io page add an ``?offline=1`` in the end else you will get ``Failed to execute 'open' on 'XMLHttpRequest': Invalid URL`` error!
draw.io, this project, is a configurable diagramming/whiteboarding visualization application. draw.io is jointly owned and developed by JGraph Ltd and draw.io AG.
As well as running this project, we run a production-grade deployment of the diagramming interface at [https://app.diagrams.net](https://app.diagrams.net).

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB