Browse Source

Set up boosts

custom-boosts-demo
Julian Simioni 6 years ago
parent
commit
006ebe0647
No known key found for this signature in database
GPG Key ID: B9EEB0C6EE0910A1
  1. 2
      projects/portland-metro/docker-compose.yml
  2. 7
      projects/portland-metro/pelias.json

2
projects/portland-metro/docker-compose.yml

@ -22,7 +22,7 @@ services:
- "./synonyms/custom_name.txt:/code/pelias/schema/synonyms/custom_name.txt"
- "./synonyms/custom_street.txt:/code/pelias/schema/synonyms/custom_street.txt"
api:
image: pelias/api:master
image: pelias/api:configurable-boosts
container_name: pelias_api
restart: always
environment: [ "PORT=4000" ]

7
projects/portland-metro/pelias.json

@ -18,6 +18,13 @@
}
},
"api": {
"customBoosts": {
"layer": {
"stops": 5,
"fare": 5,
"station": 1
}
},
"textAnalyzer": "libpostal",
"services": {
"pip": { "url": "http://pip-service:4200" },

Loading…
Cancel
Save