Mercurial > gemma
changeset 36:333c42e341e5
Add README.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 03 May 2018 18:15:46 +0200 |
parents | 62e14b4d25fc |
children | 6f273a649f08 |
files | Dockerfile README |
diffstat | 2 files changed, 10 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/Dockerfile Thu May 03 18:08:07 2018 +0200 +++ b/Dockerfile Thu May 03 18:15:46 2018 +0200 @@ -39,9 +39,3 @@ # Set the default command to run when starting the container CMD ["/usr/pgsql-10/bin/postgres", "-D", "/var/lib/pgsql/10/data"] - -# Build with e.g.: -# docker build -t wamos . - -# Get a running instance with e.g.: -# docker run --name wamos -d -p 54321:5432 wamos
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README Thu May 03 18:15:46 2018 +0200 @@ -0,0 +1,10 @@ +Build Dockerfile with e.g.: +$ docker build -t wamos . + +Get a running instance with e.g.: +$ docker run --name wamos -d -p 54321:5432 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