Skip to content

Commit

Permalink
add variables for docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
mishaschwartz committed Dec 3, 2024
1 parent 0016110 commit 836c503
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions birdhouse/optional-components/stac-populator/default.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
export STAC_POPULATOR_DOCKER=ghcr.io/crim-ca/stac-populator
export STAC_POPULATOR_VERSION=0.0.0
export STAC_POPULATOR_IMAGE='${STAC_POPULATOR_DOCKER}:${STAC_POPULATOR_VERSION}'

export STAC_ASSET_GENERATOR_TIMEOUT=200

# add any new variables not already in 'VARS' or 'OPTIONAL_VARS' that must be replaced in templates here
Expand All @@ -13,3 +17,8 @@ VARS="$VARS $EXTRA_VARS"
COMPONENT_DEPENDENCIES="
./components/stac
"

export DELAYED_EVAL="
$DELAYED_EVAL
STAC_POPULATOR_IMAGE
"
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
# populates STAC catalog with sample collection items
stac-populator:
container_name: stac-populator
image: ghcr.io/crim-ca/stac-populator:0.0.0
image: ${STAC_POPULATOR_IMAGE}
environment:
- STAC_ASSET_GENERATOR_TIMEOUT=${STAC_ASSET_GENERATOR_TIMEOUT}
- STAC_HOST=http://stac:8000/stac # STAC API internally accessed to avoid Twitcher authentication
Expand Down

0 comments on commit 836c503

Please sign in to comment.