mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-08-23 03:16:55 +00:00
reads TPOT_TYPE variable from .env, and copies the appropriate file from compose to docker-compose.yml
This commit is contained in:
parent
b3c0438b1c
commit
b348734403
1 changed files with 3 additions and 1 deletions
|
@ -77,6 +77,8 @@ function fuSELFUPDATE () {
|
|||
echo
|
||||
# determines if variable TPOT_TYPE is set
|
||||
if [ -z "$TPOT_TYPE" ]; then
|
||||
cp compose/standard.yml docker-compose.yml
|
||||
else
|
||||
# There are 3 cases for TPOT_TYPE: HIVE, SENSOR and MOBILE
|
||||
if "$TPOT_TYPE" == "HIVE" ]; then
|
||||
cp compose/standard.yml docker-compose.yml
|
||||
|
|
Loading…
Reference in a new issue