From c37bf9d5d0ec53e729b32e6a8f6ba49a38146338 Mon Sep 17 00:00:00 2001 From: Parsa <59599626+parsapoorsh@users.noreply.github.com> Date: Mon, 20 May 2024 18:28:47 +0330 Subject: [PATCH] fix: docker compose pull rate limit (#9600) * fix: docker compose pull rate limit with "registry.hub.docker.com/" behind the image name, there was an issue where "docker compose up -d" would throw a rate-limiting error, even when logged in using a docker account. it doesn't really matter where the image is downloaded from as long as it has the same sha256 hash in docker-compose.yml * fix: use `docker.io/` for image reference in docker-compose.yml --- docker/docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 6023150704..6884636756 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -40,12 +40,12 @@ services: redis: container_name: immich_redis - image: registry.hub.docker.com/library/redis:6.2-alpine@sha256:c0634a08e74a4bb576d02d1ee993dc05dba10e8b7b9492dfa28a7af100d46c01 + image: docker.io/redis:6.2-alpine@sha256:c0634a08e74a4bb576d02d1ee993dc05dba10e8b7b9492dfa28a7af100d46c01 restart: always database: container_name: immich_postgres - image: registry.hub.docker.com/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 + image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME}