shou2017.com
JP

Quickly create an ER diagram environment with Docker

Sat Feb 16, 2019
Sat Aug 10, 2024

I searched for various applications to create ER diagrams but couldn’t find a good one.

In the end, setting up PlantUML with Docker was the simplest and easiest solution.

Official Docker image

How to use:

Add the following to your docker-compose.yml:

plantuml-server:
  image: plantuml/plantuml-server
  restart: always
  ports:
    - "13080:8080"

Then run:

$ docker-compose up -d

Access http://localhost:13080 and you’re good to go.

Quickly create an ER diagram environment with Docker

To shut it down:

$ docker-compose stop

This method allows you to manage diagrams in text format and it’s free.

The downside is that you can’t see changes in real-time, but for personal applications, it’s not a significant issue.

See Also