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

Merge branch 'master' into 'master'

Artjom is adding Nginx and Apache service templates into one MR

See merge request dehury/radon-particles!11
parents 22fdd709 1761ac16
No related branches found
No related tags found
No related merge requests found
This is my Apache service
\ 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: "1484"
y: "232"
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: "332"
y: "194"
displayName: "myWorkerVM_artjom"
properties:
ssh_username: "centos"
KeyFile: "/home/ubuntu/id_rsa"
external_ip: "172.17.91.128"
DockerEngineUT_0:
type: radon.nodes.docker.DockerEngineUT
metadata:
x: "878"
y: "234"
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
I still do not know what exactly web-app will do and how it will look like. But for now I have modeled this application with 3 nodes, which will be talking to each other. Cool!!!
\ 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: "1137"
y: "297"
displayName: "defaultNginxServer_artjom"
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: "113"
y: "272"
displayName: "myWorkerVM_artjom"
properties:
ssh_username: "centos"
KeyFile: "/home/ubuntu/id_rsa"
external_ip: "172.17.91.128"
DockerEngineUT_0:
type: radon.nodes.docker.DockerEngineUT
metadata:
x: "677"
y: "276"
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