feklee
feklee
IImmich
Created by feklee on 1/16/2025 in #help-desk-support
Running as non-root: Can I just chown `library` & `postgres`?
In the documentation , it says: "You may need to add mount points or docker volumes for the following internal container paths:" Instead of manually adding mount points, can I simply proceed as follows? 1. Add: user: felix:felix to all containers: immich-server, immich-machine-learning, redis, and database 2. (Add the recommended snippet for futher hardening to each container. See documentation This snippet sets security_opt and cap_drop.) 3. Change owner: chown -R felix:felix library/ postgres/ 4. Restart Immich: docker compose up -d --force-recreate I already have a running setup, currently as root and tens of thousands of raw image files indexed.
15 replies
IImmich
Created by feklee on 1/5/2025 in #help-desk-support
Why does IMMICH_HOST have no effect?
I want to bind Immich to 10.149.216.4, which is an IP of my WireGuard interface wg0. I have in my .env (the second variable should be superluous, I know): IMMICH_HOST=10.149.216.4 HOST=10.149.216.4 And I updated the image doing: # docker compose up -d --force-recreate However, Immich still listens on 0.0.0.0: # netstat -tulpn | grep 2283 tcp 0 0 0.0.0.0:2283 0.0.0.0:* LISTEN 212763/docker-proxy tcp6 0 0 :::2283 :::* LISTEN 212770/docker-proxy (I'm a Docker n00b.)
25 replies