R10 tag/path update
[dcaegen2/platform/plugins.git] / k8s / plugin_testing_blueprints / blueprints / nginx-svc-script.yaml
1 tosca_definitions_version: cloudify_dsl_1_3\r
2 \r
3 description: >\r
4   Simple blueprint to launch nginx as a "service component"\r
5   Use a script for the healthcheck\r
6 \r
7 imports:\r
8   - https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml\r
9   - plugin:k8splugin?version=>=3.0.0,<4.0.0\r
10 \r
11 node_templates:\r
12   web_server:\r
13     type: dcae.nodes.ContainerizedServiceComponent\r
14     properties:\r
15         service_component_type: 'nginx-web'\r
16         image: nginx\r
17         docker_config:\r
18             healthcheck:\r
19               type: "script"\r
20               script: "/bin/true"\r
21             ports:\r
22               - '80:0'\r