-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (34 loc) · 1.11 KB
/
Copy pathdocker-compose.yml
File metadata and controls
36 lines (34 loc) · 1.11 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
# Startet den BRouter-Routing-Server und das Backend.
# Das Frontend wird separat per `npm run dev:frontend` gestartet (Vite-Dev-Server).
#
# WICHTIG: BRouter braucht Routing-Daten (rd5-Segmentdateien). Lade die für deine
# Region benötigten *.rd5 nach ./brouter-data/segments4/ herunter:
# https://brouter.de/brouter/segments4/
# (z.B. E5_45.rd5, E10_45.rd5 ... – Kacheln, die dein Fahrgebiet abdecken)
services:
brouter:
build:
context: .
dockerfile: brouter.Dockerfile
ports:
- "17777:17777"
volumes:
- ./brouter-data/segments4:/app/segments4
- ./brouter-data/customprofiles:/app/customprofiles
restart: unless-stopped
backend:
build:
context: .
dockerfile: backend/Dockerfile
ports:
- "8080:8080"
environment:
PORT: 8080
BROUTER_URL: http://brouter:17777/brouter
OVERPASS_URL: https://overpass-api.de/api/interpreter
NOMINATIM_URL: https://nominatim.openstreetmap.org
AUTOBAHN_URL: https://verkehr.autobahn.de/o/autobahn
CONTACT_EMAIL: you@example.com
depends_on:
- brouter
restart: unless-stopped