Automatically create data subdirectories upon first start of app #122
Labels
flag: good 1st issue
Good for newcomers
priority: low
Low priority
type: feature
New feature or request
workload: minutes
Likely takes minutes to resolve
Describe the bug
When deploying the service, a data directory has to be mounted at
/data
inside several Docker containers (host directory to be mounted is defined indocker-compose.yaml
. The application then needs access to three subdirectories inside that folder:db
output
tmp
While the first one is automatically created upon the first start of the application, the latter two are not, leading to errors when the user wants to post a workflow run.
To Reproduce
Follow the instructions in
README.md
to deploy the application and send aPOST
request to the/runs
endpoint.Expected behavior
Non-existing required directories should be automatically generated when the application is started.
The text was updated successfully, but these errors were encountered: