R10 tag/path update
[dcaegen2/platform/plugins.git] / k8s / plugin_testing_blueprints / blueprints / nginx-svc-log.yaml
1 tosca_definitions_version: cloudify_dsl_1_3
2
3 description: >
4   Simple blueprint to launch nginx as a "service component"
5   Specifies a log directory--expect logging sidecar to be deployed
6
7 imports:
8   - https://www.getcloudify.org/spec/cloudify/4.5.5/types.yaml
9   - plugin:k8splugin?version=>=3.0.0,<4.0.0
10
11 node_templates:
12   web_server:
13     type: dcae.nodes.ContainerizedServiceComponent
14     properties:
15         service_component_type: 'nginx-web'
16         image: nginx
17         log_info:
18           log_directory: "/opt/logs"
19         docker_config:
20             healthcheck:
21               type: "http"
22               endpoint: "/"
23             ports:
24               - '80:0'