forked from IGNF/road2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathservice.json
68 lines (68 loc) · 1.53 KB
/
service.json
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
65
66
67
68
{
"application": {
"name": "Road2",
"title": "Service de calcul d'itinéraire",
"description": "Ce service permet de calculer des itinéraires sur les données du Géoportail.",
"url": "https://localhost/",
"provider": {
"name": "IGN",
"site": "www.ign.fr",
"mail": "[email protected]"
},
"logs": {
"configuration": "/home/docker/config/log4js-service.json"
},
"operations":{
"directory": "/home/docker/app/src/resources/operations",
"parameters": {
"directory": "/home/docker/app/src/resources/parameters"
}
},
"resources": {
"directories": [
"/home/docker/data/resources/"
]
},
"sources": {
"directories": [
"/home/docker/data/sources/"
]
},
"network": {
"servers": [
{
"id": "internalServer",
"https": "false",
"host": "0.0.0.0",
"port": "8080"
},
{
"id": "externalServer",
"https": "true",
"host": "0.0.0.0",
"port": "443",
"options": {
"key": "/run/secrets/key",
"cert": "/run/secrets/cert"
}
}
],
"cors": {
"configuration": "/home/docker/config/cors.json"
}
},
"projections": {
"directory": "/home/docker/config/projections/"
},
"apis": [
{
"name" : "simple",
"version" : "1.0.0"
},
{
"name" : "osrm",
"version" : "1.0.0"
}
]
}
}