Help setting up Immich on External Drive on Mac OS.
I was able to get Immich setup (with Tailscale) installing on the internal drive. But whenever I try to install on my external drive (1TB Samsung, exFAT), it fails. Can anyone help me ? Its a Mac Mini M4 256GB desktop using Docker Desktop (Docker Compose via CLI to build and run Immich). Yaml is below and my external for Immich is at /Volumes/T7/Immich.
services:
ts-immich:
image: tailscale/tailscale:latest
container_name: ts-immich
hostname: immich
environment:
- TS_AUTHKEY= *********
- TS_STATE_DIR=/var/lib/tailscale
- TS_SERVE_CONFIG=/config/immich.json
volumes:
- ${PWD}/ts-immich/state:/var/lib/tailscale
- ${PWD}/ts/config:/config
- /dev/net/tun:/dev/net/tun
cap_add:
- net_admin
- sys_module
restart: unless-stopped
immich-server:
container_name: immich-server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
volumes:
- ${UPLOAD_LOCATION}:/Volumes/T7/Immich
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
network_mode: service:ts-immich
depends_on:
- redis
- database
restart: always
immich-machine-learning:
container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
volumes:
- model-cache:/cache
restart: always
ports:
- 3003:3003
redis:
container_name: immich-redis
image: docker.io/redis:6.2-alpine@sha256:2d1463258f2764328496376f5d965f20c6a67f66ea2b06dc42af351f75248792
restart: always
database:
container_name: immich-postgres
image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
volumes:
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
restart: always
volumes:
model-cache:
ts-immich:services:
ts-immich:
image: tailscale/tailscale:latest
container_name: ts-immich
hostname: immich
environment:
- TS_AUTHKEY= *********
- TS_STATE_DIR=/var/lib/tailscale
- TS_SERVE_CONFIG=/config/immich.json
volumes:
- ${PWD}/ts-immich/state:/var/lib/tailscale
- ${PWD}/ts/config:/config
- /dev/net/tun:/dev/net/tun
cap_add:
- net_admin
- sys_module
restart: unless-stopped
immich-server:
container_name: immich-server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
volumes:
- ${UPLOAD_LOCATION}:/Volumes/T7/Immich
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
network_mode: service:ts-immich
depends_on:
- redis
- database
restart: always
immich-machine-learning:
container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
volumes:
- model-cache:/cache
restart: always
ports:
- 3003:3003
redis:
container_name: immich-redis
image: docker.io/redis:6.2-alpine@sha256:2d1463258f2764328496376f5d965f20c6a67f66ea2b06dc42af351f75248792
restart: always
database:
container_name: immich-postgres
image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME}
volumes:
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
restart: always
volumes:
model-cache:
ts-immich: