voiceoverguy

Untitled

Dec 5th, 2025 (edited)
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. Just so you know, I did try and edit the upload location from UPLOAD_LOCATION=./mnt/media/Photographs/Family to UPLOAD_LOCATION=/mnt/media/Photographs/Family removing the full stop but then I get "This site can’t be reached" and can't access Immich. Without the full stop it just creates a 'mnt' folder in the 'immich-app' folder.
  2.  
  3. Docker Compose:
  4.  
  5. name: immich
  6.  
  7. services:
  8. immich-server:
  9. container_name: immich_server
  10. image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
  11. # extends:
  12. # file: hwaccel.transcoding.yml
  13. # service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl>
  14. volumes:
  15. # Do not edit the next line. If you want to change the media storage loca>
  16. - ${UPLOAD_LOCATION}:/data
  17. - /etc/localtime:/etc/localtime:ro
  18. env_file:
  19. - .env
  20. ports:
  21. - '2283:2283'
  22. depends_on:
  23. - redis
  24. - database
  25. restart: always
  26. healthcheck:
  27. disable: false
  28.  
  29. immich-machine-learning:
  30. container_name: immich_machine_learning
  31. # For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn>
  32. # Example tag: ${IMMICH_VERSION:-release}-cuda
  33. image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
  34. # extends: # uncomment this section for hardware acceleration - see https:/>
  35. # file: hwaccel.ml.yml
  36. # service: cpu # set to one of [armnn, cuda, rocm, openvino, openvino-wsl>
  37. volumes:
  38. - model-cache:/cache
  39. env_file:
  40. - .env
  41. restart: always
  42. healthcheck:
  43. disable: false
  44.  
  45. redis:
  46. container_name: immich_redis
  47. image: docker.io/valkey/valkey:8@sha256:81db6d39e1bba3b3ff32bd3a1b19a6d6969>
  48. healthcheck:
  49. test: redis-cli ping || exit 1
  50. restart: always
  51.  
  52. database:
  53. container_name: immich_postgres
  54. image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha25>
  55. environment:
  56. POSTGRES_PASSWORD: ${DB_PASSWORD}
  57. POSTGRES_USER: ${DB_USERNAME}
  58. POSTGRES_DB: ${DB_DATABASE_NAME}
  59. POSTGRES_INITDB_ARGS: '--data-checksums'
  60. # Uncomment the DB_STORAGE_TYPE: 'HDD' var if your database isn't stored >
  61. # DB_STORAGE_TYPE: 'HDD'
  62. volumes:
  63. # Do not edit the next line. If you want to change the database storage l>
  64. - ${DB_DATA_LOCATION}:/var/lib/postgresql/data
  65. shm_size: 128mb
  66. restart: always
  67.  
  68. volumes:
  69. model-cache:
  70. shm_size: 128mb
  71. restart: always
  72.  
  73. volumes:
  74. model-cache:
  75.  
  76.  
  77.  
  78. .env:
  79.  
  80. # You can find documentation for all the supported env variables at https://doc>
  81.  
  82. # The location where your uploaded files are stored
  83. UPLOAD_LOCATION=./mnt/media/Photographs/Family
  84. # UPLOAD_LOCATION=./library
  85.  
  86. # The location where your database files are stored. Network shares are not sup>
  87. DB_DATA_LOCATION=./postgres
  88.  
  89. # To set a timezone, uncomment the next line and change Etc/UTC to a TZ identif>
  90. TZ=Europe/London
  91.  
  92. # The Immich version to use. You can pin this to a specific version like "v2.1.>
  93. IMMICH_VERSION=v2
  94.  
  95. # Connection secret for postgres. You should change it to a random password
  96. # Please use only the characters `A-Za-z0-9`, without special characters or spa>
  97. DB_PASSWORD=EArL10rbfsG8AWxc
  98.  
  99. # The values below this line do not need to be changed
  100. ###############################################################################>
  101. DB_USERNAME=postgres
  102. DB_DATABASE_NAME=immich
  103.  
Advertisement
Add Comment
Please, Sign In to add comment