Closed MorganReid closed 11 months ago
Can you please check the README at https://github.com/jgraph/docker-drawio/tree/dev/self-contained and let us know if it has the answers you want?
Can you please check the README at https://github.com/jgraph/docker-drawio/tree/dev/self-contained and let us know if it has the answers you want?
Thanks for your reply, the problem has been resolved. 1: If want to add other storage methods, only need to add the corresponding environment variables, such as: DRAWIO_GITLAB_ID&DRAWIO_GITLAB_SECRET&DRAWIO_GITLAB_URL. 2: Get the solution in this issue (https://github.com/jgraph/drawio/issues/3175).
I start a drawio service on
10.112.0.141
using the following command:docker run -it --rm --name="draw" -p 8080:8080 -p 54152:8443 jgraph/drawio
Then I configured nginx: Now I get the following by visiting https://dev.draw.autox.clu. This seems to be normal, but why is there onlyDevice
option for storage? After I go in, create a diagram, and then selectFile-Export as-URL
.This url isviewer.diagrams.net
at the beginning, indicating that this file is stored inviewer.diagrams.net
? The expected exported url domain name should bedev.draw.autox.clu
. I checked the information and said thatDRAWIO_LIGHTBOX_URL
needs to be set, so I used the following command to restart the service.docker run -it --rm --name="draw" -e DRAWIO_LIGHTBOX_URL=dev.draw.autox.clu -p 8080:8080 -p 54152:8443 jgraph/drawio
Unfortunately, when I visithttps://dev.draw.autox.clu
again, I get the following:It's not normal. 1: How can the storage location not only be limited to
Device
? 2: How to ensure that the domain name of the URL is the domain name of my server? https://github.com/jgraph/docker-drawio/issues/116 have related question, but I didn't see an answer and it's closed.