-
-
Save evandertino/b92bf4625a1df4e6f23c02ccf4e5e37c to your computer and use it in GitHub Desktop.
Revisions
-
takamatsu revised this gist
Sep 7, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -25,5 +25,5 @@ http://schemaspy.readthedocs.io/en/latest/started.html#configuration $ docker run --rm \ -v /path-to/schemaspy.properties:/tmp/schemaspy/schemaspy.properties -v \ -v /path-to/output:/tmp/schemaspy/output -v \ -d my/schemaspy -hq # another options... ``` -
takamatsu revised this gist
Sep 7, 2017 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,6 @@ ## Download JDBC http://www.oracle.com/technetwork/database/features/jdbc/index.html ## Build Docker image -
takamatsu renamed this gist
Sep 7, 2017 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
takamatsu revised this gist
Sep 7, 2017 . 2 changed files with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes.File renamed without changes. -
takamatsu revised this gist
Sep 7, 2017 . No changes.There are no files selected for viewing
-
takamatsu created this gist
Sep 7, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ FROM java:openjdk-8u111-jre-alpine ENV LC_ALL C RUN apk update RUN apk add graphviz RUN apk add fontconfig RUN apk add unzip WORKDIR /tmp/schemaspy # TODO: Rename to real path ADD ./ojdbcXX.jar . ADD https://github.com/schemaspy/schemaspy/releases/download/v6.0.0-rc1/schemaspy-6.0.0-rc1.jar . ADD https://www.fontsquirrel.com/fonts/download/open-sans ./open-sans.zip RUN unzip open-sans.zip -d /usr/share/fonts RUN fc-cache -fv ENTRYPOINT ["java", "-jar", "schemaspy-6.0.0-rc1.jar"] This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ # Usage ## Refs * http://schemaspy.org/ * http://schemaspy.sourceforge.net/ ## Download JDBC Download from Oracle http://www.oracle.com/technetwork/database/features/jdbc/index.html ## Build Docker image ```bash $ docker build -t my/schemaspy . ``` ## Create schemaspy.properties http://schemaspy.readthedocs.io/en/latest/started.html#configuration ## Run Docker container (Generate Database info) ```bash $ docker run --rm \ -v /path-to/schemaspy.properties:/tmp/schemaspy/schemaspy.properties -v \ -v /path-to/output:/tmp/schemaspy/output -v \ -d my/schemaspy # another schemaspy-options... ```