-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
64 lines (60 loc) · 1.71 KB
/
Copy pathcompose.yml
File metadata and controls
64 lines (60 loc) · 1.71 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
services:
db:
image: postgis/postgis:16-3.4
container_name: beebeebike-db
environment:
POSTGRES_DB: beebeebike
POSTGRES_USER: beebeebike
POSTGRES_PASSWORD: beebeebike
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
restart: unless-stopped
graphhopper:
image: israelhikingmap/graphhopper:latest
container_name: beebeebike-graphhopper
entrypoint:
- "./graphhopper.sh"
- "-c"
- "/config/config.yml"
- "-o"
- "/data/graphhopper-cache"
ports:
- "8989:8989"
volumes:
- ./backend/graphhopper_config.yml:/config/config.yml:ro
- ./backend/custom_models:/custom_models:ro
- ./data/osm/berlin/berlin.osm.pbf:/data/berlin.osm.pbf:ro
- ./data/osm/berlin/graphhopper:/data/graphhopper-cache
environment:
JAVA_OPTS: "-Xmx2g -Xms512m"
restart: unless-stopped
tiles:
image: versatiles/versatiles-frontend:latest-alpine
container_name: beebeebike-tiles
ports:
- "8080:8080"
volumes:
- ./data/tiles/berlin.versatiles:/tiles/berlin.versatiles:ro
command: ["/app/versatiles", "server", "-s", "/app/frontend-dev.br.tar", "[osm]/tiles/berlin.versatiles"]
restart: unless-stopped
backend:
build:
context: .
dockerfile: backend/Dockerfile
container_name: beebeebike-backend
ports:
- "3000:3000"
environment:
DATABASE_URL: postgres://beebeebike:beebeebike@db:5432/beebeebike
GRAPHHOPPER_URL: http://graphhopper:8989
PHOTON_URL: https://photon.komoot.io
LISTEN_ADDR: 0.0.0.0:3000
STATIC_DIR: /app/web/dist
depends_on:
- db
- graphhopper
restart: unless-stopped
volumes:
pgdata: