File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ COMPOSE_DIR="${COMPOSE_DIR:-$(dirname "${THIS_DIR}")}"
17
17
if [ -f " ${COMPOSE_DIR} /read-configs.include.sh" ]; then
18
18
. " ${COMPOSE_DIR} /read-configs.include.sh"
19
19
20
- # Get THREDDS_SERVICE_DATA_LOCATION_ON_HOST
20
+ # Get THREDDS_SERVICE_DATA_LOCATION_ON_HOST, BIRDHOUSE_DATA_PERSIST_ROOT
21
21
read_configs
22
22
fi
23
23
24
24
25
25
if [ -z " ${DATASET_ROOT} " ]; then
26
26
# Default for when unable to source read-configs.include.sh (ie when
27
27
# used standalone outside of the checkout).
28
- DATASET_ROOT=" ${THREDDS_SERVICE_DATA_LOCATION_ON_HOST:= / data/ datasets} "
28
+ DATASET_ROOT=" ${DATASET_ROOT :- ${ THREDDS_SERVICE_DATA_LOCATION_ON_HOST:- ${BIRDHOUSE_DATA_PERSIST_ROOT :- / data} / datasets} } "
29
29
fi
30
30
31
31
FROM_SERVER=${FROM_SERVER:- " https://pavics.ouranos.ca/twitcher/ows/proxy/thredds/fileServer/birdhouse" }
You can’t perform that action at this time.
0 commit comments