11/22/2021 4:14 PM | |
Joined: 11/2/2020 Last visit: 9/19/2023 Posts: 1 Rating:
|
Hello, according to your docker-compose file, I suppose you are trying to get data from Flow Creator. which is actually using bind mount volumes using only relative paths so it is not possible to access file from another application. It is only accessible within the Flow Creator itself. One possible solution would be to use custom Node-Red application with docker named volumes, which you can access from a service (container) within the same docker-compose file as well as from a different application. I attached a docker compose file for your inspiration. In this case, when you create a file from Node-Red inside /mydata you should be able to access the file from the python application inside the /mydata folder as well as they share the same docker (named) volume. Hope it helps. Best Regards, Pavel Attachmentdocker-compose.zip (806 Downloads) |
This contribution was helpful to
1 thankful Users |
Follow us on