mirror of
https://github.com/okxlin/appstore.git
synced 2025-07-16 22:32:18 +08:00
feat:更新immich到1.121.0
This commit is contained in:
parent
e943602856
commit
b06d24f13f
@ -4,7 +4,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- 1panel-network
|
- 1panel-network
|
||||||
image: altran1502/immich-server:v1.120.2
|
image: altran1502/immich-server:v1.121.0
|
||||||
volumes:
|
volumes:
|
||||||
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
- ${UPLOAD_LOCATION}:/usr/src/app/upload
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
@ -29,7 +29,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- 1panel-network
|
- 1panel-network
|
||||||
image: altran1502/immich-machine-learning:v1.120.2
|
image: altran1502/immich-machine-learning:v1.121.0
|
||||||
volumes:
|
volumes:
|
||||||
- ${CACHE_PATH}:/cache
|
- ${CACHE_PATH}:/cache
|
||||||
environment:
|
environment:
|
||||||
@ -69,26 +69,23 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${DB_PATH}:/var/lib/postgresql/data
|
- ${DB_PATH}:/var/lib/postgresql/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: pg_isready --dbname='${PANEL_DB_NAME}' || exit 1; Chksum="$$(psql --dbname='${PANEL_DB_NAME}' --username='${PANEL_DB_USER}' --tuples-only --no-align --command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = '0' ] || exit 1
|
test: >-
|
||||||
|
pg_isready --dbname="$${PANEL_DB_NAME}" --username="$${PANEL_DB_USER}" || exit 1;
|
||||||
|
Chksum="$$(psql --dbname="$${PANEL_DB_NAME}" --username="$${PANEL_DB_USER}" --tuples-only --no-align
|
||||||
|
--command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')";
|
||||||
|
echo "checksum failure count is $$Chksum";
|
||||||
|
[ "$$Chksum" = '0' ] || exit 1
|
||||||
interval: 5m
|
interval: 5m
|
||||||
start_interval: 30s
|
start_interval: 30s
|
||||||
start_period: 5m
|
start_period: 5m
|
||||||
command:
|
command: >-
|
||||||
[
|
postgres
|
||||||
'postgres',
|
-c shared_preload_libraries=vectors.so
|
||||||
'-c',
|
-c 'search_path="$$user", public, vectors'
|
||||||
'shared_preload_libraries=vectors.so',
|
-c logging_collector=on
|
||||||
'-c',
|
-c max_wal_size=2GB
|
||||||
'search_path="$$user", public, vectors',
|
-c shared_buffers=512MB
|
||||||
'-c',
|
-c wal_compression=on
|
||||||
'logging_collector=on',
|
|
||||||
'-c',
|
|
||||||
'max_wal_size=2GB',
|
|
||||||
'-c',
|
|
||||||
'shared_buffers=512MB',
|
|
||||||
'-c',
|
|
||||||
'wal_compression=on',
|
|
||||||
]
|
|
||||||
labels:
|
labels:
|
||||||
createdBy: "Apps"
|
createdBy: "Apps"
|
||||||
|
|
@ -69,26 +69,23 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${DB_PATH}:/var/lib/postgresql/data
|
- ${DB_PATH}:/var/lib/postgresql/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: pg_isready --dbname='${PANEL_DB_NAME}' || exit 1; Chksum="$$(psql --dbname='${PANEL_DB_NAME}' --username='${PANEL_DB_USER}' --tuples-only --no-align --command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')"; echo "checksum failure count is $$Chksum"; [ "$$Chksum" = '0' ] || exit 1
|
test: >-
|
||||||
|
pg_isready --dbname="$${PANEL_DB_NAME}" --username="$${PANEL_DB_USER}" || exit 1;
|
||||||
|
Chksum="$$(psql --dbname="$${PANEL_DB_NAME}" --username="$${PANEL_DB_USER}" --tuples-only --no-align
|
||||||
|
--command='SELECT COALESCE(SUM(checksum_failures), 0) FROM pg_stat_database')";
|
||||||
|
echo "checksum failure count is $$Chksum";
|
||||||
|
[ "$$Chksum" = '0' ] || exit 1
|
||||||
interval: 5m
|
interval: 5m
|
||||||
start_interval: 30s
|
start_interval: 30s
|
||||||
start_period: 5m
|
start_period: 5m
|
||||||
command:
|
command: >-
|
||||||
[
|
postgres
|
||||||
'postgres',
|
-c shared_preload_libraries=vectors.so
|
||||||
'-c',
|
-c 'search_path="$$user", public, vectors'
|
||||||
'shared_preload_libraries=vectors.so',
|
-c logging_collector=on
|
||||||
'-c',
|
-c max_wal_size=2GB
|
||||||
'search_path="$$user", public, vectors',
|
-c shared_buffers=512MB
|
||||||
'-c',
|
-c wal_compression=on
|
||||||
'logging_collector=on',
|
|
||||||
'-c',
|
|
||||||
'max_wal_size=2GB',
|
|
||||||
'-c',
|
|
||||||
'shared_buffers=512MB',
|
|
||||||
'-c',
|
|
||||||
'wal_compression=on',
|
|
||||||
]
|
|
||||||
labels:
|
labels:
|
||||||
createdBy: "Apps"
|
createdBy: "Apps"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user