-
-
Notifications
You must be signed in to change notification settings - Fork 258
Added project for the country austria #222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
0beb0b6
feat(addAustria): added Austria to projects
80767ff
added test url
74bbb26
Merge remote-tracking branch 'upstream/master' into master
7f2be81
fix(readme): fixed typo in readme
b90f013
Merge branch 'master' into master
jimmylevell c0e3c80
Update .env
jimmylevell be95e4e
Update .env
jimmylevell b16413b
Update .env
jimmylevell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| COMPOSE_PROJECT_NAME=pelias | ||
| DATA_DIR=/tmp/pelias/austria |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # Austrian area | ||
|
|
||
| This project is configured to download/prepare/build a complete Pelias installation for Austria. | ||
|
|
||
| # Setup | ||
|
|
||
| Please refer to the instructions at <https://github.com/pelias/docker> in order to install and configure your docker environment. | ||
|
|
||
| The minimum configuration required in order to run this project are [installing prerequisites](https://github.com/pelias/docker#prerequisites), [install the pelias command](https://github.com/pelias/docker#installing-the-pelias-command) and [configure the environment](https://github.com/pelias/docker#configure-environment). | ||
|
|
||
| Please ensure that's all working fine before continuing. | ||
|
|
||
| # Run a Build | ||
|
|
||
| To run a complete build, execute the following commands: | ||
|
|
||
| ```bash | ||
| pelias compose pull | ||
| pelias elastic start | ||
| pelias elastic wait | ||
| pelias elastic create | ||
| pelias download all | ||
| pelias prepare all | ||
| pelias import all | ||
| pelias compose up | ||
| ``` | ||
|
|
||
| # Make an Example Query | ||
|
|
||
| You can now make queries against your new Pelias build: | ||
|
|
||
| <http://localhost:4000/v1/search?text=Heldenplatz> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,112 @@ | ||
| version: '3' | ||
| networks: | ||
| default: | ||
| driver: bridge | ||
| services: | ||
| libpostal: | ||
| image: pelias/libpostal-service | ||
| container_name: pelias_libpostal | ||
| user: "${DOCKER_USER}" | ||
| restart: always | ||
| ports: [ "4400:4400" ] | ||
| schema: | ||
| image: pelias/schema:master | ||
| container_name: pelias_schema | ||
| user: "${DOCKER_USER}" | ||
| volumes: | ||
| - "./pelias.json:/code/pelias.json" | ||
| api: | ||
| image: pelias/api:master | ||
| container_name: pelias_api | ||
| user: "${DOCKER_USER}" | ||
| restart: always | ||
| environment: [ "PORT=4000" ] | ||
| ports: [ "4000:4000" ] | ||
| volumes: | ||
| - "./pelias.json:/code/pelias.json" | ||
| placeholder: | ||
| image: pelias/placeholder:master | ||
| container_name: pelias_placeholder | ||
| user: "${DOCKER_USER}" | ||
| restart: always | ||
| environment: [ "PORT=4100" ] | ||
| ports: [ "4100:4100" ] | ||
| volumes: | ||
| - "./pelias.json:/code/pelias.json" | ||
| - "${DATA_DIR}:/data" | ||
| - "./blacklist/:/data/blacklist" | ||
| whosonfirst: | ||
| image: pelias/whosonfirst:master | ||
| container_name: pelias_whosonfirst | ||
| user: "${DOCKER_USER}" | ||
| volumes: | ||
| - "./pelias.json:/code/pelias.json" | ||
| - "${DATA_DIR}:/data" | ||
| openstreetmap: | ||
| image: pelias/openstreetmap:master | ||
| container_name: pelias_openstreetmap | ||
| user: "${DOCKER_USER}" | ||
| volumes: | ||
| - "./pelias.json:/code/pelias.json" | ||
| - "${DATA_DIR}:/data" | ||
| openaddresses: | ||
| image: pelias/openaddresses:master | ||
| container_name: pelias_openaddresses | ||
| user: "${DOCKER_USER}" | ||
| volumes: | ||
| - "./pelias.json:/code/pelias.json" | ||
| - "${DATA_DIR}:/data" | ||
| csv-importer: | ||
| image: pelias/csv-importer:master | ||
| container_name: pelias_csv_importer | ||
| user: "${DOCKER_USER}" | ||
| volumes: | ||
| - "./pelias.json:/code/pelias.json" | ||
| - "${DATA_DIR}:/data" | ||
| - "./blacklist/:/data/blacklist" | ||
| polylines: | ||
| image: pelias/polylines:master | ||
| container_name: pelias_polylines | ||
| user: "${DOCKER_USER}" | ||
| volumes: | ||
| - "./pelias.json:/code/pelias.json" | ||
| - "${DATA_DIR}:/data" | ||
| interpolation: | ||
| image: pelias/interpolation:master | ||
| container_name: pelias_interpolation | ||
| user: "${DOCKER_USER}" | ||
| restart: always | ||
| environment: [ "PORT=4300" ] | ||
| ports: [ "4300:4300" ] | ||
| volumes: | ||
| - "./pelias.json:/code/pelias.json" | ||
| - "${DATA_DIR}:/data" | ||
| pip: | ||
| image: pelias/pip-service:master | ||
| container_name: pelias_pip-service | ||
| user: "${DOCKER_USER}" | ||
| restart: always | ||
| environment: [ "PORT=4200" ] | ||
| ports: [ "4200:4200" ] | ||
| volumes: | ||
| - "./pelias.json:/code/pelias.json" | ||
| - "${DATA_DIR}:/data" | ||
| elasticsearch: | ||
| image: pelias/elasticsearch:7.5.1 | ||
| container_name: pelias_elasticsearch | ||
| user: "${DOCKER_USER}" | ||
| restart: always | ||
| ports: [ "9200:9200", "9300:9300" ] | ||
| volumes: | ||
| - "./elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro" | ||
| - "${DATA_DIR}/elasticsearch:/usr/share/elasticsearch/data" | ||
| ulimits: | ||
| memlock: | ||
| soft: -1 | ||
| hard: -1 | ||
| nofile: | ||
| soft: 65536 | ||
| hard: 65536 | ||
| cap_add: [ "IPC_LOCK" ] | ||
| security_opt: | ||
| - seccomp=unconfined |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| network.host: 0.0.0.0 | ||
| bootstrap.memory_lock: true | ||
| indices.breaker.fielddata.limit: 85% | ||
| indices.fielddata.cache.size: 75% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| { | ||
| "logger": { | ||
| "level": "debug", | ||
| "timestamp": false | ||
| }, | ||
| "esclient": { | ||
| "apiVersion": "7.5", | ||
| "hosts": [ | ||
| { "host": "elasticsearch" } | ||
| ] | ||
| }, | ||
| "elasticsearch": { | ||
| "settings": { | ||
| "index": { | ||
| "refresh_interval": "10s", | ||
| "number_of_replicas": "0", | ||
| "number_of_shards": "1" | ||
| } | ||
| } | ||
| }, | ||
| "api": { | ||
| "services": { | ||
| "pip": { "url": "http://pip:4200" }, | ||
| "libpostal": { "url": "http://libpostal:4400" }, | ||
| "placeholder": { "url": "http://placeholder:4100" }, | ||
| "interpolation": { "url": "http://interpolation:4300" } | ||
| }, | ||
| "defaultParameters": { | ||
| "focus.point.lat": 50.85, | ||
| "focus.point.lon": 4.35 | ||
| } | ||
| }, | ||
| "imports": { | ||
| "adminLookup": { | ||
| "enabled": true | ||
| }, | ||
| "geonames": { | ||
| "datapath": "/data/geonames", | ||
| "countryCode": "AT" | ||
| }, | ||
| "openstreetmap": { | ||
| "download": [ | ||
| { "sourceURL": "http://download.geofabrik.de/europe/austria-latest.osm.pbf" } | ||
| ], | ||
| "leveldbpath": "/tmp", | ||
| "datapath": "/data/openstreetmap", | ||
| "import": [{ | ||
| "filename": "austria-latest.osm.pbf" | ||
| }] | ||
| }, | ||
| "openaddresses": { | ||
| "datapath": "/data/openaddresses", | ||
| "files": ["at/31254.csv", "at/31255.csv", "at/31256.csv", "at/city_of_vienna.csv", "at/tirol.csv"] | ||
| }, | ||
| "polyline": { | ||
| "datapath": "/data/polylines", | ||
| "files": [ "extract.0sv" ] | ||
| }, | ||
| "whosonfirst": { | ||
| "datapath": "/data/whosonfirst", | ||
| "countryCode": "AT", | ||
| "importPostalcodes": true, | ||
| "importPlace": [ "85632785" ] | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| COMPOSE_PROJECT_NAME=pelias | ||
| DATA_DIR=/tmp/pelias/portland-metro | ||
| DOCKER_USER=1000 | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops I missed this in review, fixed in #224