From 2fb4a7a7923cd8a84517352f4eb3a14847d2a1f0 Mon Sep 17 00:00:00 2001 From: Philipp Rothmann Date: Sat, 28 Dec 2024 16:07:07 +0100 Subject: [PATCH] fix: image names --- compose.yml | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/compose.yml b/compose.yml index baf056f..3768f4a 100644 --- a/compose.yml +++ b/compose.yml @@ -3,9 +3,9 @@ version: "3.8" services: app: - image: immich-server:latest + image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} volumes: - - ${UPLOAD_LOCATION}/photos:/usr/src/app/upload + - uploads:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro environment: - UPLOAD_LOCATION @@ -15,8 +15,9 @@ services: - DB_PASSWORD - DB_USERNAME - DB_DATABASE_NAME - ports: - - 2283:2283 + networks: + - proxy + - backend healthcheck: disable: false deploy: @@ -30,18 +31,21 @@ services: machine-learning: - image: immich-machine-learning:latest + image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} ports: - 3003:3003 volumes: - model-cache:/cache + networks: + - backend healthcheck: disable: false redis: image: redis:6.2-alpine@sha256:eaba718fecd1196d88533de7ba49bf903ad33664a92debb24660a922ecd9cac8 healthcheck: test: redis-cli ping || exit 1 - + networks: + - backend database: image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 environment: @@ -50,11 +54,16 @@ services: POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_INITDB_ARGS: '--data-checksums' volumes: - - ${UPLOAD_LOCATION}/postgres:/var/lib/postgresql/data - ports: - - 5432:5432 - + - postgres:/var/lib/postgresql/data + networks: + - backend networks: proxy: external: true + backend: + +volumes: + uploads: + postgres: + model-cache: \ No newline at end of file