Can't get another external device to show up in folder
Hello. Since setting up immich on my nas, I have been having problems in mounting my second drive to scan the library. Even when I use folders
This is the compose code I'm using
my_photos2my_photos2 doesn't show up as a folderThis is the compose code I'm using
services:
immich-redis:
image: redis
container_name: Immich-REDIS
hostname: immich-redis
security_opt:
- no-new-privileges:true
healthcheck:
test: ["CMD-SHELL", "redis-cli ping || exit 1"]
user: 1026:101
environment:
- TZ=America/Anguilla
volumes:
- /volume1/docker/immich/redis:/data:rw
restart: on-failure:1
immich-db:
image: tensorchord/pgvecto-rs:pg16-v0.2.0
container_name: Immich-DB
hostname: immich-db
security_opt:
- no-new-privileges:true
healthcheck:
test: ["CMD", "pg_isready", "-q", "-d", "immich", "-U", "immichuser"]
interval: 10s
timeout: 5s
retries: 5
volumes:
- /volume1/docker/immich/db:/var/lib/postgresql/data:rw
environment:
- TZ=America/Anguilla
- POSTGRES_DB=immich
- POSTGRES_USER=immichuser
- POSTGRES_PASSWORD=immichpw
restart: on-failure:1
immich-server:
image: ghcr.io/immich-app/immich-server:release
container_name: Immich-SERVER
hostname: immich-server
user: 1026:101
security_opt:
- no-new-privileges:true
env_file:
- stack.env
ports:
- 8212:2283
volumes:
- /volume1/docker/immich/upload:/usr/src/app/upload:rw
- /volume1/homes/user:/mnt/media/my_photos:rw # or whatever folder name you want here
- /volume2/ssd:/mnt/media/my_photos2:rw
restart: on-failure:1
depends_on:
immich-redis:
condition: service_healthy
immich-db:
condition: service_started
immich-machine-learning:
image: ghcr.io/immich-app/immich-machine-learning:release
container_name: Immich-LEARNING
hostname: immich-machine-learning
user: 1026:101
security_opt:
- no-new-privileges:true
env_file:
- stack.env
volumes:
- /volume1/docker/immich/upload:/usr/src/app/upload:rw
- /volume1/docker/immich/cache:/cache:rw
- /volume1/docker/immich/matplotlib:/matplotlib:rw
- /volume1/homes/user:/mnt/media/my_photos:rw # or whatever folder name you want here
- /volume2/ssd:/mmt/media/my_photos2:rw
environment:
- MPLCONFIGDIR=/matplotlib
restart: on-failure:1
depends_on:
immich-db:
condition: service_startedservices:
immich-redis:
image: redis
container_name: Immich-REDIS
hostname: immich-redis
security_opt:
- no-new-privileges:true
healthcheck:
test: ["CMD-SHELL", "redis-cli ping || exit 1"]
user: 1026:101
environment:
- TZ=America/Anguilla
volumes:
- /volume1/docker/immich/redis:/data:rw
restart: on-failure:1
immich-db:
image: tensorchord/pgvecto-rs:pg16-v0.2.0
container_name: Immich-DB
hostname: immich-db
security_opt:
- no-new-privileges:true
healthcheck:
test: ["CMD", "pg_isready", "-q", "-d", "immich", "-U", "immichuser"]
interval: 10s
timeout: 5s
retries: 5
volumes:
- /volume1/docker/immich/db:/var/lib/postgresql/data:rw
environment:
- TZ=America/Anguilla
- POSTGRES_DB=immich
- POSTGRES_USER=immichuser
- POSTGRES_PASSWORD=immichpw
restart: on-failure:1
immich-server:
image: ghcr.io/immich-app/immich-server:release
container_name: Immich-SERVER
hostname: immich-server
user: 1026:101
security_opt:
- no-new-privileges:true
env_file:
- stack.env
ports:
- 8212:2283
volumes:
- /volume1/docker/immich/upload:/usr/src/app/upload:rw
- /volume1/homes/user:/mnt/media/my_photos:rw # or whatever folder name you want here
- /volume2/ssd:/mnt/media/my_photos2:rw
restart: on-failure:1
depends_on:
immich-redis:
condition: service_healthy
immich-db:
condition: service_started
immich-machine-learning:
image: ghcr.io/immich-app/immich-machine-learning:release
container_name: Immich-LEARNING
hostname: immich-machine-learning
user: 1026:101
security_opt:
- no-new-privileges:true
env_file:
- stack.env
volumes:
- /volume1/docker/immich/upload:/usr/src/app/upload:rw
- /volume1/docker/immich/cache:/cache:rw
- /volume1/docker/immich/matplotlib:/matplotlib:rw
- /volume1/homes/user:/mnt/media/my_photos:rw # or whatever folder name you want here
- /volume2/ssd:/mmt/media/my_photos2:rw
environment:
- MPLCONFIGDIR=/matplotlib
restart: on-failure:1
depends_on:
immich-db:
condition: service_started

