Skip to content

Commit 836c503

Browse files
committed
add variables for docker image
1 parent 0016110 commit 836c503

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

birdhouse/optional-components/stac-populator/default.env

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
export STAC_POPULATOR_DOCKER=ghcr.io/crim-ca/stac-populator
2+
export STAC_POPULATOR_VERSION=0.0.0
3+
export STAC_POPULATOR_IMAGE='${STAC_POPULATOR_DOCKER}:${STAC_POPULATOR_VERSION}'
4+
15
export STAC_ASSET_GENERATOR_TIMEOUT=200
26

37
# add any new variables not already in 'VARS' or 'OPTIONAL_VARS' that must be replaced in templates here
@@ -13,3 +17,8 @@ VARS="$VARS $EXTRA_VARS"
1317
COMPONENT_DEPENDENCIES="
1418
./components/stac
1519
"
20+
21+
export DELAYED_EVAL="
22+
$DELAYED_EVAL
23+
STAC_POPULATOR_IMAGE
24+
"

birdhouse/optional-components/stac-populator/docker-compose-extra.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
# populates STAC catalog with sample collection items
1212
stac-populator:
1313
container_name: stac-populator
14-
image: ghcr.io/crim-ca/stac-populator:0.0.0
14+
image: ${STAC_POPULATOR_IMAGE}
1515
environment:
1616
- STAC_ASSET_GENERATOR_TIMEOUT=${STAC_ASSET_GENERATOR_TIMEOUT}
1717
- STAC_HOST=http://stac:8000/stac # STAC API internally accessed to avoid Twitcher authentication

0 commit comments

Comments
 (0)