Answer the question
In order to leave comments, you need to log in
Why does the config not work through Docker?
There is one tula - vistecture . I want to feed her a config locally to get a microservices visualization as a result. But the trouble is that all the documentation is an unfortunate README on github, which is also written as a riddle.
I'm trying to execute the corresponding command with the docker (which, moreover, they are focused on Linux, and I have win10 ...):
docker run -v $(pwd):/workspace -p 8080:8080 aoepeople/vistecture vistecture --config=/workspace serve
docker run -p 8080:8080 aoepeople/vistecture vistecture --config=/example serve
2019/03/02 17:48:54 stat demoproject: no such file or directory
Answer the question
In order to leave comments, you need to log in
why did you ignore the Volume connection in your version?
You need to do something like (I could be wrong, I didn’t have anything to do with docker in Windows, there seems to be some kind of specificity there):
docker run -p 8080:8080 -vc:\Users\username\Documents\whereyourproject\config_folder:/example aoepeople/vistecture vistecture --config=/example serve
I replaced the Linux construct $(pwd) , which probably won't work in Windows, with the full path to the config folder, substitute your own there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question