Fork me on GitHub
#datomic
<
2016-01-10
>
gerrit15:01:34

According to the docs it is not possible to specify the licenseKey as command line arg. Would you be open to support that? My use case goes like this: I'd like to pass it as arg because it would allow me to add the transactor.properties to a docker image (and check the transactor.properties into SCM) and then provide the licenseKey in the CMD at container start. Or is there another way to achieve that?

raymcdermott17:01:26

How about a small wrapper script that took the license on the command line, then use something like sed or awk to paste it into the properties file before you start up the transactor

raymcdermott19:01:26

You can (and I have done) the same thing with an ENV variable

raymcdermott19:01:20

@gerrit: see the buildpack I made to run Datomic on Heroku if you want to grab some code that could be chopped up to do this https://github.com/opengrail/heroku-buildpack-datomic

gerrit21:01:14

@raymcdermott: sounds interesting. I'll have a look. Thanks!