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 #26 from pelias/move_dockerfiles_to_repos
Browse files Browse the repository at this point in the history
Remove Dockerfiles that should instead live in their own repos
  • Loading branch information
Diana Shkolnikov authored Sep 27, 2017
2 parents cdcfaf5 + 940332f commit 6a96744
Show file tree
Hide file tree
Showing 14 changed files with 7 additions and 363 deletions.
23 changes: 0 additions & 23 deletions api/Dockerfile

This file was deleted.

43 changes: 6 additions & 37 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,13 @@ services:
depends_on: [ "baseimage" ]
image: pelias/schema
container_name: pelias_schema
build:
context: schema
args: [ "REVISION=production" ]
networks: [ "pelias" ]
volumes:
- "./pelias.json:/code/pelias.json"
api:
depends_on: [ "baseimage", "libpostal_baseimage" ]
image: pelias/api
container_name: pelias_api
build:
context: api
args: [ "REVISION=master" ]
restart: always
environment: [ "PORT=4000" ]
ports: [ "4000:4000" ]
Expand All @@ -42,9 +36,6 @@ services:
depends_on: [ "baseimage" ]
image: pelias/placeholder
container_name: pelias_placeholder
build:
context: placeholder
args: [ "REVISION=master" ]
restart: always
environment: [ "PORT=4100" ]
ports: [ "4100:4100" ]
Expand All @@ -56,9 +47,6 @@ services:
depends_on: [ "baseimage" ]
image: pelias/whosonfirst
container_name: pelias_whosonfirst
build:
context: whosonfirst
args: [ "REVISION=master" ]
networks: [ "pelias" ]
volumes:
- "./pelias.json:/code/pelias.json"
Expand All @@ -67,9 +55,6 @@ services:
depends_on: [ "baseimage" ]
image: pelias/openstreetmap
container_name: pelias_openstreetmap
build:
context: openstreetmap
args: [ "REVISION=master" ]
networks: [ "pelias" ]
volumes:
- "./pelias.json:/code/pelias.json"
Expand All @@ -78,9 +63,6 @@ services:
depends_on: [ "baseimage" ]
image: pelias/openaddresses
container_name: pelias_openaddresses
build:
context: openaddresses
args: [ "REVISION=master" ]
networks: [ "pelias" ]
volumes:
- "./pelias.json:/code/pelias.json"
Expand All @@ -90,7 +72,6 @@ services:
# depends_on: [ "baseimage", "whosonfirst" ]
# image: pelias/geonames
# container_name: pelias_geonames
# build: geonames
# networks: [ "pelias" ]
# volumes:
# - "./pelias.json:/code/pelias.json"
Expand All @@ -109,9 +90,6 @@ services:
depends_on: [ "baseimage" ]
image: pelias/polylines
container_name: pelias_polylines
build:
context: polylines
args: [ "REVISION=production" ]
networks: [ "pelias" ]
volumes:
- "./pelias.json:/code/pelias.json"
Expand All @@ -120,9 +98,6 @@ services:
depends_on: [ "baseimage", "libpostal_baseimage" ]
image: pelias/interpolation
container_name: pelias_interpolation
build:
context: interpolation
args: [ "REVISION=master" ]
restart: always
environment: [ "PORT=4300" ]
ports: [ "4300:4300" ]
Expand All @@ -131,27 +106,21 @@ services:
- "./pelias.json:/code/pelias.json"
- "libpostaldata:/usr/share/libpostal"
- "${DATA_DIR}:/data"
pip:
pip-service:
depends_on: [ "baseimage" ]
image: pelias/pip
container_name: pelias_pip
build:
context: pip
args: [ "REVISION=production" ]
image: pelias/pip-service
container_name: pelias_pip-service
restart: always
environment: [ "PORT=4200" ]
ports: [ "4200:4200" ]
networks: [ "pelias" ]
volumes:
- "./pelias.json:/code/pelias.json"
- "${DATA_DIR}:/data"
document_service:
document-service:
depends_on: [ "baseimage" ]
image: pelias/document_service
container_name: pelias_document_service
build:
context: document_service
args: [ "REVISION=hardcode-hosts-for-docker" ]
image: pelias/document-service
container_name: pelias_document-service
restart: always
ports: [ "5000:5000" ]
networks: [ "pelias" ]
Expand Down
30 changes: 0 additions & 30 deletions document_service/Dockerfile

This file was deleted.

30 changes: 0 additions & 30 deletions geonames/Dockerfile

This file was deleted.

50 changes: 0 additions & 50 deletions interpolation/Dockerfile

This file was deleted.

24 changes: 0 additions & 24 deletions openaddresses/Dockerfile

This file was deleted.

24 changes: 0 additions & 24 deletions openstreetmap/Dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion pelias.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"url": "http://placeholder:4100"
},
"pip": {
"url": "http://pip:4200"
"url": "http://pip-service:4200"
},
"interpolation": {
"url": "http://interpolation:4300"
Expand Down
27 changes: 0 additions & 27 deletions pip/Dockerfile

This file was deleted.

28 changes: 0 additions & 28 deletions placeholder/Dockerfile

This file was deleted.

Loading

0 comments on commit 6a96744

Please sign in to comment.