Guest User

Untitled

a guest
Jun 26th, 2025
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. My docker compose is:
  2.  
  3. version: "3.8"
  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. #command: [ "start.sh", "immich" ]
  12. volumes:
  13. - ${UPLOAD_LOCATION}/library:/usr/src/app/upload/library
  14. - ${UPLOAD_LOCATION}/upload:/usr/src/app/upload/upload
  15. - ${UPLOAD_LOCATION}/encoded-video:/usr/src/app/upload/encoded-video
  16. - ${UPLOAD_LOCATION}/immich-go:/usr/src/app/upload/immich-go
  17. - ${UPLOAD_LOCATION}/profile:/usr/src/app/upload/profile
  18. - ${UPLOAD_LOCATION}/backups:/usr/src/app/upload/backups
  19. - ${APPDATA_LOCATION}/thumbs:/usr/src/app/upload/thumbs
  20. - /mnt/user/Pictures:/usr/src/app/upload/source
  21. env_file:
  22. - .env
  23. ports:
  24. - 2283:2283
  25. depends_on:
  26. - redis
  27. - database
  28. restart: always
  29.  
  30. immich-machine-learning:
  31. container_name: immich_machine_learning
  32. image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
  33. volumes:
  34. - ${APPDATA_LOCATION}/model-cache:/cache
  35. env_file:
  36. - .env
  37. restart: always
  38.  
  39. redis:
  40. container_name: immich_redis
  41. #image: redis:6.2-alpine@sha256:80cc8518800438c684a53ed829c621c94afd1087aaeb59b0d4343ed3e7bcf6c5
  42. image: docker.io/valkey/valkey:8-bookworm@sha256:ff21bc0f8194dc9c105b769aeabf9585fea6a8ed649c0781caeac5cb3c247884
  43. restart: always
  44.  
  45. database:
  46. container_name: immich_postgres
  47. #image: tensorchord/pgvecto-rs:pg14-v0.2.0
  48. #image: ghcr.io/immich-app/postgres:14-vectorchord0.3.0-pgvectors0.2.0
  49. image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0
  50. env_file:
  51. - .env
  52. environment:
  53. POSTGRES_PASSWORD: ${DB_PASSWORD}
  54. POSTGRES_USER: ${DB_USERNAME}
  55. POSTGRES_DB: ${DB_DATABASE_NAME}
  56. volumes:
  57. - ${APPDATA_LOCATION}/pgdata:/var/lib/postgresql/data
  58. ports:
  59. - "5432:5432"
  60. restart: always
  61.  
  62.  
  63. ENV file
  64.  
  65. # You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables
  66.  
  67. # The location where your uploaded files are stored
  68. UPLOAD_LOCATION=/mnt/user/immich
  69. APPDATA_LOCATION=/mnt/user/immich_folders
  70.  
  71. TZ="America/Chicago"
  72.  
  73. # LOG_LEVEL=verbose
  74.  
  75. # The Immich version to use. You can pin this to a specific version like "v1.71.0"
  76. IMMICH_VERSION=release
  77.  
  78. # Connection secrets for postgres and typesense. You should change these to random passwords
  79. TYPESENSE_API_KEY=XXXXX
  80. DB_PASSWORD=XXXXX
  81.  
  82. # The values below this line do not need to be changed
  83. ###################################################################################
  84. DB_HOSTNAME=immich_postgres
  85. DB_USERNAME=postgres
  86. DB_DATABASE_NAME=immich
  87.  
  88. REDIS_HOSTNAME=immich_redis
Advertisement
Add Comment
Please, Sign In to add comment