From fbcb2c67dc780b02a9fb66ec78adf7bbb29b92f3 Mon Sep 17 00:00:00 2001 From: Peter Buchegger Date: Sun, 6 Feb 2022 21:02:22 +0000 Subject: [PATCH 01/14] fixing docker build fail --- trackdirect-apache.dockerfile | 2 ++ trackdirect-python2.dockerfile | 2 ++ 2 files changed, 4 insertions(+) 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 From 260bada95876843362f35fa050544a3fcda350fd Mon Sep 17 00:00:00 2001 From: Peter Buchegger Date: Sun, 6 Feb 2022 21:02:53 +0000 Subject: [PATCH 02/14] fixing path include and HTTP_X_FORWARD for load balancer --- htdocs/public/index.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/htdocs/public/index.php b/htdocs/public/index.php index c622f06..cc11fbf 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'; From e8c7a8c34dd827584043b358f8889771a2a91dda Mon Sep 17 00:00:00 2001 From: Peter Buchegger Date: Thu, 10 Feb 2022 00:58:53 +0100 Subject: [PATCH 03/14] Update about.php --- htdocs/public/views/about.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/public/views/about.php b/htdocs/public/views/about.php index 96b190e..e26925f 100644 --- a/htdocs/public/views/about.php +++ b/htdocs/public/views/about.php @@ -1,4 +1,4 @@ - + About / FAQ