diff --git a/compose/immich/docker-compose.yml b/compose/immich/docker-compose.yml index e03ccd1..d0bc700 100644 --- a/compose/immich/docker-compose.yml +++ b/compose/immich/docker-compose.yml @@ -16,6 +16,7 @@ services: # extends: # file: hwaccel.transcoding.yml # service: cpu # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding + user: "1001:1001" volumes: # Do not edit the next line. If you want to change the media storage location on your system, edit the value of UPLOAD_LOCATION in the .env file - ${UPLOAD_LOCATION}:/data @@ -39,6 +40,7 @@ services: # extends: # uncomment this section for hardware acceleration - see https://docs.immich.app/features/ml-hardware-acceleration # file: hwaccel.ml.yml # service: cpu # set to one of [armnn, cuda, rocm, openvino, openvino-wsl, rknn] for accelerated inference - use the `-wsl` version for WSL2 where applicable + user: "1001:1001" volumes: - model-cache:/cache env_file: @@ -50,6 +52,7 @@ services: redis: container_name: immich_redis image: docker.io/valkey/valkey:9@sha256:3eeb09785cd61ec8e3be35f8804c8892080f3ca21934d628abc24ee4ed1698f6 + user: "1001:1001" healthcheck: test: redis-cli ping || exit 1 restart: always @@ -57,6 +60,7 @@ services: database: container_name: immich_postgres image: ghcr.io/immich-app/postgres:14-vectorchord0.4.3-pgvectors0.2.0@sha256:bcf63357191b76a916ae5eb93464d65c07511da41e3bf7a8416db519b40b1c23 + user: "1001:1001" environment: POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_USER: ${DB_USERNAME}