-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathapp.yaml
More file actions
59 lines (58 loc) · 2.2 KB
/
app.yaml
File metadata and controls
59 lines (58 loc) · 2.2 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
# This manifest holds the information the app needs to run on the Nextmv Cloud.
type: python
runtime: ghcr.io/nextmv-io/runtime/python:3.11
# List all files/directories that should be included in the app. Globbing
# (e.g.: configs/*.json) is supported.
files:
- main.py
python:
# Packages the app depends on need to be listed in a requirements.txt file
# that is referenced here. All listed packages will get bundled with the app.
pip-requirements: requirements.txt
configuration:
content:
format: "json"
options:
items:
- name: duration
option_type: int
default: 30
description: "Max runtime duration (in seconds)."
ui:
control_type: input
display_name: "Max Runtime (seconds)"
- name: exploration_level
option_type: int
default: 4
description: "Exploration level for the solver."
ui:
control_type: input
display_name: "Exploration Level"
- name: threads
option_type: int
default: 6
description: "Number of threads to use."
ui:
control_type: input
display_name: "Threads"
- name: default_duration
option_type: int
default: null
description: "Default service duration (in seconds) for all stops. Stop-level duration values take precedence."
ui:
control_type: input
display_name: "Stop Service Duration Default (seconds)"
- name: default_lat
option_type: float
default: null
description: "Latitude of the default start and end location for all vehicles. Vehicle-level start_location and end_location take precedence. If unset, the input data must supply the vehicle locations."
ui:
control_type: input
display_name: "Vehicle Start Latitude (Default)"
- name: default_lon
option_type: float
default: null
description: "Longitude of the default start and end location for all vehicles. Vehicle-level start_location and end_location take precedence. If unset, the input data must supply the vehicle locations."
ui:
control_type: input
display_name: "Vehicle Start Longitude (Default)"