freaky
freaky
IImmich
Created by freaky on 5/24/2025 in #help-desk-support
Coolify & Immich Upgrade
Hi! I updated immich to the latest version changing the docker_compose.yml in coolify like told in the upgrade notifications. now, my database container keeps showing as unhealthy. immich is running, showing pictures and so on etc. it looks strange. here my docker compose file: services: immich: image: 'ghcr.io/immich-app/immich-server:release' volumes: - 'immich-uploads:/usr/src/app/upload' - '/etc/localtime:/etc/localtime:ro' environment: - SERVICE_FQDN_IMMICH_2283 - UPLOAD_LOCATION=./library - DB_DATA_LOCATION=./postgres - DB_PASSWORD=$SERVICE_PASSWORD_POSTGRES - DB_USERNAME=$SERVICE_USER_POSTGRES - 'DB_DATABASE_NAME=${DB_DATABASE_NAME:-immich}' - 'TZ=${TZ:-Etc/UTC}' depends_on: redis: condition: service_healthy database: condition: service_healthy healthcheck: disable: false immich-machine-learning: container_name: immich_machine_learning image: 'ghcr.io/immich-app/immich-machine-learning:release' volumes: - 'immich-model-cache:/cache' environment: - UPLOAD_LOCATION=./library - DB_DATA_LOCATION=./postgres - DB_PASSWORD=$SERVICE_PASSWORD_POSTGRES - DB_USERNAME=$SERVICE_USER_POSTGRES - 'DB_DATABASE_NAME=${DB_DATABASE_NAME:-immich}' - 'TZ=${TZ:-Etc/UTC}' healthcheck: disable: false redis: image: 'redis:7.4-alpine' healthcheck: test: - CMD - redis-cli - PING interval: 5s timeout: 10s retries: 20 database: image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0 environment: POSTGRES_PASSWORD: '${SERVICE_PASSWORD_POSTGRES}' POSTGRES_USER: '${SERVICE_USER_POSTGRES}' POSTGRES_DB: '${DB_DATABASE_NAME:-immich}' POSTGRES_INITDB_ARGS: '--data-checksums' volumes: - 'immich-postgres-data:/var/lib/postgresql/data' restart: always How do I make database container show healthy again
6 replies