diff --git a/Dockerfile b/Dockerfile index 6ab84169..5b07acd6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,8 @@ RUN npm install && \ npm test && \ chmod -R a+rwX . +ADD pelias.json.docker pelias.json + # Don't run as root, because there's no reason to (https://docs.docker.com/engine/articles/dockerfile_best-practices/#user). # This also reveals permission problems on local Docker. RUN chown -R 9999:9999 ${WORK} diff --git a/pelias.json.docker b/pelias.json.docker new file mode 100644 index 00000000..7d012f02 --- /dev/null +++ b/pelias.json.docker @@ -0,0 +1,18 @@ +{ + "esclient": { + "hosts": [ + { + "env": "production", + "protocol": "http", + "host": "pelias-data-container", + "port": 9200 + }, + { + "env": "production", + "protocol": "http", + "host": "pelias-data-container", + "port": 9300 + } + ] + } +}