From 96817994f657084354bd53694cba0903a023121f Mon Sep 17 00:00:00 2001 From: Hannes Junnila Date: Tue, 22 Dec 2015 12:02:34 +0200 Subject: [PATCH] add default config --- Dockerfile | 2 ++ pelias.json.docker | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 pelias.json.docker 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 + } + ] + } +}