Skip to content
This repository has been archived by the owner on Mar 6, 2019. It is now read-only.

Commit

Permalink
Merge pull request #42 from pelias/libpostal-service
Browse files Browse the repository at this point in the history
Enable the Libpostal Service
  • Loading branch information
orangejulius authored Apr 16, 2018
2 parents f6aa6be + d0cb3fe commit 0b35c79
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,14 @@ services:
volumes:
- "./pelias.json:/code/pelias.json"
api:
depends_on: [ "libpostal_baseimage" ]
image: pelias/api
image: pelias/api:staging
container_name: pelias_api
restart: always
environment: [ "PORT=4000" ]
ports: [ "4000:4000" ]
networks: [ "pelias" ]
volumes:
- "./pelias.json:/code/pelias.json"
- "libpostaldata:/usr/share/libpostal"
libpostal:
image: pelias/go-whosonfirst-libpostal
container_name: pelias_libpostal
Expand Down
3 changes: 3 additions & 0 deletions pelias.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"placeholder": {
"url": "http://placeholder:4100"
},
"libpostal": {
"url": "http://libpostal:8080"
},
"pip": {
"url": "http://pip-service:4200"
},
Expand Down
1 change: 1 addition & 0 deletions run_services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ fi
docker-compose up -d interpolation;
docker-compose up -d placeholder;
docker-compose up -d pip-service;
docker-compose up -d libpostal;
docker-compose up -d api;

0 comments on commit 0b35c79

Please sign in to comment.