1
0

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

@@ -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}
@@ -88,6 +74,6 @@ services:
labels:
createdBy: "Apps"
networks:
1panel-network:
networks:
1panel-network:
external: true