andrewwhitehead / schemaspy-docker

Quickly run SchemaSpy on a database and serve the results
Apache License 2.0
10 stars 9 forks source link

Need help generating the diagrams #1

Open amit4aws opened 6 years ago

amit4aws commented 6 years ago

Hi cywolf,

I am big fan of Schema Spy and had been using it extensively. I am trying to generate the schema spy view using the mysql instance running in a docker container. With the explanation provided in the repository regarding generating the schemaspy it is not clear how it will be generated or if it is applicable for the scenario where we have an existing mysql running instance and can use schemaspy to get the report out ? I am new to docker so any assistance would be of great help.

andrewwhitehead commented 6 years ago

Hiya, This implementation generates the output in /app/output and runs a lightweight webserver to display it, so you should be able to browse to localhost:8080 and see the generated content when it's running. We run it alongside other docker containers to provide API documentation. If you want to extract the output I think you can just mount a volume at /app/output, although I haven't tested that.

amit4aws commented 6 years ago

Thanks for the response. Today i was able to connect and run schemaspy via standard way ie via command line however was not able to see any graphs of relationships even though i have the graphViz in the classpath. I was wondering how your schemaspy container will be of help to us and what extra the container is doing when compare to the standard process.

andrewwhitehead commented 6 years ago

Did you ever figure this out? The container isn't doing anything special, it just installs graphvis as a system library.