Skip to content
Snippets Groups Projects
Commit e9e0aa0b authored by yavorsky's avatar yavorsky
Browse files

Yavorskyi is adding his second sevice template

parent f525d0b4
No related branches found
No related tags found
No related merge requests found
# Lab7_Homework
\ 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: "1215"
y: "232"
displayName: "dafaultApacheServer_yavorsky"
properties:
container_port: "80"
image_name: "httpd:latest"
container_name: "myapacheserver"
host_port: "8082"
requirements:
- host:
node: DockerEngineUT_0
relationship: con_HostedOn_1
capability: host
RemoteWorkstation_0:
type: radon.nodes.VM.RemoteWorkstation
metadata:
x: "443"
y: "264"
displayName: "myWorkerVM_yavorsky"
properties:
ssh_username: "centos"
KeyFile: "/home/ubuntu/.ssh/yavorskyi"
external_ip: "172.17.91.140"
DockerEngineUT_0:
type: radon.nodes.docker.DockerEngineUT
metadata:
x: "813"
y: "260"
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