Skip to content
Snippets Groups Projects
Commit 5d527111 authored by jsapas's avatar jsapas
Browse files

adding apache template

parent c8f77ed5
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: "990"
y: "170"
displayName: "containerNginx"
properties:
container_port: "80"
image_name: "httpd:2.4"
container_name: "myapacheserver"
host_port: "8088"
name: "defaultApacheServer_jsapas"
requirements:
- host:
node: DockerEngineUT_0
relationship: con_HostedOn_1
capability: host
RemoteWorkstation_0:
type: radon.nodes.VM.RemoteWorkstation
metadata:
x: "207"
y: "229"
displayName: "RemoteWorkstation"
properties:
ssh_username: "centos"
KeyFile: "/home/ubuntu/jsapas.pem"
external_ip: "192.168.42.46"
DockerEngineUT_0:
type: radon.nodes.docker.DockerEngineUT
metadata:
x: "541"
y: "202"
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