summaryrefslogtreecommitdiffstats
path: root/lava-master/Dockerfile
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-01-08 14:17:59 +0100
committerCorentin LABBE <clabbe@baylibre.com>2018-01-08 15:15:40 +0100
commit94a6a8e07e3d7e6c3233554dae2056687590b651 (patch)
treeef8bef989b370ac16445548618215d1abe0c152d /lava-master/Dockerfile
parent83781cf3177ae2928221c424caeb2bd880d6cc6c (diff)
Disable CSRF cookie
When working with HTTP interface, it is impossible to login. Ths patch also document that in Readme.md
Diffstat (limited to 'lava-master/Dockerfile')
-rw-r--r--lava-master/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lava-master/Dockerfile b/lava-master/Dockerfile
index 2dd44b0..4705e45 100644
--- a/lava-master/Dockerfile
+++ b/lava-master/Dockerfile
@@ -78,6 +78,9 @@ RUN /start.sh && /setup.sh && /stop.sh
#uncomment if you want to use squid
#RUN sed -i 's,^.*http_proxy:.*, http_proxy: http://squid:3128,' /etc/lava-server/env.yaml
+#comment this if you do HTTPS (For reenabling CSRF cookie)
+COPY settings.conf /etc/lava-server/
+
EXPOSE 69/udp 80 3079 5555 5556
CMD /start.sh && bash