Add a .env file
This allows customizations on different machines, like my laptop vs my desktop.
This commit is contained in:
parent
96237c7599
commit
3ae88f984a
3 changed files with 13 additions and 8 deletions
|
|
@ -1,9 +1,11 @@
|
|||
#!/run/current-system/sw/bin/bash
|
||||
# normal
|
||||
export $(cat /var/run/secrets/nidus-dev-sync-env | xargs) && BIND=127.0.0.1:9002 FLOGO_BIND=:9001 FLOGO_UPSTREAM=http://127.0.0.1:9001 VERBOSE=1 ../flogo/flogo -target .
|
||||
# MITM proxy
|
||||
#export $(cat /var/run/secrets/nidus-dev-sync-env | xargs) && BIND=127.0.0.1:9001 FLOGO_BIND=:9000 FLOGO_UPSTREAM=http://127.0.0.1:9001 MITM_PROXY=http://127.0.0.1:8080 ../flogo/flogo -target .
|
||||
# verbose
|
||||
#export $(cat /var/run/secrets/nidus-dev-sync-env | xargs) && BIND=127.0.0.1:9001 FLOGO_BIND=:9000 FLOGO_UPSTREAM=http://127.0.0.1:9001 FLOGO_VERBOSE=1 ../flogo/flogo -target .
|
||||
# no TUI
|
||||
#export $(cat /var/run/secrets/nidus-dev-sync-env | xargs) && BIND=127.0.0.1:9001 FLOGO_BIND=:9000 FLOGO_DISABLE_TUI=1 FLOGO_UPSTREAM=http://127.0.0.1:9001 ../flogo/flogo -target .
|
||||
#MITM_PROXY=http://127.0.0.1:8080
|
||||
# Flogo verbose
|
||||
#FLOGO_VERBOSE=1
|
||||
# No flogo TUI
|
||||
#FLOGO_DISABLE_TUI=1
|
||||
|
||||
export $(cat /var/run/secrets/nidus-dev-sync-env | xargs) &&
|
||||
export $(cat .env | xargs) && \
|
||||
../flogo/flogo -target .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue