-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.yaml
35 lines (33 loc) · 885 Bytes
/
types.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
tosca_definitions_version: tosca_simple_yaml_1_0
node_types:
tosca.nodes.containers.docker.app:
derived_from: tosca.nodes.Root
properties:
docker_daemon_url:
type: string
required: true
name:
type: string
image:
type: string
port_binding:
type: map
environment:
type: map
interfaces:
Standard:
type: tosca.interfaces.node.lifecycle.Standard
create:
implementation: docker_plugin.tasks.create
start:
implementation: docker_plugin.tasks.start
inputs:
task_retries: 30
task_retry_interval: 10
stop:
implementation: docker_plugin.tasks.stop
inputs:
task_retries: 30
task_retry_interval: 10
delete:
implementation: docker_plugin.tasks.delete