This commit is contained in:
Hamza-Ayed
2026-03-20 02:14:50 +03:00
parent 65ce6a0ba2
commit 6e6ee55d03
47 changed files with 14706 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
# Use official Node.js image
FROM node:20-alpine
WORKDIR /app
# Install dependencies placeholder
# سيتم تثبيت الاعتمادات لاحقاً
COPY apps/api/package*.json ./
RUN npm install
COPY apps/api/ .
RUN npm run build
EXPOSE 3200
CMD ["npm", "run", "start:prod"]
@@ -0,0 +1,25 @@
graphhopper:
datareader.file: /data/jordan-latest.osm.pbf
graph.location: /data/graph-cache
import.osm.ignored_highways: ""
graph.encoded_values: road_class,road_environment,max_speed,road_access,surface
profiles:
- name: car
custom_model:
distance_influence: 70
priority:
- if: "true"
multiply_by: 1.0
speed:
- if: "true"
limit_to: 100
profiles_ch:
- profile: car
server:
application_connectors:
- type: http
port: 8989
bind_host: 0.0.0.0
@@ -0,0 +1,26 @@
{
"options": {
"paths": {
"root": "/data",
"mbtiles": ""
},
"domains": [
"localhost",
"127.0.0.1"
]
},
"styles": {
"osm-bright": {
"style": "osm-bright/style.json",
"tilejson": {
"type": "overlay",
"bounds": [34.9, 29.1, 39.3, 33.4]
}
}
},
"data": {
"v3": {
"mbtiles": "jordan.mbtiles"
}
}
}
+13
View File
@@ -0,0 +1,13 @@
# Use official Node.js image
FROM node:20-alpine
WORKDIR /app
# Install dependencies placeholder
# سيتم تثبيت الاعتمادات لاحقاً
COPY apps/web/package*.json ./
RUN npm install
COPY apps/web/ .
EXPOSE 5173
CMD ["npm", "run", "dev", "--", "--host"]