search multiple locations for default compose files.
PR #85 introduced default compose files for docker/singularity services, checking only TERRA_APP_DIR for expected compose files. However, in makeself/JUST_RODEO mode, TERRA_APP_DIR contains no compose files; compose files are instead in ${TERRA_APP_PREFIXES[0]}_SOURCE_DIR, located at a temporary location on disk. Search (in order) both directories for expected compose files, using the first discovered compose file as the default.
search multiple locations for default compose files.
PR #85 introduced default compose files for docker/singularity services, checking only
TERRA_APP_DIR
for expected compose files. However, in makeself/JUST_RODEO mode,TERRA_APP_DIR
contains no compose files; compose files are instead in${TERRA_APP_PREFIXES[0]}_SOURCE_DIR
, located at a temporary location on disk. Search (in order) both directories for expected compose files, using the first discovered compose file as the default.