mirror of
https://github.com/balena-io/open-balena.git
synced 2025-02-20 17:52:48 +00:00
Merge pull request #43 from balena-io/pin-service-tags
tags: Pin the image tags for the service stack
This commit is contained in:
commit
061440f109
5
compose/versions
Normal file
5
compose/versions
Normal file
@ -0,0 +1,5 @@
|
||||
export OPENBALENA_API_VERSION_TAG=v0.11.8
|
||||
export OPENBALENA_DB_VERSION_TAG=v2.0.3
|
||||
export OPENBALENA_REGISTRY_VERSION_TAG=v2.5.0
|
||||
export OPENBALENA_S3_VERSION_TAG=v2.5.0
|
||||
export OPENBALENA_VPN_VERSION_TAG=v8.10.0
|
@ -11,6 +11,12 @@ echo_bold() {
|
||||
printf "\\033[1m%s\\033[0m\\n" "$@"
|
||||
}
|
||||
|
||||
VERSIONS_FILE="${BASE_DIR}/compose/versions"
|
||||
if [ ! -f "$VERSIONS_FILE" ]; then
|
||||
echo_bold "No service versions defined in ${VERSIONS_FILE}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ENV_FILE="${CONFIG_DIR}/activate"
|
||||
if [ ! -f "$ENV_FILE" ]; then
|
||||
echo_bold 'No configuration found; please create one first with: ./scripts/quickstart'
|
||||
@ -19,7 +25,7 @@ if [ ! -f "$ENV_FILE" ]; then
|
||||
fi
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
source "${ENV_FILE}"; docker-compose \
|
||||
source "${VERSIONS_FILE}"; source "${ENV_FILE}"; docker-compose \
|
||||
--project-name 'openbalena' \
|
||||
-f "${BASE_DIR}/compose/services.yml" \
|
||||
-f "${CONFIG_DIR}/docker-compose.yml" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user