Update README.md with new service details, add healthcheck improvements for Immich, and remove deprecated Watchtower service configuration.

This commit is contained in:
GSRN
2025-09-01 10:14:19 +02:00
parent 3d4c01fc1b
commit 4153e8e8a8
7 changed files with 620 additions and 55 deletions

View File

@@ -29,11 +29,13 @@ services:
- database
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:2283/health"]
test: ["CMD-SHELL", "timeout 1 bash -c '</dev/tcp/localhost/2283' || exit 1"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
labels:
- "com.centurylinklabs.watchtower.monitor-only=true"
immich-machine-learning:
container_name: immich_machine_learning
@@ -54,6 +56,8 @@ services:
timeout: 10s
retries: 3
start_period: 60s
labels:
- "com.centurylinklabs.watchtower.monitor-only=true"
redis:
container_name: immich_redis
@@ -71,7 +75,7 @@ services:
POSTGRES_DB: ${DB_DATABASE_NAME}
POSTGRES_INITDB_ARGS: '--data-checksums'
# Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored on SSDs
# DB_STORAGE_TYPE: 'HDD'
DB_STORAGE_TYPE: 'HDD'
volumes:
# Do not edit the next line. If you want to change the database storage location on your system, edit the value of DB_DATA_LOCATION in the .env file
- ${DB_DATA_LOCATION}:/var/lib/postgresql/data
@@ -85,4 +89,4 @@ services:
start_period: 40s
volumes:
model-cache:
model-cache: