asimio/schemaspy

By asimio

Updated over 4 years ago

A Docker image to generate the ER model from existing RDBMS

Image

86

Build
docker build -t asimio/schemaspy:latest .
Usage example:

See https://bitbucket.org/asimio/postgres/src/master/db_dvdrental/ to learn how to run a Docker container with a Postgres DB, db_dvdrental.

docker run --net=host -e DB_TYPE=pgsql -e DB_HOST=`hostname` -e DB_PORT=5432 -e DB_NAME=db_dvdrental -e DB_USER=user_dvdrental -e DB_PASSWD=changeit -e DB_SCHEMAS=public -e JDBC_DRIVER_PATH=/opt/asimio/schemaspy/jdbc -v ~/Downloads/schemaspy:/opt/asimio/schemaspy asimio/schemaspy:latest
Expected documentation output

~/Downloads/schemaspy/output/db_dvdrental/public/index.html

Who do I talk to?

Docker Pull Command

docker pull asimio/schemaspy