starting as non root user

hello i want to start immich as a non-root user
this is my docker compose:
services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
hostname: immich-server
user: "1000:1000"
security_opt:
  • no-new-privileges:true
    volumes:
  • {{immich_upload}}:/usr/src/app/upload
  • /etc/localtime:/etc/localtime:ro
    env_file:
  • .env
    depends_on:
  • redis
  • database
    restart: always
root@lxc-docker:/docker/data/media# ps aux | grep immich-server
root 689257 0.0 0.0 3472 1792 pts/1 S+ 19:19 0:00 grep --color=auto immich-server

Seems like the user: 1000:1000 is not really doing what its supposed to do

This is the error in my logs
microservices worker error: Error: Failed to read "<UPLOAD_LOCATION>/library/.immich - Please see
https://immich.app/docs/administration/system-integrity#folder-checks for more information."

My upload location is a sambafolder, on which i can write without any issues with touch test.txt directly in the shell (root@lxc-docker)
Was this page helpful?