jgraph / docker-drawio

Dockerized draw.io based on whichever is the most secure image at the time.
GNU General Public License v3.0
1.49k stars 361 forks source link

Not truly self-hosted? #54

Closed luminous706 closed 2 years ago

luminous706 commented 2 years ago

Exporting, embedding, publishing any diagrams will result in a URL going to diagrams.net:

image

This happens even with passing the "DRAWIO_BASE_URL" variable to docker, as follows:

docker run -it -m1g -e LETS_ENCRYPT_ENABLED=true -e PUBLIC_DNS=drawio.mysite.com -e DRAWIO_BASE_URL=https://drawio.mysite.com --rm --name="draw" -p 80:80 -p 443:8443 jgraph/drawio

Any way to make it so these functions have the correct secure self-hosted URL of the instance?

davidjgraph commented 2 years ago

Change the lightbox and viewer URLs in preconfig.js