Immich 설치시에 docker 로 동작하다 보니..
저장소를 외장이나 별도 드라이브로 설정하기 까다롭다.
심지어 윈도우 wsl로 설치했으니.....
Immch -> wsl -> docker --> windows directory 로 가야 하니..
docker 볼륨 설정을 하고, immich 설정을 수정해야 하는데... docker 수정하는 게.. ㅎ
걍 무시하고..
#immich 설치된 디렉토리로 이동
#업로드 파일 위치 확인
vi .env
# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables
# The location where your uploaded files are stored
UPLOAD_LOCATION=./library
# The location where your database files are stored. Network shares are not supported for the database
DB_DATA_LOCATION=./postgres
# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
# TZ=Etc/UTC
# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release
# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=postgres
# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich
#서버 중지
docker compose down
#업로드 파일 위치 백업
rename library library_back
#wsl에 마운트된 윈도우 폴더를 찾아서 심볼릭링크로 같은 이름으로 생성
#D 드라이브의 up
ln -s /mnt/d/up library
#서버 기동
docker compose up -d
사이즈 변경 확인
반응형
'Develop' 카테고리의 다른 글
windows 11 로컬계정으로 설치하기 (0) | 2025.09.29 |
---|---|
윈도우에 Immich(이미지) 서버 설치하기 (0) | 2025.09.03 |
라인(Line) 멀티 로그인하기 (0) | 2025.08.29 |
Radeon pro W6400 리뷰 (0) | 2024.11.11 |
[WSL] WslRegisterDistribution failed with error: 0x8037010d (0) | 2024.02.07 |