ImmichI
Immich8mo ago
Todd1561

Updating docker-compose database section

I've been using Immich for a couple years so so my docker-compose is a little outdated. I was comparing it to the current example and the database section has changed a decent amount. Can I just replace my current database section with the one from the example or will that cause issues?

My Current:
database: container_name: immich_postgres #image: tensorchord/pgvecto-rs:pg14-v0.1.11 image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 env_file: - .env environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME} POSTGRES_DB: ${DB_DATABASE_NAME} volumes: - pgdata:/var/lib/postgresql/data restart: always volumes: pgdata: model-cache:
Was this page helpful?