I am very new to Docker and I am trying to set up draw.io.
My question is, how do I configure the self-hosted draw.io instance in a way where the export option is not redirected to a diagrams.net URL?
I’ve installed draw.io using the docker image on GitHub and it runs it successfully using:
sudo docker run -it --rm --name="draw" -p 8080:8080 -p 8443:8443 jgraph/drawio
But nothing changed, and I'm not sure it is the right PreConfig.js file. I wasn't able to find the one mentioned in the GitHub README file ("next to Dockerfile in debian or alpine folders").
This PreConfig.js file was located in:
Background info on my system:
Testing this on a CentOS 7 VM.
Please let me know if you need more information to help me with my question.
Thank you in advance.
I am very new to Docker and I am trying to set up draw.io.
My question is, how do I configure the self-hosted draw.io instance in a way where the export option is not redirected to a diagrams.net URL?
I’ve installed draw.io using the docker image on GitHub and it runs it successfully using:
sudo docker run -it --rm --name="draw" -p 8080:8080 -p 8443:8443 jgraph/drawio
I have no problem accessing the site locally by navigating to: https://localhost:8443/?offline=1 But when I go to Export as.. > URL , I see that the link that is created is for https://viewer.diagrams.net/
I’ve tried editing the PreConfig.js file as so:
But nothing changed, and I'm not sure it is the right PreConfig.js file. I wasn't able to find the one mentioned in the GitHub README file ("next to Dockerfile in debian or alpine folders").
This PreConfig.js file was located in:
Background info on my system: Testing this on a CentOS 7 VM.
Please let me know if you need more information to help me with my question.
Thank you in advance.