When I use the "docker stack deploy" command. Then my volumes from the manager and worker don't have write access for my nodejs app. When I run it with docker-compose then it works.
What am I doing wrong? Please, please, please help me.
Here is the complete command:
docker stack deploy --compose-file docker-compose.yml smatest
When I use the "docker stack deploy" command. Then my volumes from the manager and worker don't have write access for my nodejs app. When I run it with docker-compose then it works.
What am I doing wrong? Please, please, please help me.
Here is the complete command: docker stack deploy --compose-file docker-compose.yml smatest
My docker-compose.yml I have attached to this issue. docker-compose.txt
Thank you for your help. Sven
SOLUTION chmod -R a+rw pathToNodeAppFilesFolder
I hope some who has the same problem find here help.
Greetings, Sven