Browse Source

Remove Docker specific pelias.json

There is a default file managed by the pelias baseimage.
pull/956/head
Julian Simioni 7 years ago
parent
commit
fba8c5c417
No known key found for this signature in database
GPG Key ID: 6DAD08919FDBF563
  1. 2
      Dockerfile
  2. 18
      pelias.json.docker

2
Dockerfile

@ -19,8 +19,6 @@ 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

@ -1,18 +0,0 @@
{
"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