-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
40 lines (38 loc) · 904 Bytes
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
services:
postgis:
image: postgis/postgis
environment:
- POSTGRES_DB=gpx
- POSTGRES_USER=root
- POSTGRES_PASSWORD=root
ports:
- 5432:5432
networks:
- default
restart: unless-stopped
# osrm:
# image: osrm/osrm-backend
# volumes:
# - ./osrm:/data
# - ./osrm:/profiles
# networks:
# - default
# ports:
# - 6000:5000
# restart: unless-stopped
# command: >
# bash -c "
# osrm-extract -p /profiles/foot.lua /data/singapore.osm.pbf &&
# osrm-partition /data/singapore.osrm &&
# osrm-customize /data/singapore.osrm &&
# osrm-routed \
# --algorithm mld \
# --max-matching-size 20000 \
# --max-viaroute-size 20000 \
# --max-trip-size 20000 \
# --max-table-size 20000 \
# /data/singapore.osrm
# "
networks:
default:
driver: bridge