fix: image names

This commit is contained in:
Philipp Rothmann 2024-12-28 16:07:07 +01:00
parent e3839a7006
commit 2fb4a7a792

View File

@ -3,9 +3,9 @@ version: "3.8"
services: services:
app: app:
image: immich-server:latest image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
volumes: volumes:
- ${UPLOAD_LOCATION}/photos:/usr/src/app/upload - uploads:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
environment: environment:
- UPLOAD_LOCATION - UPLOAD_LOCATION
@ -15,8 +15,9 @@ services:
- DB_PASSWORD - DB_PASSWORD
- DB_USERNAME - DB_USERNAME
- DB_DATABASE_NAME - DB_DATABASE_NAME
ports: networks:
- 2283:2283 - proxy
- backend
healthcheck: healthcheck:
disable: false disable: false
deploy: deploy:
@ -30,18 +31,21 @@ services:
machine-learning: machine-learning:
image: immich-machine-learning:latest image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
ports: ports:
- 3003:3003 - 3003:3003
volumes: volumes:
- model-cache:/cache - model-cache:/cache
networks:
- backend
healthcheck: healthcheck:
disable: false disable: false
redis: redis:
image: redis:6.2-alpine@sha256:eaba718fecd1196d88533de7ba49bf903ad33664a92debb24660a922ecd9cac8 image: redis:6.2-alpine@sha256:eaba718fecd1196d88533de7ba49bf903ad33664a92debb24660a922ecd9cac8
healthcheck: healthcheck:
test: redis-cli ping || exit 1 test: redis-cli ping || exit 1
networks:
- backend
database: database:
image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
environment: environment:
@ -50,11 +54,16 @@ services:
POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_DB: ${DB_DATABASE_NAME}
POSTGRES_INITDB_ARGS: '--data-checksums' POSTGRES_INITDB_ARGS: '--data-checksums'
volumes: volumes:
- ${UPLOAD_LOCATION}/postgres:/var/lib/postgresql/data - postgres:/var/lib/postgresql/data
ports: networks:
- 5432:5432 - backend
networks: networks:
proxy: proxy:
external: true external: true
backend:
volumes:
uploads:
postgres:
model-cache: