Browse Source

Set up boosts

custom-boosts-demo
Julian Simioni 7 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_name.txt:/code/pelias/schema/synonyms/custom_name.txt"
- "./synonyms/custom_street.txt:/code/pelias/schema/synonyms/custom_street.txt" - "./synonyms/custom_street.txt:/code/pelias/schema/synonyms/custom_street.txt"
api: api:
image: pelias/api:master image: pelias/api:configurable-boosts
container_name: pelias_api container_name: pelias_api
restart: always restart: always
environment: [ "PORT=4000" ] environment: [ "PORT=4000" ]

7
projects/portland-metro/pelias.json

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

Loading…
Cancel
Save