diff --git a/client/web/admin/Dockerfile b/client/web/admin/Dockerfile
deleted file mode 100644
index b983de379..000000000
--- a/client/web/admin/Dockerfile
+++ /dev/null
@@ -1,37 +0,0 @@
-# build-stage
-FROM node:12.14-alpine as build-stage
-
-ENV PATH /app/node_modules/.bin:$PATH
-
-WORKDIR /app
-
-RUN apk update && apk add --no-cache git
-
-COPY package.json ./
-COPY yarn.lock ./
-
-RUN yarn install
-
-COPY . ./
-
-RUN yarn build
-
-
-# deploy stage
-FROM nginx:stable-alpine
-
-WORKDIR /usr/share/nginx/html
-
-COPY --from=build-stage /app/dist /usr/share/nginx/html
-COPY nginx.conf /etc/nginx/nginx.conf
-COPY CONTRIBUTING.* DCO LICENSE README.* ./
-COPY entrypoint.sh /entrypoint.sh
-
-RUN chmod +x /entrypoint.sh
-
-EXPOSE 80
-
-HEALTHCHECK --interval=30s --start-period=10s --timeout=30s \
- CMD wget --quiet --tries=1 --spider "http://127.0.0.1:80/config.js" || exit 1
-
-ENTRYPOINT ["/entrypoint.sh"]
diff --git a/client/web/admin/entrypoint.sh b/client/web/admin/entrypoint.sh
deleted file mode 100644
index d26330247..000000000
--- a/client/web/admin/entrypoint.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-set -eu
-
-if [ ! -z "${1:-}" ]; then
- exec "$@"
-else
- # check if config.js is present (via volume)
- # or if it's missing
- if [ ! -f "./config.js" ]; then
- # config.js missing, generate it
- if [ ! -z "${CONFIGJS:-}" ]; then
- # use $CONFIGJS variable that might be passed to the container:
- # --env CONFIGJS="$(cat public/config.example.js)"
- echo "${CONFIGJS}" > ./config.js
- else
- # Try to guess where the API is located by using DOMAIN or VIRTUAL_HOST and prefix it with "api."
- API_HOST=${API_HOST:-"api.${VIRTUAL_HOST:-"${DOMAIN:-"local.cortezaproject.org"}"}"}
- API_BASEURL=${API_FULL_URL:-"//${API_HOST}"}
-
- echo "window.CortezaAPI = '${API_BASEURL}'" > ./config.js
- fi
- fi
-
- BASE_PATH=${BASE_PATH:-"/"}
- if [ $BASE_PATH != "/" ]; then
- BASE_PATH_LENGTH=${#BASE_PATH}
- BASE_PATH_LAST_CHAR=${BASE_PATH:BASE_PATH_LENGTH-1:1}
-
- if [ $BASE_PATH_LAST_CHAR != "/" ]; then
- BASE_PATH="$BASE_PATH/"
- fi
- fi
-
- sed -i "s|||g" ./index.html
- sed -i "s|||g" ./index.html
-
- sed -i "s|{{BASE_PATH}}|$BASE_PATH|g" /etc/nginx/nginx.conf
-
-
- nginx -g "daemon off;"
-fi
diff --git a/client/web/admin/nginx.conf b/client/web/admin/nginx.conf
deleted file mode 100644
index c1be54219..000000000
--- a/client/web/admin/nginx.conf
+++ /dev/null
@@ -1,46 +0,0 @@
-user nginx;
-worker_processes 1;
-
-error_log /dev/stdout warn;
-
-pid /var/run/nginx.pid;
-
-events {
- worker_connections 1024;
-}
-
-http {
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
-
- log_format json escape=json
- '{'
- '"@timestamp":"$time_iso8601",'
- '"remote_addr":"$remote_addr",'
- '"request":"$request",'
- '"status":$status,'
- '"body_bytes_sent":$body_bytes_sent,'
- '"request_time":$request_time,'
- '"http_referrer":"$http_referer",'
- '"http_user_agent":"$http_user_agent"'
- '}';
-
- access_log /dev/stdout json;
-
- sendfile on;
- keepalive_timeout 300;
-
- server {
- listen 80 default_server;
- listen [::]:80 default_server;
- server_name _;
-
- index index.html;
-
- root /usr/share/nginx/html;
-
- location {{BASE_PATH}} {
- try_files $uri {{BASE_PATH}}index.html;
- }
- }
-}
diff --git a/client/web/compose/Dockerfile b/client/web/compose/Dockerfile
deleted file mode 100644
index b983de379..000000000
--- a/client/web/compose/Dockerfile
+++ /dev/null
@@ -1,37 +0,0 @@
-# build-stage
-FROM node:12.14-alpine as build-stage
-
-ENV PATH /app/node_modules/.bin:$PATH
-
-WORKDIR /app
-
-RUN apk update && apk add --no-cache git
-
-COPY package.json ./
-COPY yarn.lock ./
-
-RUN yarn install
-
-COPY . ./
-
-RUN yarn build
-
-
-# deploy stage
-FROM nginx:stable-alpine
-
-WORKDIR /usr/share/nginx/html
-
-COPY --from=build-stage /app/dist /usr/share/nginx/html
-COPY nginx.conf /etc/nginx/nginx.conf
-COPY CONTRIBUTING.* DCO LICENSE README.* ./
-COPY entrypoint.sh /entrypoint.sh
-
-RUN chmod +x /entrypoint.sh
-
-EXPOSE 80
-
-HEALTHCHECK --interval=30s --start-period=10s --timeout=30s \
- CMD wget --quiet --tries=1 --spider "http://127.0.0.1:80/config.js" || exit 1
-
-ENTRYPOINT ["/entrypoint.sh"]
diff --git a/client/web/compose/entrypoint.sh b/client/web/compose/entrypoint.sh
deleted file mode 100644
index d26330247..000000000
--- a/client/web/compose/entrypoint.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-set -eu
-
-if [ ! -z "${1:-}" ]; then
- exec "$@"
-else
- # check if config.js is present (via volume)
- # or if it's missing
- if [ ! -f "./config.js" ]; then
- # config.js missing, generate it
- if [ ! -z "${CONFIGJS:-}" ]; then
- # use $CONFIGJS variable that might be passed to the container:
- # --env CONFIGJS="$(cat public/config.example.js)"
- echo "${CONFIGJS}" > ./config.js
- else
- # Try to guess where the API is located by using DOMAIN or VIRTUAL_HOST and prefix it with "api."
- API_HOST=${API_HOST:-"api.${VIRTUAL_HOST:-"${DOMAIN:-"local.cortezaproject.org"}"}"}
- API_BASEURL=${API_FULL_URL:-"//${API_HOST}"}
-
- echo "window.CortezaAPI = '${API_BASEURL}'" > ./config.js
- fi
- fi
-
- BASE_PATH=${BASE_PATH:-"/"}
- if [ $BASE_PATH != "/" ]; then
- BASE_PATH_LENGTH=${#BASE_PATH}
- BASE_PATH_LAST_CHAR=${BASE_PATH:BASE_PATH_LENGTH-1:1}
-
- if [ $BASE_PATH_LAST_CHAR != "/" ]; then
- BASE_PATH="$BASE_PATH/"
- fi
- fi
-
- sed -i "s|||g" ./index.html
- sed -i "s|||g" ./index.html
-
- sed -i "s|{{BASE_PATH}}|$BASE_PATH|g" /etc/nginx/nginx.conf
-
-
- nginx -g "daemon off;"
-fi
diff --git a/client/web/compose/nginx.conf b/client/web/compose/nginx.conf
deleted file mode 100644
index c1be54219..000000000
--- a/client/web/compose/nginx.conf
+++ /dev/null
@@ -1,46 +0,0 @@
-user nginx;
-worker_processes 1;
-
-error_log /dev/stdout warn;
-
-pid /var/run/nginx.pid;
-
-events {
- worker_connections 1024;
-}
-
-http {
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
-
- log_format json escape=json
- '{'
- '"@timestamp":"$time_iso8601",'
- '"remote_addr":"$remote_addr",'
- '"request":"$request",'
- '"status":$status,'
- '"body_bytes_sent":$body_bytes_sent,'
- '"request_time":$request_time,'
- '"http_referrer":"$http_referer",'
- '"http_user_agent":"$http_user_agent"'
- '}';
-
- access_log /dev/stdout json;
-
- sendfile on;
- keepalive_timeout 300;
-
- server {
- listen 80 default_server;
- listen [::]:80 default_server;
- server_name _;
-
- index index.html;
-
- root /usr/share/nginx/html;
-
- location {{BASE_PATH}} {
- try_files $uri {{BASE_PATH}}index.html;
- }
- }
-}
diff --git a/client/web/discovery/Dockerfile b/client/web/discovery/Dockerfile
deleted file mode 100644
index b983de379..000000000
--- a/client/web/discovery/Dockerfile
+++ /dev/null
@@ -1,37 +0,0 @@
-# build-stage
-FROM node:12.14-alpine as build-stage
-
-ENV PATH /app/node_modules/.bin:$PATH
-
-WORKDIR /app
-
-RUN apk update && apk add --no-cache git
-
-COPY package.json ./
-COPY yarn.lock ./
-
-RUN yarn install
-
-COPY . ./
-
-RUN yarn build
-
-
-# deploy stage
-FROM nginx:stable-alpine
-
-WORKDIR /usr/share/nginx/html
-
-COPY --from=build-stage /app/dist /usr/share/nginx/html
-COPY nginx.conf /etc/nginx/nginx.conf
-COPY CONTRIBUTING.* DCO LICENSE README.* ./
-COPY entrypoint.sh /entrypoint.sh
-
-RUN chmod +x /entrypoint.sh
-
-EXPOSE 80
-
-HEALTHCHECK --interval=30s --start-period=10s --timeout=30s \
- CMD wget --quiet --tries=1 --spider "http://127.0.0.1:80/config.js" || exit 1
-
-ENTRYPOINT ["/entrypoint.sh"]
diff --git a/client/web/discovery/entrypoint.sh b/client/web/discovery/entrypoint.sh
deleted file mode 100644
index d26330247..000000000
--- a/client/web/discovery/entrypoint.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-set -eu
-
-if [ ! -z "${1:-}" ]; then
- exec "$@"
-else
- # check if config.js is present (via volume)
- # or if it's missing
- if [ ! -f "./config.js" ]; then
- # config.js missing, generate it
- if [ ! -z "${CONFIGJS:-}" ]; then
- # use $CONFIGJS variable that might be passed to the container:
- # --env CONFIGJS="$(cat public/config.example.js)"
- echo "${CONFIGJS}" > ./config.js
- else
- # Try to guess where the API is located by using DOMAIN or VIRTUAL_HOST and prefix it with "api."
- API_HOST=${API_HOST:-"api.${VIRTUAL_HOST:-"${DOMAIN:-"local.cortezaproject.org"}"}"}
- API_BASEURL=${API_FULL_URL:-"//${API_HOST}"}
-
- echo "window.CortezaAPI = '${API_BASEURL}'" > ./config.js
- fi
- fi
-
- BASE_PATH=${BASE_PATH:-"/"}
- if [ $BASE_PATH != "/" ]; then
- BASE_PATH_LENGTH=${#BASE_PATH}
- BASE_PATH_LAST_CHAR=${BASE_PATH:BASE_PATH_LENGTH-1:1}
-
- if [ $BASE_PATH_LAST_CHAR != "/" ]; then
- BASE_PATH="$BASE_PATH/"
- fi
- fi
-
- sed -i "s|||g" ./index.html
- sed -i "s|||g" ./index.html
-
- sed -i "s|{{BASE_PATH}}|$BASE_PATH|g" /etc/nginx/nginx.conf
-
-
- nginx -g "daemon off;"
-fi
diff --git a/client/web/discovery/nginx.conf b/client/web/discovery/nginx.conf
deleted file mode 100644
index c1be54219..000000000
--- a/client/web/discovery/nginx.conf
+++ /dev/null
@@ -1,46 +0,0 @@
-user nginx;
-worker_processes 1;
-
-error_log /dev/stdout warn;
-
-pid /var/run/nginx.pid;
-
-events {
- worker_connections 1024;
-}
-
-http {
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
-
- log_format json escape=json
- '{'
- '"@timestamp":"$time_iso8601",'
- '"remote_addr":"$remote_addr",'
- '"request":"$request",'
- '"status":$status,'
- '"body_bytes_sent":$body_bytes_sent,'
- '"request_time":$request_time,'
- '"http_referrer":"$http_referer",'
- '"http_user_agent":"$http_user_agent"'
- '}';
-
- access_log /dev/stdout json;
-
- sendfile on;
- keepalive_timeout 300;
-
- server {
- listen 80 default_server;
- listen [::]:80 default_server;
- server_name _;
-
- index index.html;
-
- root /usr/share/nginx/html;
-
- location {{BASE_PATH}} {
- try_files $uri {{BASE_PATH}}index.html;
- }
- }
-}
diff --git a/client/web/one/Dockerfile b/client/web/one/Dockerfile
deleted file mode 100644
index b983de379..000000000
--- a/client/web/one/Dockerfile
+++ /dev/null
@@ -1,37 +0,0 @@
-# build-stage
-FROM node:12.14-alpine as build-stage
-
-ENV PATH /app/node_modules/.bin:$PATH
-
-WORKDIR /app
-
-RUN apk update && apk add --no-cache git
-
-COPY package.json ./
-COPY yarn.lock ./
-
-RUN yarn install
-
-COPY . ./
-
-RUN yarn build
-
-
-# deploy stage
-FROM nginx:stable-alpine
-
-WORKDIR /usr/share/nginx/html
-
-COPY --from=build-stage /app/dist /usr/share/nginx/html
-COPY nginx.conf /etc/nginx/nginx.conf
-COPY CONTRIBUTING.* DCO LICENSE README.* ./
-COPY entrypoint.sh /entrypoint.sh
-
-RUN chmod +x /entrypoint.sh
-
-EXPOSE 80
-
-HEALTHCHECK --interval=30s --start-period=10s --timeout=30s \
- CMD wget --quiet --tries=1 --spider "http://127.0.0.1:80/config.js" || exit 1
-
-ENTRYPOINT ["/entrypoint.sh"]
diff --git a/client/web/one/entrypoint.sh b/client/web/one/entrypoint.sh
deleted file mode 100644
index d26330247..000000000
--- a/client/web/one/entrypoint.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-set -eu
-
-if [ ! -z "${1:-}" ]; then
- exec "$@"
-else
- # check if config.js is present (via volume)
- # or if it's missing
- if [ ! -f "./config.js" ]; then
- # config.js missing, generate it
- if [ ! -z "${CONFIGJS:-}" ]; then
- # use $CONFIGJS variable that might be passed to the container:
- # --env CONFIGJS="$(cat public/config.example.js)"
- echo "${CONFIGJS}" > ./config.js
- else
- # Try to guess where the API is located by using DOMAIN or VIRTUAL_HOST and prefix it with "api."
- API_HOST=${API_HOST:-"api.${VIRTUAL_HOST:-"${DOMAIN:-"local.cortezaproject.org"}"}"}
- API_BASEURL=${API_FULL_URL:-"//${API_HOST}"}
-
- echo "window.CortezaAPI = '${API_BASEURL}'" > ./config.js
- fi
- fi
-
- BASE_PATH=${BASE_PATH:-"/"}
- if [ $BASE_PATH != "/" ]; then
- BASE_PATH_LENGTH=${#BASE_PATH}
- BASE_PATH_LAST_CHAR=${BASE_PATH:BASE_PATH_LENGTH-1:1}
-
- if [ $BASE_PATH_LAST_CHAR != "/" ]; then
- BASE_PATH="$BASE_PATH/"
- fi
- fi
-
- sed -i "s|||g" ./index.html
- sed -i "s|||g" ./index.html
-
- sed -i "s|{{BASE_PATH}}|$BASE_PATH|g" /etc/nginx/nginx.conf
-
-
- nginx -g "daemon off;"
-fi
diff --git a/client/web/one/nginx.conf b/client/web/one/nginx.conf
deleted file mode 100644
index c1be54219..000000000
--- a/client/web/one/nginx.conf
+++ /dev/null
@@ -1,46 +0,0 @@
-user nginx;
-worker_processes 1;
-
-error_log /dev/stdout warn;
-
-pid /var/run/nginx.pid;
-
-events {
- worker_connections 1024;
-}
-
-http {
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
-
- log_format json escape=json
- '{'
- '"@timestamp":"$time_iso8601",'
- '"remote_addr":"$remote_addr",'
- '"request":"$request",'
- '"status":$status,'
- '"body_bytes_sent":$body_bytes_sent,'
- '"request_time":$request_time,'
- '"http_referrer":"$http_referer",'
- '"http_user_agent":"$http_user_agent"'
- '}';
-
- access_log /dev/stdout json;
-
- sendfile on;
- keepalive_timeout 300;
-
- server {
- listen 80 default_server;
- listen [::]:80 default_server;
- server_name _;
-
- index index.html;
-
- root /usr/share/nginx/html;
-
- location {{BASE_PATH}} {
- try_files $uri {{BASE_PATH}}index.html;
- }
- }
-}
diff --git a/client/web/privacy/Dockerfile b/client/web/privacy/Dockerfile
deleted file mode 100644
index b983de379..000000000
--- a/client/web/privacy/Dockerfile
+++ /dev/null
@@ -1,37 +0,0 @@
-# build-stage
-FROM node:12.14-alpine as build-stage
-
-ENV PATH /app/node_modules/.bin:$PATH
-
-WORKDIR /app
-
-RUN apk update && apk add --no-cache git
-
-COPY package.json ./
-COPY yarn.lock ./
-
-RUN yarn install
-
-COPY . ./
-
-RUN yarn build
-
-
-# deploy stage
-FROM nginx:stable-alpine
-
-WORKDIR /usr/share/nginx/html
-
-COPY --from=build-stage /app/dist /usr/share/nginx/html
-COPY nginx.conf /etc/nginx/nginx.conf
-COPY CONTRIBUTING.* DCO LICENSE README.* ./
-COPY entrypoint.sh /entrypoint.sh
-
-RUN chmod +x /entrypoint.sh
-
-EXPOSE 80
-
-HEALTHCHECK --interval=30s --start-period=10s --timeout=30s \
- CMD wget --quiet --tries=1 --spider "http://127.0.0.1:80/config.js" || exit 1
-
-ENTRYPOINT ["/entrypoint.sh"]
diff --git a/client/web/privacy/entrypoint.sh b/client/web/privacy/entrypoint.sh
deleted file mode 100644
index d26330247..000000000
--- a/client/web/privacy/entrypoint.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-set -eu
-
-if [ ! -z "${1:-}" ]; then
- exec "$@"
-else
- # check if config.js is present (via volume)
- # or if it's missing
- if [ ! -f "./config.js" ]; then
- # config.js missing, generate it
- if [ ! -z "${CONFIGJS:-}" ]; then
- # use $CONFIGJS variable that might be passed to the container:
- # --env CONFIGJS="$(cat public/config.example.js)"
- echo "${CONFIGJS}" > ./config.js
- else
- # Try to guess where the API is located by using DOMAIN or VIRTUAL_HOST and prefix it with "api."
- API_HOST=${API_HOST:-"api.${VIRTUAL_HOST:-"${DOMAIN:-"local.cortezaproject.org"}"}"}
- API_BASEURL=${API_FULL_URL:-"//${API_HOST}"}
-
- echo "window.CortezaAPI = '${API_BASEURL}'" > ./config.js
- fi
- fi
-
- BASE_PATH=${BASE_PATH:-"/"}
- if [ $BASE_PATH != "/" ]; then
- BASE_PATH_LENGTH=${#BASE_PATH}
- BASE_PATH_LAST_CHAR=${BASE_PATH:BASE_PATH_LENGTH-1:1}
-
- if [ $BASE_PATH_LAST_CHAR != "/" ]; then
- BASE_PATH="$BASE_PATH/"
- fi
- fi
-
- sed -i "s|||g" ./index.html
- sed -i "s|||g" ./index.html
-
- sed -i "s|{{BASE_PATH}}|$BASE_PATH|g" /etc/nginx/nginx.conf
-
-
- nginx -g "daemon off;"
-fi
diff --git a/client/web/privacy/nginx.conf b/client/web/privacy/nginx.conf
deleted file mode 100644
index c1be54219..000000000
--- a/client/web/privacy/nginx.conf
+++ /dev/null
@@ -1,46 +0,0 @@
-user nginx;
-worker_processes 1;
-
-error_log /dev/stdout warn;
-
-pid /var/run/nginx.pid;
-
-events {
- worker_connections 1024;
-}
-
-http {
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
-
- log_format json escape=json
- '{'
- '"@timestamp":"$time_iso8601",'
- '"remote_addr":"$remote_addr",'
- '"request":"$request",'
- '"status":$status,'
- '"body_bytes_sent":$body_bytes_sent,'
- '"request_time":$request_time,'
- '"http_referrer":"$http_referer",'
- '"http_user_agent":"$http_user_agent"'
- '}';
-
- access_log /dev/stdout json;
-
- sendfile on;
- keepalive_timeout 300;
-
- server {
- listen 80 default_server;
- listen [::]:80 default_server;
- server_name _;
-
- index index.html;
-
- root /usr/share/nginx/html;
-
- location {{BASE_PATH}} {
- try_files $uri {{BASE_PATH}}index.html;
- }
- }
-}
diff --git a/client/web/reporter/Dockerfile b/client/web/reporter/Dockerfile
deleted file mode 100644
index b983de379..000000000
--- a/client/web/reporter/Dockerfile
+++ /dev/null
@@ -1,37 +0,0 @@
-# build-stage
-FROM node:12.14-alpine as build-stage
-
-ENV PATH /app/node_modules/.bin:$PATH
-
-WORKDIR /app
-
-RUN apk update && apk add --no-cache git
-
-COPY package.json ./
-COPY yarn.lock ./
-
-RUN yarn install
-
-COPY . ./
-
-RUN yarn build
-
-
-# deploy stage
-FROM nginx:stable-alpine
-
-WORKDIR /usr/share/nginx/html
-
-COPY --from=build-stage /app/dist /usr/share/nginx/html
-COPY nginx.conf /etc/nginx/nginx.conf
-COPY CONTRIBUTING.* DCO LICENSE README.* ./
-COPY entrypoint.sh /entrypoint.sh
-
-RUN chmod +x /entrypoint.sh
-
-EXPOSE 80
-
-HEALTHCHECK --interval=30s --start-period=10s --timeout=30s \
- CMD wget --quiet --tries=1 --spider "http://127.0.0.1:80/config.js" || exit 1
-
-ENTRYPOINT ["/entrypoint.sh"]
diff --git a/client/web/reporter/entrypoint.sh b/client/web/reporter/entrypoint.sh
deleted file mode 100644
index d26330247..000000000
--- a/client/web/reporter/entrypoint.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-set -eu
-
-if [ ! -z "${1:-}" ]; then
- exec "$@"
-else
- # check if config.js is present (via volume)
- # or if it's missing
- if [ ! -f "./config.js" ]; then
- # config.js missing, generate it
- if [ ! -z "${CONFIGJS:-}" ]; then
- # use $CONFIGJS variable that might be passed to the container:
- # --env CONFIGJS="$(cat public/config.example.js)"
- echo "${CONFIGJS}" > ./config.js
- else
- # Try to guess where the API is located by using DOMAIN or VIRTUAL_HOST and prefix it with "api."
- API_HOST=${API_HOST:-"api.${VIRTUAL_HOST:-"${DOMAIN:-"local.cortezaproject.org"}"}"}
- API_BASEURL=${API_FULL_URL:-"//${API_HOST}"}
-
- echo "window.CortezaAPI = '${API_BASEURL}'" > ./config.js
- fi
- fi
-
- BASE_PATH=${BASE_PATH:-"/"}
- if [ $BASE_PATH != "/" ]; then
- BASE_PATH_LENGTH=${#BASE_PATH}
- BASE_PATH_LAST_CHAR=${BASE_PATH:BASE_PATH_LENGTH-1:1}
-
- if [ $BASE_PATH_LAST_CHAR != "/" ]; then
- BASE_PATH="$BASE_PATH/"
- fi
- fi
-
- sed -i "s|||g" ./index.html
- sed -i "s|||g" ./index.html
-
- sed -i "s|{{BASE_PATH}}|$BASE_PATH|g" /etc/nginx/nginx.conf
-
-
- nginx -g "daemon off;"
-fi
diff --git a/client/web/reporter/nginx.conf b/client/web/reporter/nginx.conf
deleted file mode 100644
index c1be54219..000000000
--- a/client/web/reporter/nginx.conf
+++ /dev/null
@@ -1,46 +0,0 @@
-user nginx;
-worker_processes 1;
-
-error_log /dev/stdout warn;
-
-pid /var/run/nginx.pid;
-
-events {
- worker_connections 1024;
-}
-
-http {
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
-
- log_format json escape=json
- '{'
- '"@timestamp":"$time_iso8601",'
- '"remote_addr":"$remote_addr",'
- '"request":"$request",'
- '"status":$status,'
- '"body_bytes_sent":$body_bytes_sent,'
- '"request_time":$request_time,'
- '"http_referrer":"$http_referer",'
- '"http_user_agent":"$http_user_agent"'
- '}';
-
- access_log /dev/stdout json;
-
- sendfile on;
- keepalive_timeout 300;
-
- server {
- listen 80 default_server;
- listen [::]:80 default_server;
- server_name _;
-
- index index.html;
-
- root /usr/share/nginx/html;
-
- location {{BASE_PATH}} {
- try_files $uri {{BASE_PATH}}index.html;
- }
- }
-}
diff --git a/client/web/workflow/Dockerfile b/client/web/workflow/Dockerfile
deleted file mode 100644
index b983de379..000000000
--- a/client/web/workflow/Dockerfile
+++ /dev/null
@@ -1,37 +0,0 @@
-# build-stage
-FROM node:12.14-alpine as build-stage
-
-ENV PATH /app/node_modules/.bin:$PATH
-
-WORKDIR /app
-
-RUN apk update && apk add --no-cache git
-
-COPY package.json ./
-COPY yarn.lock ./
-
-RUN yarn install
-
-COPY . ./
-
-RUN yarn build
-
-
-# deploy stage
-FROM nginx:stable-alpine
-
-WORKDIR /usr/share/nginx/html
-
-COPY --from=build-stage /app/dist /usr/share/nginx/html
-COPY nginx.conf /etc/nginx/nginx.conf
-COPY CONTRIBUTING.* DCO LICENSE README.* ./
-COPY entrypoint.sh /entrypoint.sh
-
-RUN chmod +x /entrypoint.sh
-
-EXPOSE 80
-
-HEALTHCHECK --interval=30s --start-period=10s --timeout=30s \
- CMD wget --quiet --tries=1 --spider "http://127.0.0.1:80/config.js" || exit 1
-
-ENTRYPOINT ["/entrypoint.sh"]
diff --git a/client/web/workflow/crowdin.yml b/client/web/workflow/crowdin.yml
deleted file mode 100644
index 9a3777815..000000000
--- a/client/web/workflow/crowdin.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-files:
- - source: /src/i18n/en
- ignore:
- - /src/i18n/en/index.js
- translation: /src/i18n/%locale%
diff --git a/client/web/workflow/entrypoint.sh b/client/web/workflow/entrypoint.sh
deleted file mode 100644
index d26330247..000000000
--- a/client/web/workflow/entrypoint.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/sh
-
-set -eu
-
-if [ ! -z "${1:-}" ]; then
- exec "$@"
-else
- # check if config.js is present (via volume)
- # or if it's missing
- if [ ! -f "./config.js" ]; then
- # config.js missing, generate it
- if [ ! -z "${CONFIGJS:-}" ]; then
- # use $CONFIGJS variable that might be passed to the container:
- # --env CONFIGJS="$(cat public/config.example.js)"
- echo "${CONFIGJS}" > ./config.js
- else
- # Try to guess where the API is located by using DOMAIN or VIRTUAL_HOST and prefix it with "api."
- API_HOST=${API_HOST:-"api.${VIRTUAL_HOST:-"${DOMAIN:-"local.cortezaproject.org"}"}"}
- API_BASEURL=${API_FULL_URL:-"//${API_HOST}"}
-
- echo "window.CortezaAPI = '${API_BASEURL}'" > ./config.js
- fi
- fi
-
- BASE_PATH=${BASE_PATH:-"/"}
- if [ $BASE_PATH != "/" ]; then
- BASE_PATH_LENGTH=${#BASE_PATH}
- BASE_PATH_LAST_CHAR=${BASE_PATH:BASE_PATH_LENGTH-1:1}
-
- if [ $BASE_PATH_LAST_CHAR != "/" ]; then
- BASE_PATH="$BASE_PATH/"
- fi
- fi
-
- sed -i "s|||g" ./index.html
- sed -i "s|||g" ./index.html
-
- sed -i "s|{{BASE_PATH}}|$BASE_PATH|g" /etc/nginx/nginx.conf
-
-
- nginx -g "daemon off;"
-fi
diff --git a/client/web/workflow/nginx.conf b/client/web/workflow/nginx.conf
deleted file mode 100644
index c1be54219..000000000
--- a/client/web/workflow/nginx.conf
+++ /dev/null
@@ -1,46 +0,0 @@
-user nginx;
-worker_processes 1;
-
-error_log /dev/stdout warn;
-
-pid /var/run/nginx.pid;
-
-events {
- worker_connections 1024;
-}
-
-http {
- include /etc/nginx/mime.types;
- default_type application/octet-stream;
-
- log_format json escape=json
- '{'
- '"@timestamp":"$time_iso8601",'
- '"remote_addr":"$remote_addr",'
- '"request":"$request",'
- '"status":$status,'
- '"body_bytes_sent":$body_bytes_sent,'
- '"request_time":$request_time,'
- '"http_referrer":"$http_referer",'
- '"http_user_agent":"$http_user_agent"'
- '}';
-
- access_log /dev/stdout json;
-
- sendfile on;
- keepalive_timeout 300;
-
- server {
- listen 80 default_server;
- listen [::]:80 default_server;
- server_name _;
-
- index index.html;
-
- root /usr/share/nginx/html;
-
- location {{BASE_PATH}} {
- try_files $uri {{BASE_PATH}}index.html;
- }
- }
-}