1. Your docker-compose.yml and .env files.
  2. version: "3.8"
  3. #
  4. # WARNING: Make sure to use the docker-compose.yml of the current release:
  5. #
  6. # https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
  7. #
  8. # The compose file on main may not be compatible with the latest release.
  9. #
  10. name: immich
  11. services:
  12. immich-server:
  13. container_name: immich_server
  14. image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
  15. volumes:
  16. - ${UPLOAD_LOCATION}:/usr/src/app/upload
  17. - /etc/localtime:/etc/localtime:ro
  18. - "/mnt/user/photos/:/mnt/immich/:ro" # add external library as read only
  19. env_file:
  20. - .env
  21. ports:
  22. # - 2283:3001
  23. - 2283:2283
  24. depends_on:
  25. - redis
  26. - database
  27. restart: always
  28. immich-machine-learning:
  29. container_name: immich_machine_learning
  30. image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
  31. volumes:
  32. - model-cache:/cache
  33. env_file:
  34. - .env
  35. restart: always
  36. redis:
  37. container_name: immich_redis
  38. image: redis:6.2-alpine@sha256:c5a607fb6e1bb15d32bbcf14db22787d19e428d59e31a5da67511b49bb0f1ccc
  39. restart: always
  40. database:
  41. container_name: immich_postgres
  42. image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
  43. env_file:
  44. - .env
  45. environment:
  46. POSTGRES_PASSWORD: ${DB_PASSWORD}
  47. POSTGRES_USER: ${DB_USERNAME}
  48. POSTGRES_DB: ${DB_DATABASE_NAME}
  49. volumes:
  50. - pgdata:/var/lib/postgresql/data
  51. restart: always
  52. volumes:
  53. pgdata:
  54. model-cache:
  55. # You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables
  56. # The location where your uploaded files are stored
  57. UPLOAD_LOCATION=/mnt/user/immich
  58. # The Immich version to use. You can pin this to a specific version like "v1.71.0"
  59. IMMICH_VERSION=release
  60. # Connection secret for postgres. You should change it to a random password
  61. DB_PASSWORD=postgres
  62. # The values below this line do not need to be changed
  63. ###################################################################################
  64. DB_HOSTNAME=immich_postgres
  65. DB_USERNAME=postgres
  66. DB_DATABASE_NAME=immich
  67. REDIS_HOSTNAME=immich_redis
  68. Details about your system (both software/OS and hardware).
  69. unraid 6.9.2
  70. i3 12100 32 GB DDR4 Z690
  71. Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h).
  72. df -h https://dpaste.org/jH73d
  73. fdisk -l https://dpaste.org/zHsTG
  74. The version of the Immich server, mobile app, and other relevant pieces.
  75. immich v1.130.3