refactor: Move vars to their setup files

This commit is contained in:
janskiba
2024-03-11 10:34:05 +00:00
parent 7245ddc720
commit 7478d804df
6 changed files with 13 additions and 15 deletions

View File

@ -1,6 +1,9 @@
#!/bin/bash -e
if [ "$ENABLE_DATASHIELD" == true ]; then
# HACK: This only works because exporter-setup.sh and teiler-setup.sh are sourced after datashield-setup.sh
ENABLE_EXPORTER=true
ENABLE_TEILER=true
log INFO "DataSHIELD setup detected -- will start DataSHIELD services."
OVERRIDE+=" -f ./$PROJECT/modules/datashield-compose.yml"
EXPORTER_OPAL_PASSWORD="$(generate_password \"exporter in Opal\")"