Skip to content
Snippets Groups Projects
Commit 4dfe2404 authored by poojara's avatar poojara
Browse files

Merge branch 'master' into 'master'

Rapur is adding his 1st (Nginx) and 2nd (Apache) service templates.

See merge request dehury/radon-particles!3
parents 0634acbf f3d9a661
No related branches found
No related tags found
No related merge requests found
Let's practice once again!
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: "1279"
y: "231"
displayName: "containerNginx"
properties:
container_port: "80"
image_name: "httpd:2.4"
container_name: "myapacheserver"
host_port: "8083"
requirements:
- host:
node: DockerEngineUT_0
relationship: con_HostedOn_1
capability: host
RemoteWorkstation_0:
type: radon.nodes.VM.RemoteWorkstation
metadata:
x: "399"
y: "222"
displayName: "myWorkerVM_rapur"
properties:
ssh_username: "centos"
KeyFile: "/home/ubuntu/devops_rapur"
external_ip: "172.17.88.233"
DockerEngineUT_0:
type: radon.nodes.docker.DockerEngineUT
metadata:
x: "893"
y: "223"
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
This is my very first experience with TOSCA. So far, this lab has been really supportive.
Let's carry on.
\ 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: "754"
y: "136"
displayName: "defaultNginxServer_rapur"
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: "76"
y: "227"
displayName: "myWorkerVM_rapur"
properties:
ssh_username: "centos"
KeyFile: "/home/ubuntu/devops_rapur"
external_ip: "172.17.88.233"
DockerEngineUT_0:
type: radon.nodes.docker.DockerEngineUT
metadata:
x: "374"
y: "218"
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