diff --git a/docker_compose/audiobookshelf/docker-compose.yaml b/docker_compose/audiobookshelf/docker-compose.yaml index f50abf1..400cea5 100644 --- a/docker_compose/audiobookshelf/docker-compose.yaml +++ b/docker_compose/audiobookshelf/docker-compose.yaml @@ -14,6 +14,7 @@ services: - PUID=1000 # Use your actual host UID - PGID=1000 # Use your actual host GID restart: unless-stopped + volumes: books_nfs: driver: local diff --git a/docker_compose/dozzel/docker-compose.yaml b/docker_compose/dozzel/docker-compose.yaml index 62542e0..bcdd88c 100644 --- a/docker_compose/dozzel/docker-compose.yaml +++ b/docker_compose/dozzel/docker-compose.yaml @@ -6,5 +6,5 @@ services: volumes: - /var/run/docker.sock:/var/run/docker.sock:ro ports: - - 4343:8080 - restart: always \ No newline at end of file + - ${DOZZEL_PORT}:8080 + restart: unless-stopped \ No newline at end of file diff --git a/docker_compose/immich/docker-compose.yaml b/docker_compose/immich/docker-compose.yaml index 19c98b0..d7ad8a7 100644 --- a/docker_compose/immich/docker-compose.yaml +++ b/docker_compose/immich/docker-compose.yaml @@ -17,36 +17,42 @@ services: env_file: - .env ports: - - "2283:2283" + - "${IMMICH_PORT}:2283" depends_on: - redis - database - restart: always + restart: unless-stopped healthcheck: disable: false + networks: + - immich-network - # immich-machine-learning: - # container_name: immich_machine_learning - # # For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag. - # # Example tag: ${IMMICH_VERSION:-release}-cuda - # image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} - # # extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration - # # file: hwaccel.ml.yml - # # service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable - # volumes: - # - model-cache:/cache - # env_file: - # - .env - # restart: always - # healthcheck: - # disable: false + immich-machine-learning: + container_name: immich_machine_learning + # For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag. + # Example tag: ${IMMICH_VERSION:-release}-cuda + image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release} + # extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration + # file: hwaccel.ml.yml + # service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable + volumes: + - ${MACHINE_LEARNING_CACHE}:/cache + env_file: + - .env + restart: unless-stopped + healthcheck: + disable: false + networks: + - immich-network redis: container_name: immich_redis image: docker.io/valkey/valkey:8@sha256:81db6d39e1bba3b3ff32bd3a1b19a6d69690f94a3954ec131277b9a26b95b3aa healthcheck: test: redis-cli ping || exit 1 - restart: always + restart: unless-stopped + networks: + - immich-network database: @@ -62,18 +68,22 @@ services: # Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file - ${DB_DATA_LOCATION}:/var/lib/postgresql/data shm_size: 128mb - restart: always + restart: unless-stopped + networks: + - immich-network -volumes: +#volumes: #model-cache: - immich-library: - name: immich-library - driver_opts: - type: nfs - o: addr=truenas,nolock,soft,rw - device: :/mnt/store/vault/app/immich/library + # immich-library: + # name: immich-library + # driver_opts: + # type: nfs + # o: addr=truenas,nolock,soft,rw + # device: :/mnt/store/vault/app/immich/library networks: - frontend: - external: true + immich-network: + driver: bridge + # frontend: + # external: true