I'm trying to create a mongo module but I have some issues to use it as a service.
Actually I can start the service and request it from the port forwarding doing a: dagger call service up --ports 27017:27017
If I try to use it as a service bind to a container I don't know why but I have a timeout.
I try to reproduce my setup with a test function in my module, I have also the timeout, the difference is in my real case the mongo function is called from a python container for running tests.
I saw in another thread a suggestion to use tiny but I didn't see any difference.
Also logs fron the mongo container when this one is started as a service seems good ( I can see the startup logs, etc ...)
I tried to put a sleep of 20s between the binding and my exec but it didn't change anything
the code of the module is available here: https://github.com/heuritech/daggerverse/blob/mongo/mongo/src/mongo/main.py
Someone has an idea what is wrong ?
dagger public modules. Contribute to heuritech/daggerverse development by creating an account on GitHub.
though!