-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (44 loc) · 1.23 KB
/
docker-compose.yml
File metadata and controls
48 lines (44 loc) · 1.23 KB
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
41
42
43
44
45
46
47
48
version: "3.8"
services:
# OSRM Backend - Routing engine for real road distances/times
osrm-backend:
image: osrm/osrm-backend:latest
container_name: osrm-backend
restart: unless-stopped
ports:
- "5001:5000"
volumes:
- ./docker/osrm:/data
# --max-table-size: Max coordinates for distance matrix (default ~100)
# Set to 1000 to support 300+ delivery points
command: osrm-routed --algorithm mld --max-table-size 1000 /data/peru-latest.osrm
profiles:
- routing
# VROOM - Vehicle Routing Optimization
vroom:
image: ghcr.io/vroom-project/vroom-docker:v1.14.0
container_name: vroom
restart: unless-stopped
ports:
- "5000:3000"
volumes:
- ./docker/vroom/config.yml:/conf/config.yml:ro
depends_on:
- osrm-backend
profiles:
- routing
# PostgreSQL with PostGIS (optional - for production)
# postgres:
# image: postgis/postgis:16-3.4
# container_name: postgres
# restart: unless-stopped
# ports:
# - "5432:5432"
# environment:
# POSTGRES_USER: postgres
# POSTGRES_PASSWORD: postgres
# POSTGRES_DB: planeamiento
# volumes:
# - postgres_data:/var/lib/postgresql/data
# volumes:
# postgres_data: