Skip to content
Snippets Groups Projects
Commit fe228675 authored by kryloval's avatar kryloval
Browse files

Aleksandr Krylov is adding his first service template

parent a2c98fd1
No related branches found
No related tags found
No related merge requests found
In this simple application, we deploy an nginx web server on docker engine installed in a centos worker VM.
\ No newline at end of file
text/plain
\ No newline at end of file
tosca_definitions_version: tosca_simple_yaml_1_3
metadata:
targetNamespace: "radon.blueprints.examples"
topology_template:
node_templates:
containerNginx_0:
type: radon.nodes.docker.containerNginx
metadata:
x: "359"
y: "94"
displayName: "defaultNginxServer_krylov"
properties:
container_port: "80"
image_name: "nginx:1.13"
container_name: "mynginxserver"
host_port: "8082"
requirements:
- host:
node: DockerEngineUT_0
relationship: con_HostedOn_1
capability: host
RemoteWorkstation_0:
type: radon.nodes.VM.RemoteWorkstation
metadata:
x: "350"
y: "475"
displayName: "myWorkerVM_krylov"
properties:
ssh_username: "centos"
KeyFile: "/home/ubuntu/krylov_key"
external_ip: "172.17.91.193"
DockerEngineUT_0:
type: radon.nodes.docker.DockerEngineUT
metadata:
x: "357"
y: "274"
displayName: "DockerEngineUT"
requirements:
- host:
node: RemoteWorkstation_0
relationship: con_HostedOn_0
capability: host
relationship_templates:
con_HostedOn_0:
type: tosca.relationships.HostedOn
con_HostedOn_1:
type: tosca.relationships.HostedOn
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment