https://prefect.io logo
#prefect-community
Title
# prefect-community
a

Alfie

08/27/2020, 3:58 AM
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

Kyle McEntush

08/27/2020, 4:13 AM
What do you mean by "proper"? Couldn't you insert etc to a db within a task as-is?
a

Alfie

08/27/2020, 5:21 AM
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

Kyle McEntush

08/27/2020, 6:22 AM
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

Alfie

08/27/2020, 7:57 AM
thanks Kyle