mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-20 06:02:24 +00:00
tweaking:
- bump nginx to alpine 3.20 - bump cyberchef to latest release - bump elasticvue to latest release - update nginx config
This commit is contained in:
parent
b75e22cabc
commit
967ddf6d2f
7 changed files with 7 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM alpine:3.19
|
||||
FROM alpine:3.20
|
||||
#
|
||||
# Include dist
|
||||
COPY dist/ /root/dist/
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
FROM node:18-alpine as builder
|
||||
#
|
||||
# Prep and build Cyberchef
|
||||
ENV CY_VER=v10.8.2
|
||||
ENV CY_VER=v10.19.4
|
||||
RUN apk -U --no-cache add build-base git python3 && \
|
||||
chown -R node:node /srv && \
|
||||
npm install -g grunt-cli
|
||||
|
|
|
@ -4,8 +4,7 @@ FROM node:20-alpine AS builder
|
|||
#
|
||||
# Prep and build Elasticvue
|
||||
RUN apk -U --no-cache add git && \
|
||||
# git clone https://github.com/cars10/elasticvue -b v1.0.4 /opt/src && \
|
||||
git clone https://github.com/t3chn0m4g3/elasticvue /opt/src && \
|
||||
git clone https://github.com/cars10/elasticvue -b v1.1.0 /opt/src && \
|
||||
# We need to adjust consts.ts so the user has connection suggestion for reverse proxied ES
|
||||
sed -i "s#export const DEFAULT_CLUSTER_URI = 'http://localhost:9200'#export const DEFAULT_CLUSTER_URI = window.location.origin + '/es'#g" /opt/src/src/consts.ts && \
|
||||
sed -i 's#href="/images/logo/favicon.ico"#href="images/logo/favicon.ico"#g' /opt/src/index.html && \
|
||||
|
|
3
docker/nginx/dist/conf/lsweb.conf
vendored
3
docker/nginx/dist/conf/lsweb.conf
vendored
|
@ -7,7 +7,8 @@ server {
|
|||
#########################
|
||||
### Basic server settings
|
||||
#########################
|
||||
listen 64294 ssl http2;
|
||||
listen 64294 ssl;
|
||||
http2 on;
|
||||
index index.html;
|
||||
ssl_protocols TLSv1.3;
|
||||
server_name example.com;
|
||||
|
|
3
docker/nginx/dist/conf/tpotweb.conf
vendored
3
docker/nginx/dist/conf/tpotweb.conf
vendored
|
@ -7,7 +7,8 @@ server {
|
|||
#########################
|
||||
### Basic server settings
|
||||
#########################
|
||||
listen 64297 ssl http2;
|
||||
listen 64297 ssl;
|
||||
http2 on;
|
||||
index index.html;
|
||||
ssl_protocols TLSv1.3;
|
||||
server_name example.com;
|
||||
|
|
BIN
docker/nginx/dist/html/cyberchef/cyberchef.tgz
vendored
BIN
docker/nginx/dist/html/cyberchef/cyberchef.tgz
vendored
Binary file not shown.
BIN
docker/nginx/dist/html/esvue/esvue.tgz
vendored
BIN
docker/nginx/dist/html/esvue/esvue.tgz
vendored
Binary file not shown.
Loading…
Reference in a new issue