Browse Source

add default config

pull/400/head
Hannes Junnila 9 years ago
parent
commit
96817994f6
  1. 2
      Dockerfile
  2. 18
      pelias.json.docker

2
Dockerfile

@ -18,6 +18,8 @@ RUN npm install && \
npm test && \ npm test && \
chmod -R a+rwX . 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). # 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. # This also reveals permission problems on local Docker.
RUN chown -R 9999:9999 ${WORK} RUN chown -R 9999:9999 ${WORK}

18
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
}
]
}
}
Loading…
Cancel
Save