changeset 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 f378959820be
children 30cb2f87c268
files README
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/README	Wed May 23 18:24:02 2018 +0200
+++ b/README	Thu May 24 11:51:14 2018 +0200
@@ -2,7 +2,7 @@
 $ docker build -t wamos .
 
 Get a running instance with e.g.:
-$ docker run --name wamos -d -p 54321:5432 wamos
+$ 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 \