Set custom UID and GID in docker
Is it possible to set a different UID and GID in docker compose?
If I add the command user: $(id -u):$(id -g) with a UID not belonging to a root user Podsync cannot access to the file.
Thanks
If you're changing the user an existing install runs as, you'll likely need to go through and change the permissions on all the files so that the new user has access to them. That's likely what caused the issue when changing the user in Docker directly.
tried with a clean new volume... but it doesn't work...
Setting a custom UID and GID works for me if I also mount a volume for /app/db in the container with e.g. -v podsync-database:/app/db.