Self-hosted- Mounting volume into docker-compose
Hi Windmill, first time posting here. I am looking to use Windmill to fetch a file download from an API with Python. Then I remembered Windmill self-hosted runs in containers and can't access the OS filesystem. I see in the compose file a windmill_server and windmill_worker. I would imagine these are the two containers I need to add a volume to? Possibly not even the server, just the worker since from the naming of the container, I gather it likely runs the scripts/flows etc.
If this has already been asked or there is a documentation page that answerers precisely that, please tell me to go RTFM but I could not find any lol. Thanks guys!
1 Reply
For anyone who searches for this after the fact. Below at the bottom, just add your mount here and the python interpreter can
os.listdir('/mnt/data')
just as it would.