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

Merge branch 'master' into 'master'

Aleksandr Krylov is adding his Nginx and Apache service templates all together

See merge request dehury/radon-particles!24
parents a9d4747f 93a2cc4d
No related branches found
No related tags found
No related merge requests found
In this application, we deploy an Apache HTTP server from [this](https://hub.docker.com/_/httpd?tab=description) image 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: "490"
y: "104"
displayName: "defaultApacheServer_krylov"
properties:
container_port: "80"
image_name: "httpd"
container_name: "my_apache_server"
host_port: "8083"
requirements:
- host:
node: DockerEngineUT_0
relationship: con_HostedOn_1
capability: host
RemoteWorkstation_0:
type: radon.nodes.VM.RemoteWorkstation
metadata:
x: "490"
y: "472"
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: "490"
y: "285"
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
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