Reputation: 541
I am trying to use Joplin and was thinking about tackling the issue hinted at in this issue.
Well, I want to store sensitive information outside of version control. I was thinking of using a profiles.clj
file with environment information for each database. So, I could make a dev profile with an SQL database username and a password. So inside profiles.clj
:
{:dev {:db {:user "dirtymike" :password "secret"}}}
But then in project.clj
, I have to pass this to the :joplin
map entry of defproject
. Is that even possible?
Upvotes: 2
Views: 188
Reputation: 2121
You may want to look into environ. It does pretty much what you want to do in a slightly different way.
Upvotes: 1