功能特性
功能特性 | 移动端 | 网页端 |
---|---|---|
上传并查看照片和视频 | 是 | 是 |
软件运行时自动备份 | 是 | N/A |
选择需要备份的相册 | 是 | N/A |
下载照片和视频到本地 | 是 | 是 |
多用户支持 | 是 | 是 |
相册与共享相册 | 是 | 是 |
可拖动的快速导航栏 | 是 | 是 |
支持RAW格式 | 是 | 是 |
元数据视图(EXIF、地图) | 是 | 是 |
通过元数据、对象、人脸和标签进行搜索 | 是 | 是 |
管理功能(用户管理) | 否 | 是 |
后台备份 | 是 | N/A |
虚拟滚动 | 是 | 是 |
OAuth 支持 | 是 | 是 |
API Keys | N/A | 是 |
实况照片备份和查看 | 是 | 是 |
用户自定义存储结构 | 是 | 是 |
公共分享 | 否 | 是 |
归档与收藏功能 | 是 | 是 |
足迹地图 | 是 | 是 |
好友分享 | 是 | 是 |
人脸识别与分组 | 是 | 是 |
回忆(那年今日) | 是 | 是 |
离线支持 | 是 | 否 |
只读相册 | 是 | 是 |
照片堆叠 | 是 | 是 |
docker-compose
version: "3.7" # # WARNING: Make sure to use the docker-compose.yml of the current release: # # https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml # # The compose file on main may not be compatible with the latest release. # #name: immich services: immich-server: container_name: immich_server image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} command: [ "start.sh", "immich" ] volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro env_file: - .env ports: - 9000:3001 depends_on: - redis - database restart: always immich-microservices: container_name: immich_microservices image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release} # extends: # file: hwaccel.yml # service: hwaccel command: [ "start.sh", "microservices" ] volumes: - ${UPLOAD_LOCATION}:/usr/src/app/upload - /etc/localtime:/etc/localtime:ro env_file: - .env 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: - ${IMMICH_MODEL}:/cache env_file: - .env environment: - HTTP_PROXY=socks5://192.168.77.209:7890 - HTTPS_PROXY=socks5://192.168.77.209:7890 ports: - 3003:3003 restart: always redis: container_name: immich_redis image: redis:6.2-alpine@sha256:c5a607fb6e1bb15d32bbcf14db22787d19e428d59e31a5da67511b49bb0f1ccc restart: always database: container_name: immich_postgres image: tensorchord/pgvecto-rs:pg14-v0.1.11@sha256:0335a1a22f8c5dd1b697f14f079934f5152eaaa216c09b61e293be285491f8ee env_file: - .env environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} volumes: - /rdm_4t/immich/pgdata:/var/lib/postgresql/data restart: always
.env
# The location where your uploaded files are stored UPLOAD_LOCATION=./library IMMICH_MODEL=./immich_model # 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 DB_PASSWORD=password # The values below this line do not need to be changed ################################################################################### DB_HOSTNAME=immich_postgres DB_USERNAME=immich DB_DATABASE_NAME=immich REDIS_HOSTNAME=immich_redis TZ=Asia/Shanghai
离线下载模型
官方默认的镜像是不包含人脸识别模型的,当运行容器时默认会自动下载对应的模型。受网络限制,在线无法成功下载可以通过离线下载的方式实现。相关的模型及对应的文件结构如下图所示:
模型下载地址是:https://huggingface.co/immich-app
参照上图的文件结构下载对应的模型文件并将挂载到 容器 /cache 目录下
参考
docker exec -it immich_postgres psql immich immich