I'm new to using Docker & Portainer.
I created a stacks using portainer, and added persistent volumes for the different apps through the same docker-compose.
My issue is that when editing and then saving the files created in those volumes (for example Nginx configuration) I get a "permission denied" to write this file.
When I'm going in the folder, and type ls -l
to check the ownership, I see that every folder used by portainer is owned by the root user.
Is that normal behaviour? Am I missing a configuration under portainer or should I change the ownership of those volumes to my user?
note: I'm using portainer 1.23.1, docker 19.03.2 and ubuntu 19.10. This is a personal homelab project but I'm also interested to know how this would do in production.