Docker image for running SchemaSpy with PostgreSQL.
Version: 6.0.0
Version: tested on 9.6, 10.10, 11.5
docker build -t=andrewjones/schemaspy-postgres .
docker run --rm andrewjones/schemaspy-postgres:latest -host database -port 5432 -u postgres -p postgres -db dbname -s public
schemaspy:
image: andrewjones/schemaspy-postgres:latest
command: ["-host", "database", "-port", "5432", "-u", "postgres", "-p", "postgres", "-db", "dbname", "-s", "public"]
volumes:
- ./docs/schemaspy:/output
links:
- database:database