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

Yavorskyi is adding his first service templates

parent a2c98fd1
No related branches found
No related tags found
No related merge requests found
# Lab7
Simple NGINX running in the docker container.
\ 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: "288"
y: "328"
displayName: "defaultNginxServer_yavorsky"
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: "1151"
y: "307"
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: "746"
y: "304"
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