Hi Team, now I’m using local storage to store flow...
# prefect-community
a
Hi Team, now I’m using local storage to store flows in a local storage. But to my case, it’s a proper solution to store the flow into db. Any guides to achieve on this? Thanks
k
What do you mean by "proper"? Couldn't you insert etc to a db within a task as-is?
a
I mean I want to achieve that which is good for my deployment situation.
It’s not about the config, it’s about the flow itself, stored under ~/.prefect/flows for example
k
I haven't explored prefect to that depth yet. Not knowing your use case, I can't be sure. But if you're worried about database security during deployment you could always just have a parameter being a path to your config file. Don't include it in any repo/docker build, but you can manually add it at the end of deployment
But i do recognize that approach may not be scalable
a
thanks Kyle