mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-05-02 13:18:52 +00:00
Remove Cockpit
This commit is contained in:
parent
380ade13a3
commit
0c9b58b6ac
8 changed files with 2 additions and 13 deletions
3
.env
3
.env
|
@ -85,9 +85,6 @@ OINKCODE=OPEN
|
||||||
# NEVER MAKE CHANGES TO THIS SECTION UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!!! #
|
# NEVER MAKE CHANGES TO THIS SECTION UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!!! #
|
||||||
###################################################################################
|
###################################################################################
|
||||||
|
|
||||||
# T-Pot Landing page provides Cockpit Link
|
|
||||||
COCKPIT=false
|
|
||||||
|
|
||||||
# docker.sock Path
|
# docker.sock Path
|
||||||
TPOT_DOCKER_SOCK=/var/run/docker.sock
|
TPOT_DOCKER_SOCK=/var/run/docker.sock
|
||||||
|
|
||||||
|
|
|
@ -764,7 +764,6 @@ services:
|
||||||
container_name: nginx
|
container_name: nginx
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- COCKPIT=${COCKPIT}
|
|
||||||
- TPOT_OSTYPE=${TPOT_OSTYPE}
|
- TPOT_OSTYPE=${TPOT_OSTYPE}
|
||||||
depends_on:
|
depends_on:
|
||||||
tpotinit:
|
tpotinit:
|
||||||
|
|
|
@ -768,7 +768,6 @@ services:
|
||||||
container_name: nginx
|
container_name: nginx
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- COCKPIT=${COCKPIT}
|
|
||||||
- TPOT_OSTYPE=${TPOT_OSTYPE}
|
- TPOT_OSTYPE=${TPOT_OSTYPE}
|
||||||
depends_on:
|
depends_on:
|
||||||
tpotinit:
|
tpotinit:
|
||||||
|
|
|
@ -914,7 +914,6 @@ services:
|
||||||
container_name: nginx
|
container_name: nginx
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- COCKPIT=${COCKPIT}
|
|
||||||
- TPOT_OSTYPE=${TPOT_OSTYPE}
|
- TPOT_OSTYPE=${TPOT_OSTYPE}
|
||||||
depends_on:
|
depends_on:
|
||||||
tpotinit:
|
tpotinit:
|
||||||
|
|
|
@ -768,7 +768,6 @@ services:
|
||||||
container_name: nginx
|
container_name: nginx
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- COCKPIT=${COCKPIT}
|
|
||||||
- TPOT_OSTYPE=${TPOT_OSTYPE}
|
- TPOT_OSTYPE=${TPOT_OSTYPE}
|
||||||
depends_on:
|
depends_on:
|
||||||
tpotinit:
|
tpotinit:
|
||||||
|
|
|
@ -5,8 +5,7 @@ services:
|
||||||
# nginx service
|
# nginx service
|
||||||
nginx:
|
nginx:
|
||||||
build: .
|
build: .
|
||||||
environment:
|
# environment:
|
||||||
- COCKPIT=false
|
|
||||||
container_name: nginx
|
container_name: nginx
|
||||||
restart: always
|
restart: always
|
||||||
tmpfs:
|
tmpfs:
|
||||||
|
|
2
docker/tpotinit/dist/entrypoint.sh
vendored
2
docker/tpotinit/dist/entrypoint.sh
vendored
|
@ -55,7 +55,7 @@ validate_format() {
|
||||||
local var_value=$(eval echo \$$var_name)
|
local var_value=$(eval echo \$$var_name)
|
||||||
|
|
||||||
case "$var_name" in
|
case "$var_name" in
|
||||||
TPOT_BLACKHOLE|TPOT_PERSISTENCE|TPOT_ATTACKMAP_TEXT|COCKPIT)
|
TPOT_BLACKHOLE|TPOT_PERSISTENCE|TPOT_ATTACKMAP_TEXT)
|
||||||
if ! [[ $var_value =~ ^(ENABLED|DISABLED|on|off|true|false)$ ]];
|
if ! [[ $var_value =~ ^(ENABLED|DISABLED|on|off|true|false)$ ]];
|
||||||
then
|
then
|
||||||
echo "# Error: Invalid value for $var_name. Expected ENABLED/DISABLED, on/off, true/false."
|
echo "# Error: Invalid value for $var_name. Expected ENABLED/DISABLED, on/off, true/false."
|
||||||
|
|
|
@ -85,9 +85,6 @@ OINKCODE=OPEN
|
||||||
# NEVER MAKE CHANGES TO THIS SECTION UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!!! #
|
# NEVER MAKE CHANGES TO THIS SECTION UNLESS YOU REALLY KNOW WHAT YOU ARE DOING!!! #
|
||||||
###################################################################################
|
###################################################################################
|
||||||
|
|
||||||
# T-Pot Landing page provides Cockpit Link
|
|
||||||
COCKPIT=false
|
|
||||||
|
|
||||||
# docker.sock Path
|
# docker.sock Path
|
||||||
TPOT_DOCKER_SOCK=/var/run/docker.sock
|
TPOT_DOCKER_SOCK=/var/run/docker.sock
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue