mirror of https://github.com/pelias/docker.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
2.7 KiB
102 lines
2.7 KiB
7 years ago
|
version: '3'
|
||
|
networks:
|
||
|
default:
|
||
|
driver: bridge
|
||
|
volumes:
|
||
|
services:
|
||
|
libpostal:
|
||
|
image: pelias/go-whosonfirst-libpostal
|
||
|
container_name: pelias_libpostal
|
||
|
restart: always
|
||
|
ports: [ "8080:8080" ]
|
||
|
schema:
|
||
|
image: pelias/schema:portland-synonyms
|
||
|
container_name: pelias_schema
|
||
|
volumes:
|
||
|
- "./pelias.json:/code/pelias.json"
|
||
|
api:
|
||
|
image: pelias/api:master
|
||
|
container_name: pelias_api
|
||
|
restart: always
|
||
|
environment: [ "PORT=4000" ]
|
||
|
ports: [ "4000:4000" ]
|
||
|
volumes:
|
||
|
- "./pelias.json:/code/pelias.json"
|
||
|
placeholder:
|
||
|
image: pelias/placeholder:master
|
||
|
container_name: pelias_placeholder
|
||
|
restart: always
|
||
|
environment: [ "PORT=4100" ]
|
||
|
ports: [ "4100:4100" ]
|
||
|
volumes:
|
||
|
- "./pelias.json:/code/pelias.json"
|
||
|
- "${DATA_DIR}:/data"
|
||
|
whosonfirst:
|
||
|
image: pelias/whosonfirst:master
|
||
|
container_name: pelias_whosonfirst
|
||
|
volumes:
|
||
|
- "./pelias.json:/code/pelias.json"
|
||
|
- "${DATA_DIR}:/data"
|
||
|
openstreetmap:
|
||
|
image: pelias/openstreetmap:master
|
||
|
container_name: pelias_openstreetmap
|
||
|
volumes:
|
||
|
- "./pelias.json:/code/pelias.json"
|
||
|
- "${DATA_DIR}:/data"
|
||
|
openaddresses:
|
||
|
image: pelias/openaddresses:master
|
||
|
container_name: pelias_openaddresses
|
||
|
volumes:
|
||
|
- "./pelias.json:/code/pelias.json"
|
||
|
- "${DATA_DIR}:/data"
|
||
|
polylines:
|
||
|
image: pelias/polylines:master
|
||
|
container_name: pelias_polylines
|
||
|
volumes:
|
||
|
- "./pelias.json:/code/pelias.json"
|
||
|
- "${DATA_DIR}:/data"
|
||
|
interpolation:
|
||
|
image: pelias/interpolation:master
|
||
|
container_name: pelias_interpolation
|
||
|
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
|
||
|
restart: always
|
||
|
environment: [ "PORT=4200" ]
|
||
|
ports: [ "4200:4200" ]
|
||
|
volumes:
|
||
|
- "./pelias.json:/code/pelias.json"
|
||
|
- "${DATA_DIR}:/data"
|
||
|
document-service:
|
||
|
image: pelias/document-service:master
|
||
|
container_name: pelias_document-service
|
||
|
restart: always
|
||
|
ports: [ "5000:5000" ]
|
||
|
volumes:
|
||
|
- "./pelias.json:/code/pelias.json"
|
||
|
- "${DATA_DIR}:/data"
|
||
|
elasticsearch:
|
||
|
image: pelias/elasticsearch
|
||
|
container_name: pelias_elasticsearch
|
||
|
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
|