summaryrefslogtreecommitdiffstats
path: root/lava-master/Dockerfile
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-07-02 15:43:25 +0200
committerCorentin LABBE <clabbe@baylibre.com>2018-07-20 11:41:58 +0200
commitd49b99094855c8bcb91fd5ab57b20249ff7ff955 (patch)
tree2c2b60a91762dc0d2f5325119fba9eb8e87d29eb /lava-master/Dockerfile
parent70bffaef36b2afe7c732d6f20afca008c5ef1445 (diff)
Permit to backup/restore lavaserver database
This patch add an easy way to backup postgresql database and needed data stored in filesystem. In the mean time, a way to restore backup during start is added
Diffstat (limited to 'lava-master/Dockerfile')
-rw-r--r--lava-master/Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lava-master/Dockerfile b/lava-master/Dockerfile
index 7d61103..a074570 100644
--- a/lava-master/Dockerfile
+++ b/lava-master/Dockerfile
@@ -49,6 +49,8 @@ RUN /etc/init.d/postgresql start && \
bash /build-lava lava-server 2018.4 2018.4-1 && \
/etc/init.d/postgresql stop
+COPY backup /
+
RUN a2enmod proxy \
&& a2enmod proxy_http \
&& a2dissite 000-default \