asimio/schemaspy
A Docker image to generate the ER model from existing RDBMS
86
docker build -t asimio/schemaspy:latest .
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
~/Downloads/schemaspy/output/db_dvdrental/public/index.html
docker pull asimio/schemaspy