]> git.parisson.com Git - timeside.git/commitdiff
add docker volume for DB
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 6 Nov 2014 23:07:51 +0000 (00:07 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 6 Nov 2014 23:07:51 +0000 (00:07 +0100)
Dockerfile

index 6dd69e072fd6ea16c7ffbb47f503d678d1112b7c..0a497b876dbe966ef46aa4de4ffe505d5ec7f7a2 100644 (file)
@@ -56,5 +56,6 @@ run /opt/TimeSide/examples/sandbox/manage.py syncdb --noinput
 run /opt/TimeSide/examples/sandbox/manage.py migrate --noinput
 run /opt/TimeSide/examples/sandbox/manage.py collectstatic --noinput
 
+volume  ["/etc/postgresql", "/var/log/postgresql", "/var/lib/postgresql"]
 expose 80
 cmd ["supervisord", "-n"]