From 3f71d2d33de2618d2a73855b1fc946b927f30592 Mon Sep 17 00:00:00 2001 From: Dan Cowell Date: Mon, 19 Jun 2023 10:51:46 +0900 Subject: [PATCH] chore(deps): change compose service dependencies to use alpine variants (#2825) * chore(deps): change compose service dependencies to use alpine variants * chore(deps): pin manifest hashes for dependency containers --- docker/docker-compose.dev.yml | 6 +++--- docker/docker-compose.test.yml | 4 ++-- docker/docker-compose.yml | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docker/docker-compose.dev.yml b/docker/docker-compose.dev.yml index 101017bc1f..ac47aeb005 100644 --- a/docker/docker-compose.dev.yml +++ b/docker/docker-compose.dev.yml @@ -94,7 +94,7 @@ services: typesense: container_name: immich_typesense - image: typesense/typesense:0.24.1 + image: typesense/typesense:0.24.1@sha256:9bcff2b829f12074426ca044b56160ca9d777a0c488303469143dd9f8259d4dd environment: - TYPESENSE_API_KEY=${TYPESENSE_API_KEY} - TYPESENSE_DATA_DIR=/data @@ -105,11 +105,11 @@ services: redis: container_name: immich_redis - image: redis:6.2 + image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3 database: container_name: immich_postgres - image: postgres:14 + image: postgres:14-alpine@sha256:28407a9961e76f2d285dc6991e8e48893503cc3836a4755bbc2d40bcc272a441 env_file: - .env environment: diff --git a/docker/docker-compose.test.yml b/docker/docker-compose.test.yml index 51d397b022..ccc187fa54 100644 --- a/docker/docker-compose.test.yml +++ b/docker/docker-compose.test.yml @@ -25,12 +25,12 @@ services: - immich-test-network immich-redis-test: container_name: immich-redis-test - image: redis:6.2 + image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3 networks: - immich-test-network immich-database-test: container_name: immich-database-test - image: postgres:14 + image: postgres:14-alpine@sha256:28407a9961e76f2d285dc6991e8e48893503cc3836a4755bbc2d40bcc272a441 env_file: - .env.test environment: diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index af0848abcd..9011b6d960 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -47,7 +47,7 @@ services: typesense: container_name: immich_typesense - image: typesense/typesense:0.24.1 + image: typesense/typesense:0.24.1@sha256:9bcff2b829f12074426ca044b56160ca9d777a0c488303469143dd9f8259d4dd environment: - TYPESENSE_API_KEY=${TYPESENSE_API_KEY} - TYPESENSE_DATA_DIR=/data @@ -59,12 +59,12 @@ services: redis: container_name: immich_redis - image: redis:6.2 + image: redis:6.2-alpine@sha256:70a7a5b641117670beae0d80658430853896b5ef269ccf00d1827427e3263fa3 restart: always database: container_name: immich_postgres - image: postgres:14 + image: postgres:14-alpine@sha256:28407a9961e76f2d285dc6991e8e48893503cc3836a4755bbc2d40bcc272a441 env_file: - .env environment: