1
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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"]
|
||||
Reference in New Issue
Block a user