view README @ 57:353f804e86ae

Use volume to have sql in container.
author Tom Gottfried <tom@intevation.de>
date Thu, 24 May 2018 11:51:14 +0200
parents 333c42e341e5
children 7a91106668b8
line wrap: on
line source

Build Dockerfile with e.g.:
$ docker build -t wamos .

Get a running instance with e.g.:
$ docker run --name wamos -d -p 54321:5432 -v $PWD:/opt/wamos wamos

Create ER diagram with e.g.:
$ postgresql_autodoc -p 54321 -h $dockerhost \
      -U wamos --password=wamos -t dot
$ dot -Tpng wamos.dot > wamos.png