Hello, I'm a bit over my head on this one.. I tried following a tutorial for installing Immich on my PVE along with Tailscale. However, their tutorial was a bit different than my setup was. They were doing it on a fresh install of Proxmox and with 1 SSD. MY setup is with 1 NVME, 1 SSD, and 3 HDDs. The 3 HDDs are in ZFS zraid1 currently with it's name as "PVE1_bulk" . During the tutorial there was a .yaml file created and a .json file created in path
So, how can I move what I did into my ZFS storage?? Is there a way? Thank you for your help if anyone has the time.
Here is the .yaml file I created, it shows the use of
/mnt/PVE1_bulk/appdata/...
I thought I could just replace the name of the drive from the tutorial with my PVE1_bulk ZFS name that I have on my server, but I guess that's not how you do it. What it did was put Immich onto my (local) storage where I have my ISO files; I want it on my ZFS drives. During this tutorial it walks you through setting up Immich on a container in PVE terminal rather than in a VM (which I now cannot SEE in the web GUI like I can other CTs and VMs). If you're willing, here is the video of the tutorial https://www.youtube.com/watch?v=guHoZ68N3XMSo, how can I move what I did into my ZFS storage?? Is there a way? Thank you for your help if anyone has the time.
Here is the .yaml file I created, it shows the use of
/mnt/PVE1_bulk/...
for reference:
Code:
services:
immich-ts:
image: tailscale/tailscale:latest
hostname: immich
environment:
- TS_AUTHKEY={MY-KEY}
- TS_STATE_DIR=/var/lib/tailscale
- TS_SERVE_CONFIG=/config/immich.json
- TS_USERSPACE=true
volumes:
- /mnt/pve1_bulk/appdata/immich/ts-config:/config
- /mnt/pve1_bulk/appdata/immich/ts-state:/var/lib/tailscale
restart: unless-stopped
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:release
# extends:
# file: hwaccel.transcoding.yml
# service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding
volumes:
- /mnt/pve1_bulk/data/photos/upload:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
network_mode: service:immich-ts
# ports:
# - '2283:2283'
environment:
DB_HOSTNAME: immich-database
DB_PASSWORD: ***
DB_USERNAME: ***
DB_DATABASE_NAME: immich
REDIS_HOSTNAME: immich-redis
depends_on:
- immich-redis
- immich-database
restart: unless-stopped
healthcheck:
disable: false
immich-machine-learning:
container_name: immich_machine_learning
# For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn] to the image tag.
# Example tag: ${IMMICH_VERSION:-release}-cuda
image: ghcr.io/immich-app/immich-machine-learning:release
# extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardwar>
# file: hwaccel.ml.yml
# service: cpu # set to one of [armnn, cuda, rocm, openvino, openvino-wsl, rknn] for accelerated inference
volumes:
- model-cache:/cache
restart: unless-stopped
healthcheck:
disable: false
immich-redis:
container_name: immich_redis
image: docker.io/valkey/valkey:8-bookworm@sha256:ff21bc0f8194dc9c105b769aeabf9585fea6a8ed649c0781caeac5cb3c2478>
healthcheck:
test: redis-cli ping || exit 1
restart: unless-stopped
immich-database:
container_name: immich_postgres
image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0@sha256:fa4f6e0971f454cd95fec5a9aaed2ed93d>
environment:
POSTGRES_PASSWORD: ***
POSTGRES_USER: ***
POSTGRES_DB: immich
POSTGRES_INITDB_ARGS: '--data-checksums'
# Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
DB_STORAGE_TYPE: 'HDD' #uncommented
volumes:
- /mnt/pve1_bulk/appdata/immich/database:/var/lib/postgresql/data
restart: unless-stopped
volumes:
model-cache:
Last edited: