From: Guillaume Pellerin Date: Thu, 6 Nov 2014 23:07:51 +0000 (+0100) Subject: add docker volume for DB X-Git-Tag: 0.7^2~57 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=148253e89cc2417b15c678a38d2c2aac8f482c33;p=timeside.git add docker volume for DB --- diff --git a/Dockerfile b/Dockerfile index 6dd69e0..0a497b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]