Thank you!
podman run -d --name searxng -p 5234:8080 -e GRANIAN_WORKERS=1 -e GRANIAN_BLOCKING_THREADS=1 -e GRANIAN_BLOCKING_THREADS_IDLE_TIMEOUT=5m --uidmap +$(id -u):977:1 --gidmap +$(id -g):977:1 --user=0:0 -v /opt/podman/searxng/config:/etc/searxng:Z -v /opt/podman/searxng/data:/var/cache/searxng:Z ghcr.io/searxng/searxng:latest
Now it runs and load the settings. But the owner of the file isn't my user, it is 525265
ls -l -rw-r--r--. 1 525265 525265 70044 Oct 6 11:52 settings.yml
I can edit this file as root.
Yes, but I have to add this
–uidmap +$(id -u):977:1 --gidmap +$(id -g):977:1 --user=0:0 -v /opt/podman/searxng/config:/etc/searxng:Z -v /opt/podman/searxng/data:/var/cache/searxng:Z