© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•9mo ago•
5 replies
freaky

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
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Immich Upgrades
ImmichIImmich / help-desk-support
7mo ago
cannot upgrade immich freezing
ImmichIImmich / help-desk-support
3mo ago
Immich Redis-DB Upgrade?
ImmichIImmich / help-desk-support
5mo ago
TrueNas Immich Upgrade Issue
ImmichIImmich / help-desk-support
5mo ago