mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 20:42:11 +00:00
Merge branch 'master' into dev
This commit is contained in:
commit
ef812c6b82
12 changed files with 33 additions and 33 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
### Vars, Ports for Standard services
|
### Vars, Ports for Standard services
|
||||||
myHOSTPORTS="7634 64294 64295"
|
myHOSTPORTS="7634 64294 64295 64297 64304"
|
||||||
myDOCKERCOMPOSEYML="$1"
|
myDOCKERCOMPOSEYML="$1"
|
||||||
myRULESFUNCTION="$2"
|
myRULESFUNCTION="$2"
|
||||||
|
|
||||||
|
|
|
@ -237,9 +237,9 @@ services:
|
||||||
- /run
|
- /run
|
||||||
- /var/lib/nginx/tmp:uid=100,gid=82
|
- /var/lib/nginx/tmp:uid=100,gid=82
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
ports:
|
# ports:
|
||||||
- "64297:64297"
|
# - "64297:64297"
|
||||||
- "127.0.0.1:64304:64304"
|
# - "127.0.0.1:64304:64304"
|
||||||
image: "dtagdevsec/nginx:2204"
|
image: "dtagdevsec/nginx:2204"
|
||||||
read_only: true
|
read_only: true
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -118,9 +118,9 @@ services:
|
||||||
- /run
|
- /run
|
||||||
- /var/lib/nginx/tmp:uid=100,gid=82
|
- /var/lib/nginx/tmp:uid=100,gid=82
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
ports:
|
# ports:
|
||||||
- "64297:64297"
|
# - "64297:64297"
|
||||||
- "127.0.0.1:64304:64304"
|
# - "127.0.0.1:64304:64304"
|
||||||
image: "dtagdevsec/nginx:2204"
|
image: "dtagdevsec/nginx:2204"
|
||||||
read_only: true
|
read_only: true
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -408,9 +408,9 @@ services:
|
||||||
- /run
|
- /run
|
||||||
- /var/lib/nginx/tmp:uid=100,gid=82
|
- /var/lib/nginx/tmp:uid=100,gid=82
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
ports:
|
# ports:
|
||||||
- "64297:64297"
|
# - "64297:64297"
|
||||||
- "127.0.0.1:64304:64304"
|
# - "127.0.0.1:64304:64304"
|
||||||
image: "dtagdevsec/nginx:2204"
|
image: "dtagdevsec/nginx:2204"
|
||||||
read_only: true
|
read_only: true
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -227,9 +227,9 @@ services:
|
||||||
- /run
|
- /run
|
||||||
- /var/lib/nginx/tmp:uid=100,gid=82
|
- /var/lib/nginx/tmp:uid=100,gid=82
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
ports:
|
# ports:
|
||||||
- "64297:64297"
|
# - "64297:64297"
|
||||||
- "127.0.0.1:64304:64304"
|
# - "127.0.0.1:64304:64304"
|
||||||
image: "dtagdevsec/nginx:2204"
|
image: "dtagdevsec/nginx:2204"
|
||||||
read_only: true
|
read_only: true
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -221,9 +221,9 @@ services:
|
||||||
- /run
|
- /run
|
||||||
- /var/lib/nginx/tmp:uid=100,gid=82
|
- /var/lib/nginx/tmp:uid=100,gid=82
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
ports:
|
# ports:
|
||||||
- "64297:64297"
|
# - "64297:64297"
|
||||||
- "127.0.0.1:64304:64304"
|
# - "127.0.0.1:64304:64304"
|
||||||
image: "dtagdevsec/nginx:2204"
|
image: "dtagdevsec/nginx:2204"
|
||||||
read_only: true
|
read_only: true
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -248,9 +248,9 @@ services:
|
||||||
- /run
|
- /run
|
||||||
- /var/lib/nginx/tmp:uid=100,gid=82
|
- /var/lib/nginx/tmp:uid=100,gid=82
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
ports:
|
# ports:
|
||||||
- "64297:64297"
|
# - "64297:64297"
|
||||||
- "127.0.0.1:64304:64304"
|
# - "127.0.0.1:64304:64304"
|
||||||
image: "dtagdevsec/nginx:2204"
|
image: "dtagdevsec/nginx:2204"
|
||||||
read_only: true
|
read_only: true
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -552,9 +552,9 @@ services:
|
||||||
- /run
|
- /run
|
||||||
- /var/lib/nginx/tmp:uid=100,gid=82
|
- /var/lib/nginx/tmp:uid=100,gid=82
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
ports:
|
# ports:
|
||||||
- "64297:64297"
|
# - "64297:64297"
|
||||||
- "127.0.0.1:64304:64304"
|
# - "127.0.0.1:64304:64304"
|
||||||
image: "dtagdevsec/nginx:2204"
|
image: "dtagdevsec/nginx:2204"
|
||||||
read_only: true
|
read_only: true
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -639,9 +639,9 @@ services:
|
||||||
- /run
|
- /run
|
||||||
- /var/lib/nginx/tmp:uid=100,gid=82
|
- /var/lib/nginx/tmp:uid=100,gid=82
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
ports:
|
# ports:
|
||||||
- "64297:64297"
|
# - "64297:64297"
|
||||||
- "127.0.0.1:64304:64304"
|
# - "127.0.0.1:64304:64304"
|
||||||
image: "dtagdevsec/nginx:2204"
|
image: "dtagdevsec/nginx:2204"
|
||||||
read_only: true
|
read_only: true
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -264,9 +264,9 @@ services:
|
||||||
- /run
|
- /run
|
||||||
- /var/lib/nginx/tmp:uid=100,gid=82
|
- /var/lib/nginx/tmp:uid=100,gid=82
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
ports:
|
# ports:
|
||||||
- "64297:64297"
|
# - "64297:64297"
|
||||||
- "127.0.0.1:64304:64304"
|
# - "127.0.0.1:64304:64304"
|
||||||
image: "dtagdevsec/nginx:2204"
|
image: "dtagdevsec/nginx:2204"
|
||||||
read_only: true
|
read_only: true
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# Some global vars
|
# Some global vars
|
||||||
myCONFIGFILE="/opt/tpot/etc/tpot.yml"
|
myCONFIGFILE="/opt/tpot/etc/tpot.yml"
|
||||||
myCOMPOSEPATH="/opt/tpot/etc/compose"
|
myCOMPOSEPATH="/opt/tpot/etc/compose"
|
||||||
myLSB_RELEASE="bullseye"
|
myLSB_RELEASE=("bullseye" "bookworm")
|
||||||
myRED="[0;31m"
|
myRED="[0;31m"
|
||||||
myGREEN="[0;32m"
|
myGREEN="[0;32m"
|
||||||
myWHITE="[0;0m"
|
myWHITE="[0;0m"
|
||||||
|
@ -91,7 +91,7 @@ local myMASTERVERSION="22.04.0"
|
||||||
echo
|
echo
|
||||||
echo "### Checking for Release ID"
|
echo "### Checking for Release ID"
|
||||||
myRELEASE=$(lsb_release -c | awk '{ print $2 }')
|
myRELEASE=$(lsb_release -c | awk '{ print $2 }')
|
||||||
if [ "$myRELEASE" != "$myLSB_RELEASE" ]
|
if [[ ! " ${myLSB_RELEASE[@]} " =~ " ${myRELEASE} " ]];
|
||||||
then
|
then
|
||||||
echo "###### Need to upgrade to Debian 11 (Bullseye) first:$myWHITE"" [ $myRED""NOT OK""$myWHITE ]"
|
echo "###### Need to upgrade to Debian 11 (Bullseye) first:$myWHITE"" [ $myRED""NOT OK""$myWHITE ]"
|
||||||
echo "###### Upgrade may result in complete data loss and should not be run via SSH."
|
echo "###### Upgrade may result in complete data loss and should not be run via SSH."
|
||||||
|
|
|
@ -20,9 +20,9 @@ services:
|
||||||
# cpu_count: 1
|
# cpu_count: 1
|
||||||
# cpus: 0.75
|
# cpus: 0.75
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
ports:
|
# ports:
|
||||||
- "64297:64297"
|
# - "64297:64297"
|
||||||
- "127.0.0.1:64304:64304"
|
# - "127.0.0.1:64304:64304"
|
||||||
image: "dtagdevsec/nginx:2204"
|
image: "dtagdevsec/nginx:2204"
|
||||||
read_only: true
|
read_only: true
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Reference in a new issue