forked from conveyal/r5
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (41 loc) · 881 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (41 loc) · 881 Bytes
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
# Usage:
# docker-compose build --build-arg r5version=$(cat build/version.txt)
# docker-compose up
version: '3'
services:
r5:
container_name: r5
build: .
# image: ghcr.io/conveyal/r5:latest
depends_on:
- mongo
links:
- mongo
ports:
- "7070:7070"
# TODO volumes for backend cache directory
ui:
container_name: ui
depends_on:
- mongo
# build: ../analysis-ui
# image: ghcr.io/conveyal/analysis-ui:latest
image: 037a38bb2cdf
ports:
- "3000:3000"
links:
- r5
- mongo
# Map in a config file with mapbox keys, telling the UI to contact host (container) r5
volumes:
- ./ui-env:/ui/.env.local:ro
mongo:
container_name: mongo
image: mongo
restart: always
volumes:
- mongo-volume:/data/db:rw
ports:
- "27017:27017"
volumes:
mongo-volume: