This commit is contained in:
tavo 2025-08-02 15:40:33 -06:00
parent 2891e813db
commit b58261728c

View file

@ -18,6 +18,8 @@ services:
configs: configs:
- source: serve-config - source: serve-config
target: /ts/serve.json target: /ts/serve.json
networks:
- ts_immich_net
immich-server: immich-server:
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}
@ -36,9 +38,12 @@ services:
- redis - redis
- database - database
- ts-immich - ts-immich
restart: on-failure:2 restart: on-failure:1
healthcheck: healthcheck:
disable: false disable: false
networks:
- immich_default
- ts_immich_net
immich-machine-learning: immich-machine-learning:
container_name: immich_machine_learning container_name: immich_machine_learning
# For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn] to the image tag. # For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn] to the image tag.
@ -54,12 +59,16 @@ services:
restart: always restart: always
healthcheck: healthcheck:
disable: false disable: false
networks:
- immich_default
redis: redis:
container_name: immich_redis container_name: immich_redis
image: docker.io/valkey/valkey:8-bookworm@sha256:facc1d2c3462975c34e10fccb167bfa92b0e0dbd992fc282c29a61c3243afb11 image: docker.io/valkey/valkey:8-bookworm@sha256:facc1d2c3462975c34e10fccb167bfa92b0e0dbd992fc282c29a61c3243afb11
healthcheck: healthcheck:
test: redis-cli ping || exit 1 test: redis-cli ping || exit 1
restart: always restart: always
networks:
- immich_default
database: database:
container_name: immich_postgres container_name: immich_postgres
image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:32324a2f41df5de9efe1af166b7008c3f55646f8d0e00d9550c16c9822366b4a image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:32324a2f41df5de9efe1af166b7008c3f55646f8d0e00d9550c16c9822366b4a
@ -75,9 +84,16 @@ services:
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data - ${DB_DATA_LOCATION}:/var/lib/postgresql/data
shm_size: 128mb shm_size: 128mb
restart: always restart: always
networks:
- immich_default
volumes: volumes:
model-cache: model-cache:
tailscale: tailscale:
networks:
ts_immich_net:
driver: bridge
immich_default:
driver: bridge
configs: configs:
serve-config: serve-config:
content: | content: |