Loading Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -15,4 +15,4 @@ COPY --from=builder /install/ /usr/local/ EXPOSE 80 STOPSIGNAL SIGINT CMD ["gunicorn", "-w", "1", "-b", "0.0.0.0:80", "--pythonpath", "/usr/local/lib/python3.9/site-packages", "searx.webapp:app"] CMD ["gunicorn", "-w", "1", "-b", "0.0.0.0:80", "--access-logfile", "/var/log/gunicorn/access.log", "--error-logfile", "/var/log/gunicorn/access.log", "--pythonpath", "/usr/local/lib/python3.9/site-packages", "searx.webapp:app"] docker-compose.yml +4 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ services: build: context: . dockerfile: Dockerfile logging: *default-logging restart: unless-stopped environment: SEARX_SECRET: "${SEARX_SECRET}" Loading @@ -31,16 +30,19 @@ services: SEARX_UI_DEFAULT_THEME: "${SEARX_UI_DEFAULT_THEME}" GUNICORN_LOGGER: 1 GUNICORN_LEVEL: INFO volumes: - /var/log/containers/spot:/var/log/gunicorn spot-nginx: image: registry.gitlab.e.foundation:5000/e/cloud/my-spot/nginx:${SPOT_NGINX_DOCKER_TAG} build: context: . dockerfile: nginx.Dockerfile logging: *default-logging restart: unless-stopped environment: SEARX_MORTY_URL: "${SEARX_MORTY_URL}" volumes: - /var/log/containers/nginx:/var/log/nginx filtron: image: dalf/filtron:latest Loading etc/nginx/conf.d/spot.conf +3 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,9 @@ server { add_header Content-Security-Policy "default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; form-action 'self'; font-src 'self'; frame-ancestors 'self'; base-uri 'self'; connect-src 'self' https://overpass-api.de; img-src 'self' __SEARX_MORTY_URL__ data: https://*.tile.openstreetmap.org; frame-src https://www.youtube-nocookie.com https://player.vimeo.com https://www.dailymotion.com https://www.deezer.com https://www.mixcloud.com https://w.soundcloud.com https://embed.spotify.com"; add_header X-Frame-Options "SAMEORIGIN"; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; root /var/www/spot; location = / { Loading Loading
Dockerfile +1 −1 Original line number Diff line number Diff line Loading @@ -15,4 +15,4 @@ COPY --from=builder /install/ /usr/local/ EXPOSE 80 STOPSIGNAL SIGINT CMD ["gunicorn", "-w", "1", "-b", "0.0.0.0:80", "--pythonpath", "/usr/local/lib/python3.9/site-packages", "searx.webapp:app"] CMD ["gunicorn", "-w", "1", "-b", "0.0.0.0:80", "--access-logfile", "/var/log/gunicorn/access.log", "--error-logfile", "/var/log/gunicorn/access.log", "--pythonpath", "/usr/local/lib/python3.9/site-packages", "searx.webapp:app"]
docker-compose.yml +4 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ services: build: context: . dockerfile: Dockerfile logging: *default-logging restart: unless-stopped environment: SEARX_SECRET: "${SEARX_SECRET}" Loading @@ -31,16 +30,19 @@ services: SEARX_UI_DEFAULT_THEME: "${SEARX_UI_DEFAULT_THEME}" GUNICORN_LOGGER: 1 GUNICORN_LEVEL: INFO volumes: - /var/log/containers/spot:/var/log/gunicorn spot-nginx: image: registry.gitlab.e.foundation:5000/e/cloud/my-spot/nginx:${SPOT_NGINX_DOCKER_TAG} build: context: . dockerfile: nginx.Dockerfile logging: *default-logging restart: unless-stopped environment: SEARX_MORTY_URL: "${SEARX_MORTY_URL}" volumes: - /var/log/containers/nginx:/var/log/nginx filtron: image: dalf/filtron:latest Loading
etc/nginx/conf.d/spot.conf +3 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,9 @@ server { add_header Content-Security-Policy "default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; form-action 'self'; font-src 'self'; frame-ancestors 'self'; base-uri 'self'; connect-src 'self' https://overpass-api.de; img-src 'self' __SEARX_MORTY_URL__ data: https://*.tile.openstreetmap.org; frame-src https://www.youtube-nocookie.com https://player.vimeo.com https://www.dailymotion.com https://www.deezer.com https://www.mixcloud.com https://w.soundcloud.com https://embed.spotify.com"; add_header X-Frame-Options "SAMEORIGIN"; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; root /var/www/spot; location = / { Loading