diff --git a/htdocs/public/index.php b/htdocs/public/index.php index 6d7f855..45ee1a1 100755 --- a/htdocs/public/index.php +++ b/htdocs/public/index.php @@ -1,4 +1,14 @@ + @@ -132,7 +142,7 @@ var supportsWebSockets = 'WebSocket' in window || 'MozWebSocket' in window; if (supportsWebSockets) { - + var wsServerUrl = 'wss://:9000/ws'; var wsServerUrl = 'ws://:9000/ws'; diff --git a/trackdirect-apache.dockerfile b/trackdirect-apache.dockerfile index c8309c8..5c71015 100644 --- a/trackdirect-apache.dockerfile +++ b/trackdirect-apache.dockerfile @@ -20,5 +20,7 @@ RUN a2enmod rewrite RUN chmod a+rx / && chmod a+rx -R /root RUN chmod 777 /root/trackdirect/htdocs/public/symbols +RUN rm /root/trackdirect/config/trackdirect.ini + VOLUME /root/trackdirect/config/trackdirect.ini VOLUME /root/trackdirect/htdocs/public/heatmaps diff --git a/trackdirect-python2.dockerfile b/trackdirect-python2.dockerfile index b3acf7c..f949e6b 100644 --- a/trackdirect-python2.dockerfile +++ b/trackdirect-python2.dockerfile @@ -17,5 +17,7 @@ RUN wget http://jjguy.com/heatmap/heatmap-2.2.1.tar.gz && tar xzf heatmap-2.2.1. COPY . /root/trackdirect +RUN rm /root/trackdirect/config/trackdirect.ini + VOLUME /root/trackdirect/config/trackdirect.ini VOLUME /root/trackdirect/htdocs/public/heatmaps