Adding network for immich
This commit is contained in:
parent
710db95a35
commit
cfa8bbdea4
1 changed files with 15 additions and 5 deletions
|
@ -51,11 +51,13 @@ services:
|
|||
ports:
|
||||
- "2283:2283"
|
||||
depends_on:
|
||||
- redis
|
||||
- database
|
||||
- immich-redis
|
||||
- immich-database
|
||||
restart: always
|
||||
healthcheck:
|
||||
disable: false
|
||||
networks:
|
||||
- immich
|
||||
immich-machine-learning:
|
||||
container_name: immich-machine-learning
|
||||
# For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn] to the image tag.
|
||||
|
@ -71,13 +73,17 @@ services:
|
|||
restart: always
|
||||
healthcheck:
|
||||
disable: false
|
||||
redis:
|
||||
container_name: redis
|
||||
networks:
|
||||
- immich
|
||||
immich-redis:
|
||||
container_name: immich-redis
|
||||
image: docker.io/redis:6.2-alpine@sha256:148bb5411c184abd288d9aaed139c98123eeb8824c5d3fce03cf721db58066d8
|
||||
healthcheck:
|
||||
test: redis-cli ping || exit 1
|
||||
restart: always
|
||||
database:
|
||||
networks:
|
||||
- immich
|
||||
immich-postgres:
|
||||
container_name: immich-postgres
|
||||
image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:739cdd626151ff1f796dc95a6591b55a714f341c737e27f045019ceabf8e8c52
|
||||
environment:
|
||||
|
@ -97,3 +103,7 @@ services:
|
|||
command: >-
|
||||
postgres -c shared_preload_libraries=vectors.so -c 'search_path="$$user", public, vectors' -c logging_collector=on -c max_wal_size=2GB -c shared_buffers=512MB -c wal_compression=on
|
||||
restart: always
|
||||
networks:
|
||||
- immich
|
||||
networks:
|
||||
immich:
|
||||
|
|
Loading…
Reference in a new issue