功能特性

功能特性移动端网页端
上传并查看照片和视频
软件运行时自动备份N/A
选择需要备份的相册N/A
下载照片和视频到本地
多用户支持
相册与共享相册
可拖动的快速导航栏
支持RAW格式
元数据视图(EXIF、地图)
通过元数据、对象、人脸和标签进行搜索
管理功能(用户管理)
后台备份N/A
虚拟滚动
OAuth 支持
API KeysN/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  目录下

图片中文搜索支持 https://huggingface.co/immich-app/XLM-Roberta-Large-Vit-B-16Plus/tree/main

参考

docker exec -it immich_postgres psql  immich  immich

隐藏 license 的显示

在管理界面的【Theme】中添加自定义的 css 代码

.license-status {
        display: none !important;
}




  • 无标签
写评论...