mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-20 06:02:24 +00:00
prep for updated nginx image
This commit is contained in:
parent
58aa3162cb
commit
adab02a067
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.13
|
FROM alpine:3.14
|
||||||
#
|
#
|
||||||
# Include dist
|
# Include dist
|
||||||
ADD dist/ /root/dist/
|
ADD dist/ /root/dist/
|
||||||
|
@ -64,6 +64,7 @@ RUN apk -U --no-cache add \
|
||||||
sed -i "s/APP_NAME=Heimdall/APP_NAME=T-Pot/g" /var/lib/nginx/html/.env && \
|
sed -i "s/APP_NAME=Heimdall/APP_NAME=T-Pot/g" /var/lib/nginx/html/.env && \
|
||||||
## Add Nginx / T-Pot specific configs
|
## Add Nginx / T-Pot specific configs
|
||||||
rm -rf /etc/nginx/conf.d/* /usr/share/nginx/html/* && \
|
rm -rf /etc/nginx/conf.d/* /usr/share/nginx/html/* && \
|
||||||
|
mkdir -p /etc/nginx/conf.d && \
|
||||||
cp /root/dist/conf/nginx.conf /etc/nginx/ && \
|
cp /root/dist/conf/nginx.conf /etc/nginx/ && \
|
||||||
cp -R /root/dist/conf/ssl /etc/nginx/ && \
|
cp -R /root/dist/conf/ssl /etc/nginx/ && \
|
||||||
cp /root/dist/conf/tpotweb.conf /etc/nginx/conf.d/ && \
|
cp /root/dist/conf/tpotweb.conf /etc/nginx/conf.d/ && \
|
||||||
|
|
|
@ -26,7 +26,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "64297:64297"
|
- "64297:64297"
|
||||||
- "127.0.0.1:64304:64304"
|
- "127.0.0.1:64304:64304"
|
||||||
image: "ghcr.io/telekom-security/nginx:2006"
|
image: "dtagdevsec/nginx:2006"
|
||||||
read_only: true
|
read_only: true
|
||||||
volumes:
|
volumes:
|
||||||
- /data/nginx/cert/:/etc/nginx/cert/:ro
|
- /data/nginx/cert/:/etc/nginx/cert/:ro
|
||||||
|
|
Loading…
Reference in a new issue