Closed Tob-iee closed 10 months ago
I got same issue. I think the problem is passing CFG to worker and initilisation within. @Tob-iee have you try configure CFG on daskworker with env or file?
Configurations can either be injected:
- directly in Python using the superduperdb.CFG data class
- in a YAML file: .superduperdb/config.yaml or
- through environment variables starting with SUPERDUPERDB_:
source: https://docs.superduperdb.com/docs/docs/configuration/
@miko1ann yes using environment variables starting with os.environ['SUPERDUPERDB_DATA_BACKEND'] = 'mongodb://localhost:27017' works though
Yes, we can use the environment variables to do this
The new document : https://docs.superduperdb.com/docs/docs/setup/configuration
Contact Details [Optional]
No response
System Information
Notebooks
What happened?
The default configuration for mongodb's backend is set to "'mongodb://superduper:superduper@mongodb:27017/test_db" instead of 'mongodb://localhost:27017'
Steps to reproduce
1. 2. 3. ...
Relevant log output
No response