LD4P / sinopia_server

[Deprecated - switching to MongoDB] Sinopia Back-end CRUD Service. LDP-inspired, HTTP Server taking JSON-LD resources & administrative metadata.
Apache License 2.0
1 stars 1 forks source link

allow overriding of default DB connection info #101

Closed jmartin-sul closed 5 years ago

jmartin-sul commented 5 years ago

so that image is usable outside of local dev and CI.

hopefully this... fixes #96

jmartin-sul commented 5 years ago

i pushed the updated ld4p/trellis-ext-db docker image that the changes in this PR would produce, so that @rsmith11 can test with it.

if that goes well, and if there are no objections to the approach here, we can go ahead and merge.

this allows us to specify a DB connection in the same way as the vanilla trellis-ext-db image, but with our other config customizations (e.g. for JWT authN). see vanilla docs here: https://github.com/trellis-ldp/trellis/wiki/Dockerized-Trellis

mjgiarlo commented 5 years ago

:clap: