diff --git a/services/loterre-resolvers/docker-entrypoint.sh b/services/loterre-resolvers/docker-entrypoint.sh index a9b9e421..b824a605 100755 --- a/services/loterre-resolvers/docker-entrypoint.sh +++ b/services/loterre-resolvers/docker-entrypoint.sh @@ -11,6 +11,7 @@ cd /app/public || exit 2 # Restore databases for tgz in /app/data/*.tgz; do su -s /bin/bash daemon -c "tar -xf $tgz"; done +mv /app/public/databases /app/public/.databases # Run ezs server as daemon user su -s /bin/bash daemon -c "npx dotenv -e ../.env -- npx ezs --daemon ./" diff --git a/services/loterre-resolvers/v1/combine.cfg b/services/loterre-resolvers/v1/combine.cfg index f509e9a3..0abc1992 100644 --- a/services/loterre-resolvers/v1/combine.cfg +++ b/services/loterre-resolvers/v1/combine.cfg @@ -1,7 +1,7 @@ # Configuration du chemin de stockage des bases des données locales [env] path = location -value = fix(`/app/public/databases/${env('loterreID', 'noid')}`) +value = fix(`/app/public/.databases/${env('loterreID', 'noid')}`) # STEP 0 : On normalise la valeur à rechercher (de la même manière que l'index a été créé) [assign]