From 9512252fb7c2c672c348508a3f743b55e7be3bc5 Mon Sep 17 00:00:00 2001 From: Stavros Date: Tue, 24 Oct 2023 16:05:39 +0300 Subject: [PATCH] Add draw.io (#1450) * Add draw.io * Use http instead of https * Add warning in readme file. --- README.md | 1 + apps/drawio/config.json | 17 +++++++++++++ apps/drawio/docker-compose.yml | 36 ++++++++++++++++++++++++++++ apps/drawio/metadata/description.md | 7 ++++++ apps/drawio/metadata/logo.jpg | Bin 0 -> 13997 bytes 5 files changed, 61 insertions(+) create mode 100644 apps/drawio/config.json create mode 100644 apps/drawio/docker-compose.yml create mode 100644 apps/drawio/metadata/description.md create mode 100644 apps/drawio/metadata/logo.jpg diff --git a/README.md b/README.md index e5d376cc..37854fbb 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/apps/drawio/config.json b/apps/drawio/config.json new file mode 100644 index 00000000..2e59a369 --- /dev/null +++ b/apps/drawio/config.json @@ -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"] +} \ No newline at end of file diff --git a/apps/drawio/docker-compose.yml b/apps/drawio/docker-compose.yml new file mode 100644 index 00000000..a4baa73b --- /dev/null +++ b/apps/drawio/docker-compose.yml @@ -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 diff --git a/apps/drawio/metadata/description.md b/apps/drawio/metadata/description.md new file mode 100644 index 00000000..543a0277 --- /dev/null +++ b/apps/drawio/metadata/description.md @@ -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). diff --git a/apps/drawio/metadata/logo.jpg b/apps/drawio/metadata/logo.jpg new file mode 100644 index 0000000000000000000000000000000000000000..4425f5069e67db7425659adb0d284981d6a5db43 GIT binary patch literal 13997 zcmeHt2|Sct`|xd-io&F%rc&9GeGOAIq)pZ-VX{p2eaSwlq$VYmq+-e%$|OXQDN8(r zWGj?CTiKa0X8F#jJoGI8zW@7v-}isN-*fvNbI!T1bM9+D*LB@D<2|DjTD4zSUl(Fw zfgl#}2Qj)>*pdE@Cm~2*UlQVmAczy-YW?K!I&h z|NJ#BXcyS$C1}j+1ZYewfBfz-*3s7oV}CDoJN3PLbOZE!bq*dto>G_J;iRspsG=sX zpsb>-qNbvxqM)Xrq`1RJ9bm-7N)2#8eVoM)s6P*eg_33O|kF0 zpE`AF=P8Aq?q2pXa%yU7GP3eA^77IELfSjP&Bxkb+Ra-O?6h>Ny%=v>FGmj_M|ZbP z%&o0$+esN1FvkFr_&^Xp!isOJ)c4qVFG8G2 zi803Wry0Nu<_!;PFK>)VfColX%n0M{?(1cXS*!uyH`MXMSo>h?wB&)BNz2Jf%PVNe z{B&zUh#KE-ApL#x?X;BSl`t4Jc{ynnyOXlgimGbL(l!_cTj`VXDvCC?O7gZUN|=Sc zzAgE~PP#VVHj-CXQj=4ZQ&Ce=m0egffAbGZOx%5K9hhWk$uB_uKKDELUx;}ryMBkU8@9oP*Ncj*S+i-! zCeiI;5|R?@;L@_v;%Du|VZjg6I^je~<7oGvUO%p-+; zH3$D@xjmc$hSpqLJO$;$qVIEyYG=QK8P$(%Rj~0ovy5kr(Assv+qR2|OGqjzDXXZe zsq5@T>gw&&-*0SUYKA&`%-k0EH+u(1CvP8Lzf=AJfoIQ!pO3h35qItSjhLIUx8iOm zCMBn&raef{c#@Nw_cXuY+4GXpvhvpzmA_TJYiMk0Zh8Nqw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