-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.yaml
48 lines (43 loc) · 960 Bytes
/
package.yaml
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
descriptor-schema-version: "2.5"
info:
name: NodeRedApp
description: "Node Red app that does magic"
version: "1.0"
author-link: "http://www.cisco.com"
author-name: "Cisco Systems"
app:
# Indicate app type (vm, paas, lxc etc.,)
cpuarch: "x86_64"
type: docker
depends-on:
packages:
-
name: "IOxGPS"
version: "1.5.0"
resources:
profile: c1.large
oauth: [OauthClient]
network:
-
interface-name: eth0
ports:
tcp: [1880]
devices:
-
type: serial
label: HOST_DEV_S1
usage: Device serial port 1
-
type: serial
label: HOST_DEV_S2
usage: Device serial port 2
-
type: usbdev
label: HOST_DEV_U1
usage: Device USB port 1
function: serial
mandatory: no
# Specify runtime and startup
startup:
rootfs: rootfs.tar
target: ["sh /usr/src/node-red/gpsapp/run.sh"]