This commit is contained in:
msnie
2025-03-12 15:08:26 +01:00
parent 95cef05305
commit 52ce086a5d
+12
View File
@@ -12,6 +12,7 @@ name: immich
services: services:
immich-server: immich-server:
networks: networks:
- internal
- traefik - traefik
container_name: immich_server container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
@@ -38,6 +39,8 @@ services:
immich-machine-learning: immich-machine-learning:
container_name: immich_machine_learning container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
networks:
- internal
volumes: volumes:
- model-cache:/cache - model-cache:/cache
env_file: env_file:
@@ -48,6 +51,8 @@ services:
redis: redis:
container_name: immich_redis container_name: immich_redis
networks:
- internal
image: docker.io/redis:6.2-alpine@sha256:148bb5411c184abd288d9aaed139c98123eeb8824c5d3fce03cf721db58066d8 image: docker.io/redis:6.2-alpine@sha256:148bb5411c184abd288d9aaed139c98123eeb8824c5d3fce03cf721db58066d8
healthcheck: healthcheck:
test: redis-cli ping || exit 1 test: redis-cli ping || exit 1
@@ -55,6 +60,8 @@ services:
database: database:
container_name: immich_postgres container_name: immich_postgres
networks:
- internal
image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:739cdd626151ff1f796dc95a6591b55a714f341c737e27f045019ceabf8e8c52 image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:739cdd626151ff1f796dc95a6591b55a714f341c737e27f045019ceabf8e8c52
environment: environment:
POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_PASSWORD: ${DB_PASSWORD}
@@ -91,6 +98,11 @@ networks:
external: true external: true
networks:
internal:
external: false