feat:更新immich到1.108.0

This commit is contained in:
okxlin 2024-07-15 23:08:52 +08:00
parent 16ebda95c8
commit dcd46a1d0a
7 changed files with 62 additions and 195 deletions

View File

@ -1,18 +0,0 @@
# 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=${UPLOAD_LOCATION}
# 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=${PANEL_DB_USER_PASSWORD}
# The values below this line do not need to be changed
###################################################################################
DB_HOSTNAME=${CONTAINER_NAME}-postgres
DB_USERNAME=${PANEL_DB_USER}
DB_DATABASE_NAME=${PANEL_DB_NAME}
REDIS_HOSTNAME=${CONTAINER_NAME}-redis

View File

@ -4,13 +4,17 @@ services:
restart: always
networks:
- 1panel-network
image: altran1502/immich-server:v1.106.4
image: altran1502/immich-server:v1.108.0
command: [ "start.sh", "immich" ]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
env_file:
- config.env
environment:
- DB_PASSWORD=${PANEL_DB_USER_PASSWORD}
- DB_HOSTNAME=${CONTAINER_NAME}-postgres
- DB_USERNAME=${PANEL_DB_USER}
- DB_DATABASE_NAME=${PANEL_DB_NAME}
- REDIS_HOSTNAME=${CONTAINER_NAME}-redis
ports:
- ${PANEL_APP_PORT_HTTP}:3001
depends_on:
@ -19,37 +23,20 @@ services:
labels:
createdBy: "Apps"
immich-microservices:
container_name: ${CONTAINER_NAME}-microservices
restart: always
networks:
- 1panel-network
image: altran1502/immich-server:v1.106.4
# extends:
# file: hwaccel.yml
# service: hwaccel
command: [ "start.sh", "microservices" ]
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
env_file:
- config.env
depends_on:
- immich-redis
- immich-database
labels:
createdBy: "Apps"
immich-machine-learning:
container_name: ${CONTAINER_NAME}-machine_learning
restart: always
networks:
- 1panel-network
image: altran1502/immich-machine-learning:v1.106.4
image: altran1502/immich-machine-learning:v1.108.0
volumes:
- ${CACHE_PATH}:/cache
env_file:
- config.env
environment:
- DB_PASSWORD=${PANEL_DB_USER_PASSWORD}
- DB_HOSTNAME=${CONTAINER_NAME}-postgres
- DB_USERNAME=${PANEL_DB_USER}
- DB_DATABASE_NAME=${PANEL_DB_NAME}
- REDIS_HOSTNAME=${CONTAINER_NAME}-redis
labels:
createdBy: "Apps"
@ -70,9 +57,8 @@ services:
networks:
- 1panel-network
image: "tensorchord/pgvecto-rs:pg14-v0.2.0"
env_file:
- config.env
environment:
- REDIS_HOSTNAME=${CONTAINER_NAME}-redis
- POSTGRES_PASSWORD=${PANEL_DB_USER_PASSWORD}
- POSTGRES_USER=${PANEL_DB_USER}
- POSTGRES_DB=${PANEL_DB_NAME}

View File

@ -1,115 +1,46 @@
<p align="center">
<br/>
<a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/license-MIT-green.svg?color=3F51B5&style=for-the-badge&label=License&logoColor=000000&labelColor=ececec" alt="License: MIT"></a>
<a href="https://discord.gg/D8JsnBEuKb">
<img src="https://img.shields.io/discord/979116623879368755.svg?label=Discord&logo=Discord&style=for-the-badge&logoColor=000000&labelColor=ececec" alt="Discord"/>
<a href="https://opensource.org/license/agpl-v3"><img src="https://img.shields.io/badge/License-AGPL_v3-blue.svg?color=3F51B5&style=for-the-badge&label=License&logoColor=000000&labelColor=ececec" alt="License: AGPLv3"></a>
<a href="https://discord.immich.app">
<img src="https://img.shields.io/discord/979116623879368755.svg?label=Discord&logo=Discord&style=for-the-badge&logoColor=000000&labelColor=ececec" atl="Discord"/>
</a>
<br/>
<br/>
</p>
<p align="center">
<img src="https://github.com/immich-app/immich/raw/main/design/immich-logo.svg" width="150" title="Login With Custom URL">
<img src="https://github.com/immich-app/immich/raw/main/design/immich-logo-stacked-light.svg" width="300" title="Login With Custom URL">
</p>
<h3 align="center">高性能的照片和视频自托管解决方案</h3>
<p align="center">
</p>
<h3 align="center">Immich - High performance self-hosted photo and video backup solution</h3>
<br/>
<br/>
<p align="center">
<a href="https://github.com/immich-app/immich/blob/main/README_ca_ES.md">Català</a>
<a href="https://github.com/immich-app/immich/blob/main/README_es_ES.md">Español</a>
<a href="https://github.com/immich-app/immich/blob/main/README_fr_FR.md">Français</a>
<a href="https://github.com/immich-app/immich/blob/main/README_it_IT.md">Italiano</a>
<a href="https://github.com/immich-app/immich/blob/main/README_ja_JP.md">日本語</a>
<a href="https://github.com/immich-app/immich/blob/main/README_ko_KR.md">한국어</a>
<a href="https://github.com/immich-app/immich/blob/main/README_de_DE.md">Deutsch</a>
<a href="https://github.com/immich-app/immich/blob/main/README_nl_NL.md">Nederlands</a>
<a href="https://github.com/immich-app/immich/blob/main/README_tr_TR.md">Türkçe</a>
<a href="https://github.com/immich-app/immich/blob/main/README_zh_CN.md">中文</a>
<a href="https://github.com/immich-app/immich/blob/main/README_ru_RU.md">Русский</a>
<a href="https://github.com/immich-app/immich/blob/main/README.md">English</a>
<a href="https://github.com/immich-app/immich/blob/main/readme_i18n/README_ca_ES.md">Català</a>
<a href="https://github.com/immich-app/immich/blob/main/readme_i18n/README_es_ES.md">Español</a>
<a href="https://github.com/immich-app/immich/blob/main/readme_i18n/README_fr_FR.md">Français</a>
<a href="https://github.com/immich-app/immich/blob/main/readme_i18n/README_it_IT.md">Italiano</a>
<a href="https://github.com/immich-app/immich/blob/main/readme_i18n/README_ja_JP.md">日本語</a>
<a href="https://github.com/immich-app/immich/blob/main/readme_i18n/README_ko_KR.md">한국어</a>
<a href="https://github.com/immich-app/immich/blob/main/readme_i18n/README_de_DE.md">Deutsch</a>
<a href="https://github.com/immich-app/immich/blob/main/readme_i18n/README_nl_NL.md">Nederlands</a>
<a href="https://github.com/immich-app/immich/blob/main/readme_i18n/README_tr_TR.md">Türkçe</a>
<a href="https://github.com/immich-app/immich/blob/main/readme_i18n/README_ru_RU.md">Русский</a>
<a href="https://github.com/immich-app/immich/blob/main/readme_i18n/README_pt_BR.md">Português Brasileiro</a>
<a href="https://github.com/immich-app/immich/blob/main/readme_i18n/README_sv_SE.md">Svenska</a>
<a href="https://github.com/immich-app/immich/blob/main/readme_i18n/README_ar_JO.md">العربية</a>
</p>
## Disclaimer
## 免责声明
- ⚠️ The project is under **very active** development.
- ⚠️ Expect bugs and breaking changes.
- ⚠️ **Do not use the app as the only way to store your photos and videos.**
- ⚠️ Always follow [3-2-1](https://www.backblaze.com/blog/the-3-2-1-backup-strategy/) backup plan for your precious photos and videos!
- ⚠️ 本项目正在 **非常活跃** 地开发中。
- ⚠️ 可能存在 bug 或者随时有重大变更。
- ⚠️ **不要把本软件作为您存储照片或视频的唯一方式。**
- ⚠️ 为了您宝贵的照片与视频,请始终遵守 [3-2-1](https://www.backblaze.com/blog/the-3-2-1-backup-strategy/) 备份方案!
## Content
- [Official Documentation](https://immich.app/docs)
- [Roadmap](https://github.com/orgs/immich-app/projects/1)
- [Demo](#demo)
- [Features](#features)
- [Introduction](https://immich.app/docs/overview/introduction)
- [Installation](https://immich.app/docs/install/requirements)
- [Contribution Guidelines](https://immich.app/docs/overview/support-the-project)
- [Support The Project](#support-the-project)
## Documentation
You can find the main documentation, including installation guides, at https://immich.app/.
## Demo
You can access the web demo at https://demo.immich.app
For the mobile app, you can use `https://demo.immich.app/api` for the `Server Endpoint URL`
```bash title="Demo Credential"
The credential
email: demo@immich.app
password: demo
```
```
Spec: Free-tier Oracle VM - Amsterdam - 2.4Ghz quad-core ARM64 CPU, 24GB RAM
```
## Features
| Features | Mobile | Web |
| -------------------------------------------- | ------ | --- |
| Upload and view videos and photos | Yes | Yes |
| Auto backup when the app is opened | Yes | N/A |
| Selective album(s) for backup | Yes | N/A |
| Download photos and videos to local device | Yes | Yes |
| Multi-user support | Yes | Yes |
| Album and Shared albums | Yes | Yes |
| Scrubbable/draggable scrollbar | Yes | Yes |
| Support raw formats | Yes | Yes |
| Metadata view (EXIF, map) | Yes | Yes |
| Search by metadata, objects, faces, and CLIP | Yes | Yes |
| Administrative functions (user management) | No | Yes |
| Background backup | Yes | N/A |
| Virtual scroll | Yes | Yes |
| OAuth support | Yes | Yes |
| API Keys | N/A | Yes |
| LivePhoto/MotionPhoto backup and playback | Yes | Yes |
| User-defined storage structure | Yes | Yes |
| Public Sharing | No | Yes |
| Archive and Favorites | Yes | Yes |
| Global Map | Yes | Yes |
| Partner Sharing | Yes | Yes |
| Facial recognition and clustering | Yes | Yes |
| Memories (x years ago) | Yes | Yes |
| Offline support | Yes | No |
| Read-only gallery | Yes | Yes |
| Stacked Photos | Yes | Yes |
## Support the project
I've committed to this project, and I will not stop. I will keep updating the docs, adding new features, and fixing bugs. But I can't do it alone. So I need your help to give me additional motivation to keep going.
As our hosts in the [selfhosted.show - In the episode 'The-organization-must-not-be-name is a Hostile Actor'](https://selfhosted.show/79?t=1418) said, this is a massive undertaking of what the team and I are doing. And I would love to someday be able to do this full-time, and I am asking for your help to make that happen.
If you feel like this is the right cause and the app is something you are seeing yourself using for a long time, please consider supporting the project with the option below.
### Donation
- [Monthly donation](https://github.com/sponsors/alextran1502) via GitHub Sponsors
- [One-time donation](https://github.com/sponsors/alextran1502?frequency=one-time&sponsor=alextran1502) via GitHub Sponsors
- [Liberapay](https://liberapay.com/alex.tran1502/)
- [buymeacoffee](https://www.buymeacoffee.com/altran1502)
- Bitcoin: 1FvEp6P6NM8EZEkpGUFAN2LqJ1gxusNxZX
- ZCash: u1smm4wvqegcp46zss2jf5xptchgeczp4rx7a0wu3mermf2wxahm26yyz5w9mw3f2p4emwlljxjumg774kgs8rntt9yags0whnzane4n67z4c7gppq4yyvcj404ne3r769prwzd9j8ntvqp44fa6d67sf7rmcfjmds3gmeceff4u8e92rh38nd30cr96xw6vfhk6scu4ws90ldzupr3sz
> [!NOTE]
> 完整的项目文档以及安装教程请参见https://immich.app/。

View File

@ -1,18 +0,0 @@
# 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=${UPLOAD_LOCATION}
# 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=${PANEL_DB_USER_PASSWORD}
# The values below this line do not need to be changed
###################################################################################
DB_HOSTNAME=${CONTAINER_NAME}-postgres
DB_USERNAME=${PANEL_DB_USER}
DB_DATABASE_NAME=${PANEL_DB_NAME}
REDIS_HOSTNAME=${CONTAINER_NAME}-redis

View File

@ -9,8 +9,12 @@ services:
volumes:
- ${UPLOAD_LOCATION}:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
env_file:
- config.env
environment:
- DB_PASSWORD=${PANEL_DB_USER_PASSWORD}
- DB_HOSTNAME=${CONTAINER_NAME}-postgres
- DB_USERNAME=${PANEL_DB_USER}
- DB_DATABASE_NAME=${PANEL_DB_NAME}
- REDIS_HOSTNAME=${CONTAINER_NAME}-redis
ports:
- ${PANEL_APP_PORT_HTTP}:3001
depends_on:
@ -19,27 +23,6 @@ services:
labels:
createdBy: "Apps"
immich-microservices:
container_name: ${CONTAINER_NAME}-microservices
restart: always
networks:
- 1panel-network
image: altran1502/immich-server: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:
- config.env
depends_on:
- immich-redis
- immich-database
labels:
createdBy: "Apps"
immich-machine-learning:
container_name: ${CONTAINER_NAME}-machine_learning
restart: always
@ -48,8 +31,12 @@ services:
image: altran1502/immich-machine-learning:release
volumes:
- ${CACHE_PATH}:/cache
env_file:
- config.env
environment:
- DB_PASSWORD=${PANEL_DB_USER_PASSWORD}
- DB_HOSTNAME=${CONTAINER_NAME}-postgres
- DB_USERNAME=${PANEL_DB_USER}
- DB_DATABASE_NAME=${PANEL_DB_NAME}
- REDIS_HOSTNAME=${CONTAINER_NAME}-redis
labels:
createdBy: "Apps"
@ -70,9 +57,8 @@ services:
networks:
- 1panel-network
image: "tensorchord/pgvecto-rs:pg14-v0.2.0"
env_file:
- config.env
environment:
- REDIS_HOSTNAME=${CONTAINER_NAME}-redis
- POSTGRES_PASSWORD=${PANEL_DB_USER_PASSWORD}
- POSTGRES_USER=${PANEL_DB_USER}
- POSTGRES_DB=${PANEL_DB_NAME}