Bytebase
Database change management for teams. Plan, review and roll out schema changes to Postgres, MySQL and 20-odd other databases with a full history, or query them from a web SQL editor.
Database / Development
Database diagram editor for drawing entity relationships in the browser, then exporting them as SQL for MySQL, PostgreSQL, SQLite, MariaDB or SQL Server, or importing an existing schema to see it.
It isn't in the main Portainer Templates list yet, so use this one. Portainer takes one URL at a time, so it swaps out whatever list you had before.
In Portainer, head to Settings --> App Templates, paste this in as the URL and save.
https://raw.githubusercontent.com/NotAFlightRisk/portainer-templates-extras/main/templates.json http://<your-server>:8098 in a browser.Save this as compose.yml, then run docker compose up -d next to it.
services:
drawdb:
image: ghcr.io/drawdb-io/drawdb:latest
container_name: drawdb
restart: unless-stopped
ports:
- 8098:80
Or skip the file and start it with one command.
docker run -d \
--name drawdb \
--restart unless-stopped \
-p 8098:80 \
ghcr.io/drawdb-io/drawdb:latest Open http://<your-host>:8098/editor. There's no login and nothing to back up on the server, since diagrams are saved in your browser's own storage, so another browser or a cleared cache starts empty. File --> Export as --> JSON keeps a copy, and File --> Import from brings it back. Plain /editor makes a fresh copy of your last diagram on every visit, so bookmark the /editor/diagrams/... address it moves you to. Share and version history need drawDB's separate backend, which isn't included. Icon fonts load from jsDelivr and cdnjs, and the home page at / pulls in tweets and a GitHub star count from outside services. Docs: drawdb-io.github.io/docs
Change the left side of a port if it clashes with something else on your server. The volumes are where the data lives, so keep them when you update.
| On your server | In the container |
|---|---|
8098 | 80/tcp |