From 6fdc554e4396f950398fcf61640386ef70e57467 Mon Sep 17 00:00:00 2001 From: Akis Kesoglou Date: Thu, 28 Mar 2019 14:13:36 +0200 Subject: [PATCH] services: Update Registry service version Update open-balena-registry to 2.7.0 This allows registry to be configured to use its internal Redis instance for caching. It is still disabled by default though. Change-type: minor --- compose/services.yml | 6 +++++- compose/versions | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/compose/services.yml b/compose/services.yml index 2d530c1..b915920 100644 --- a/compose/services.yml +++ b/compose/services.yml @@ -64,7 +64,6 @@ services: service: component image: balena/open-balena-registry:${OPENBALENA_REGISTRY_VERSION_TAG:-master} depends_on: - - api - s3 - redis volumes: @@ -76,6 +75,11 @@ services: BALENA_TOKEN_AUTH_ISSUER: api.${OPENBALENA_HOST_NAME} BALENA_TOKEN_AUTH_REALM: https://api.${OPENBALENA_HOST_NAME}/auth/v1/token COMMON_REGION: + REGISTRY2_CACHE_ENABLED: "false" + REGISTRY2_CACHE_ADDR: 127.0.0.1:6379 + REGISTRY2_CACHE_DB: 0 + REGISTRY2_CACHE_MAXMEMORY_MB: 1024 # megabytes + REGISTRY2_CACHE_MAXMEMORY_POLICY: allkeys-lru REGISTRY2_S3_BUCKET: REGISTRY2_S3_KEY: REGISTRY2_S3_SECRET: diff --git a/compose/versions b/compose/versions index ad308e7..d60cbe6 100644 --- a/compose/versions +++ b/compose/versions @@ -1,5 +1,5 @@ export OPENBALENA_API_VERSION_TAG=v0.19.5 export OPENBALENA_DB_VERSION_TAG=v2.0.3 -export OPENBALENA_REGISTRY_VERSION_TAG=v2.5.0 +export OPENBALENA_REGISTRY_VERSION_TAG=v2.7.0 export OPENBALENA_S3_VERSION_TAG=v2.6.2 export OPENBALENA_VPN_VERSION_TAG=v8.10.0