jgraph / docker-drawio

Dockerized draw.io based on whichever is the most secure image at the time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Local Install not using local Viewer

gerardmoconnor opened this issue · comments

I'm not able to point the viewer to my local install. Have looked through the documentation and tried many different things. I'm using V21.6.3. It will work from within my local network but when I send via NGINX Proxy Manager it refuses to change from https://viewer.diagrams.net/

Docker Compose:

version: '3.5'
services:
drawio:
image: jgraph/drawio
container_name: drawio
restart: unless-stopped
ports:
- 8099:8080
- 8443:8443
environment:
DRAWIO_SERVER_URL: https://drawio.server.com
DRAWIO_BASE_URL: https://drawio.server.com
DRAWIO_VIEWER_URL: https://drawio.server.com
DRAWIO_LIGHTBOX_URL: https://drawio.server.com

healthcheck:
  test: ["CMD-SHELL", "curl -f http://drawio.server.com:8080 || exit 1"]
  interval: 1m30s
  timeout: 10s
  retries: 5
  start_period: 10

image

P.S. I followed this https://wiki.opensourceisawesome.com/books/drawio/page/installing-drawio-open-source-flow-and-design