Created
October 29, 2023 14:16
-
-
Save okamos/d456c1c602798203438cb011fc3cd7de to your computer and use it in GitHub Desktop.
schemaspy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# type of database. Run with -dbhelp for details | |
# if mssql doesn't work: try mssql08 in combination with sqljdbc_7.2, this combination has been tested | |
schemaspy.t=pgsql | |
# optional path to alternative jdbc drivers. | |
# schemaspy.dp=path/to/drivers | |
# database properties: host, port number, name user, password | |
schemaspy.host=localhost | |
schemaspy.port=5432 | |
schemaspy.db=development | |
schemaspy.u=postgres | |
schemaspy.p=database_password | |
# output dir to save generated files | |
# schemaspy.o=tmp/diagrams | |
# db scheme for which generate diagrams | |
# schemaspy.s=dbo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --platform=linux/amd64 --net=host -v "$PWD:/tmp/diagrams" -v "$PWD/tmp/schemaspy.properties:/schemaspy.properties" schemaspy/schemaspy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment