Files
docker-compose-collection/drawio/readme.md
T
2023-10-19 19:03:49 +02:00

2.2 KiB

draw.io

draw.io is free online diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams.

Installation using Synology Container Manager

Tested with

  • Synology DS1019+ running DSM DSM 7.2-64570 Update 1;
  • Container Manager from Synology Package Center version 20.10.23-1413;
  • draw.io 21.7.4.

Installation steps

  • Within your docker folder (/volume1/docker) create a folder named: drawio
  • Move the following files to that newly created folder
    • compose.yml
    • .env.sample
  • Rename .env.sample to .env
  • Change the environment variables in the file .env as you see fit (Don't forget to remove the # in front of the row you want to use)
  • Open Container Manager via Synology DiskStation Manager (DSM)
  • Go to Project (in the left pane)
  • Click Create
  • Name your project drawio
  • Select the path you created in step 1
  • Choose to use the existing docker-compose.yml file
  • Click Next
  • Click Next on the Web portal settings page
  • Click Done and wait for Container Manager to finish (Exit Code: 0)

Installation using Portainer

Tested with

  • Synology DS1019+ running DSM DSM 7.2-64570 Update 1;
  • Container Manager from Synology Package Center version 20.10.23-1413;
  • Portainer.io Community Edition version 2.19.0;
  • draw.io 21.7.4.

Installation steps

  • Open Portainer with the correct environment.
  • Under Stacks click the button + Add stack.
  • Give your stack a name (i.e.: drawio).
  • Paste the contents of compose.yml under Web editor.
  • Paste the contents of .env.sample under Environment variables.
    • Click Advanced mode to be able to paste.
  • Change the environment variables as you see fit.
  • Click Deploy the stack and wait for Portainer to finish.

Environment variables

The following variables could be set an environment varaiables using the .env file.

Value Default Information
RESTART unless-stopped Choose a restart policy.
DRAWIO_CONTAINER_NAME draw.io This is used for the name of the container
DRAWIO_TAG latest Choose a version tag.
DRAWIO_PORT 8080 Default port.