Inserm-IST / MTW-MeSH-Docker

Docker Compose file to manage the build and deployment of MTW-MeSH
1 stars 0 forks source link

`mtw-dist.ini` changes are not reflected without rebuilding the image #5

Open JulienBacquart opened 1 month ago

JulienBacquart commented 1 month ago

We can't just COPY the default mtw-dist.ini FROM the MTW release because we need to change the value of SPARQL_HOST to http://jena_fuseki:3030/.

But at the same time, mounting our modified mtw-dist.ini using a bind mount in a volume result in unexpected behavior.

Maybe rewrite the value of SPARQL_HOST on the fly in the Dockerfile ? Something like:

sed -i 's+#SPARQL_HOST = http://127.0.0.1:3030/+SPARQL_HOST = http://jena_fuseki:3030/+' mtw-dist.ini