Commit 96c7bb84 authored by jg5dev's avatar jg5dev 💬
Browse files

better

parent 6c44043d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" data-diagram-type="ACTIVITY" height="525px" preserveAspectRatio="none" style="width:159px;height:525px;background:#FFFFFF;" version="1.1" viewBox="0 0 159 525" width="159px" zoomAndPan="magnify"><defs/><g><ellipse cx="80.5" cy="16" fill="#222222" rx="10" ry="10" style="stroke:#222222;stroke-width:1;"/><rect fill="#F1F1F1" height="52.6882" rx="12.5" ry="12.5" style="stroke:#181818;stroke-width:0.5;" width="139.4608" x="11" y="66"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="57.6484" x="21" y="88.8281">Terraform</text><text fill="#000000" font-family="sans-serif" font-size="12" font-style="italic" lengthAdjust="spacing" textLength="119.4608" x="21" y="105.1722">crea la infraestructura</text><rect fill="#F1F1F1" height="36.3441" rx="12.5" ry="12.5" style="stroke:#181818;stroke-width:0.5;" width="101.0726" x="30" y="159"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="81.0726" x="40" y="181.8281">IP del servidor</text><rect fill="#F1F1F1" height="52.6882" rx="12.5" ry="12.5" style="stroke:#181818;stroke-width:0.5;" width="129.9927" x="15.5" y="235"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="41.1723" x="25.5" y="257.8281">Ansible</text><text fill="#000000" font-family="sans-serif" font-size="12" font-style="italic" lengthAdjust="spacing" textLength="109.9927" x="25.5" y="274.1722">configura el servidor</text><rect fill="#F1F1F1" height="52.6882" rx="12.5" ry="12.5" style="stroke:#181818;stroke-width:0.5;" width="124.2687" x="18.5" y="328"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="96.2527" x="28.5" y="350.8281">Docker Compose</text><text fill="#000000" font-family="sans-serif" font-size="12" font-style="italic" lengthAdjust="spacing" textLength="104.2687" x="28.5" y="367.1722">desplega l'aplicaci&#243;</text><rect fill="#F1F1F1" height="36.3441" rx="12.5" ry="12.5" style="stroke:#181818;stroke-width:0.5;" width="146.5409" x="7" y="421"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="126.5409" x="17" y="443.8281">Aplicaci&#243; en producci&#243;</text><ellipse cx="80.5" cy="508" fill="none" rx="11" ry="11" style="stroke:#222222;stroke-width:1.5;"/><ellipse cx="80.5" cy="508" fill="#222222" rx="6" ry="6" style="stroke:#222222;stroke-width:1;"/><!--link start to Terraform\n<i>crea la infraestructura</i>--><g class="link" data-entity-1="start" data-entity-2="Terraform.n.i.crea la infraestructura..i." data-source-line="3" data-uid="lnk4" id="link_start_Terraform.n.i.crea la infraestructura..i."><path d="M80.5,26.14 C80.5,36 80.5,46.17 80.5,59.95" fill="none" id="start-to-Terraform\n&lt;i&gt;crea la infraestructura&lt;/i&gt;" style="stroke:#181818;stroke-width:1;"/><polygon fill="#181818" points="80.5,65.95,84.5,56.95,80.5,60.95,76.5,56.95,80.5,65.95" style="stroke:#181818;stroke-width:1;"/></g><!--link Terraform\n<i>crea la infraestructura</i> to IP del servidor--><g class="link" data-entity-1="Terraform.n.i.crea la infraestructura..i." data-entity-2="IP del servidor" data-source-line="4" data-uid="lnk6" id="link_Terraform.n.i.crea la infraestructura..i._IP del servidor"><path d="M80.5,119.15 C80.5,132.02 80.5,141.26 80.5,152.72" fill="none" id="Terraform\n&lt;i&gt;crea la infraestructura&lt;/i&gt;-to-IP del servidor" style="stroke:#181818;stroke-width:1;"/><polygon fill="#181818" points="80.5,158.72,84.5,149.72,80.5,153.72,76.5,149.72,80.5,158.72" style="stroke:#181818;stroke-width:1;"/></g><!--link IP del servidor to Ansible\n<i>configura el servidor</i>--><g class="link" data-entity-1="IP del servidor" data-entity-2="Ansible.n.i.configura el servidor..i." data-source-line="5" data-uid="lnk8" id="link_IP del servidor_Ansible.n.i.configura el servidor..i."><path d="M80.5,195.09 C80.5,206.61 80.5,216 80.5,228.96" fill="none" id="IP del servidor-to-Ansible\n&lt;i&gt;configura el servidor&lt;/i&gt;" style="stroke:#181818;stroke-width:1;"/><polygon fill="#181818" points="80.5,234.96,84.5,225.96,80.5,229.96,76.5,225.96,80.5,234.96" style="stroke:#181818;stroke-width:1;"/></g><!--link Ansible\n<i>configura el servidor</i> to Docker Compose\n<i>desplega l'aplicaci?</i>--><g class="link" data-entity-1="Ansible.n.i.configura el servidor..i." data-entity-2="Docker Compose.n.i.desplega l.aplicaci...i." data-source-line="6" data-uid="lnk10" id="link_Ansible.n.i.configura el servidor..i._Docker Compose.n.i.desplega l.aplicaci...i."><path d="M80.5,288.33 C80.5,300.73 80.5,309.55 80.5,321.92" fill="none" id="Ansible\n&lt;i&gt;configura el servidor&lt;/i&gt;-to-Docker Compose\n&lt;i&gt;desplega l'aplicaci&#243;&lt;/i&gt;" style="stroke:#181818;stroke-width:1;"/><polygon fill="#181818" points="80.5,327.92,84.5,318.92,80.5,322.92,76.5,318.92,80.5,327.92" style="stroke:#181818;stroke-width:1;"/></g><!--link Docker Compose\n<i>desplega l'aplicaci?</i> to Aplicaci? en producci?--><g class="link" data-entity-1="Docker Compose.n.i.desplega l.aplicaci...i." data-entity-2="Aplicaci. en producci." data-source-line="7" data-uid="lnk12" id="link_Docker Compose.n.i.desplega l.aplicaci...i._Aplicaci. en producci."><path d="M80.5,381.15 C80.5,394.02 80.5,403.26 80.5,414.72" fill="none" id="Docker Compose\n&lt;i&gt;desplega l'aplicaci&#243;&lt;/i&gt;-to-Aplicaci&#243; en producci&#243;" style="stroke:#181818;stroke-width:1;"/><polygon fill="#181818" points="80.5,420.72,84.5,411.72,80.5,415.72,76.5,411.72,80.5,420.72" style="stroke:#181818;stroke-width:1;"/></g><!--link Aplicaci? en producci? to end--><g class="link" data-entity-1="Aplicaci. en producci." data-entity-2="end" data-source-line="8" data-uid="lnk14" id="link_Aplicaci. en producci._end"><path d="M80.5,457.25 C80.5,469.82 80.5,480.4 80.5,490.89" fill="none" id="Aplicaci&#243; en producci&#243;-to-end" style="stroke:#181818;stroke-width:1;"/><polygon fill="#181818" points="80.5,496.89,84.5,487.89,80.5,491.89,76.5,487.89,80.5,496.89" style="stroke:#181818;stroke-width:1;"/></g></g></svg>
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentStyleType="text/css" data-diagram-type="DESCRIPTION" height="219px" preserveAspectRatio="none" style="width:483px;height:219px;background:#FFFFFF;" version="1.1" viewBox="0 0 483 219" width="483px" zoomAndPan="magnify"><defs/><g><!--entity control--><g class="entity" data-entity="control" data-source-line="1" data-uid="ent0002" id="entity_control"><polygon fill="#F1F1F1" points="161,16,171,6,311.0676,6,311.0676,64.1358,301.0676,74.1358,161,74.1358,161,16" style="stroke:#181818;stroke-width:0.5;"/><line style="stroke:#181818;stroke-width:0.5;" x1="301.0676" x2="311.0676" y1="16" y2="6"/><line style="stroke:#181818;stroke-width:0.5;" x1="161" x2="301.0676" y1="16" y2="16"/><line style="stroke:#181818;stroke-width:0.5;" x1="301.0676" x2="301.0676" y1="16" y2="74.1358"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="106.1616" x="176" y="40.9659">Node de control</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="110.0676" x="176" y="60.0339">(port&#224;til o CI/CD)</text></g><!--entity web--><g class="entity" data-entity="web" data-source-line="2" data-uid="ent0003" id="entity_web"><polygon fill="#F1F1F1" points="16,163,26,153,142.0997,153,142.0997,192.0679,132.0997,202.0679,16,202.0679,16,163" style="stroke:#181818;stroke-width:0.5;"/><line style="stroke:#181818;stroke-width:0.5;" x1="132.0997" x2="142.0997" y1="163" y2="153"/><line style="stroke:#181818;stroke-width:0.5;" x1="16" x2="132.0997" y1="163" y2="163"/><line style="stroke:#181818;stroke-width:0.5;" x1="132.0997" x2="132.0997" y1="163" y2="202.0679"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="86.0997" x="31" y="187.9659">Servidor web</text></g><!--entity db--><g class="entity" data-entity="db" data-source-line="3" data-uid="ent0004" id="entity_db"><polygon fill="#F1F1F1" points="177,163,187,153,294.9097,153,294.9097,192.0679,284.9097,202.0679,177,202.0679,177,163" style="stroke:#181818;stroke-width:0.5;"/><line style="stroke:#181818;stroke-width:0.5;" x1="284.9097" x2="294.9097" y1="163" y2="153"/><line style="stroke:#181818;stroke-width:0.5;" x1="177" x2="284.9097" y1="163" y2="163"/><line style="stroke:#181818;stroke-width:0.5;" x1="284.9097" x2="284.9097" y1="163" y2="202.0679"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="77.9097" x="192" y="187.9659">Servidor BD</text></g><!--entity cache--><g class="entity" data-entity="cache" data-source-line="4" data-uid="ent0005" id="entity_cache"><polygon fill="#F1F1F1" points="330,163,340,153,466.4316,153,466.4316,192.0679,456.4316,202.0679,330,202.0679,330,163" style="stroke:#181818;stroke-width:0.5;"/><line style="stroke:#181818;stroke-width:0.5;" x1="456.4316" x2="466.4316" y1="163" y2="153"/><line style="stroke:#181818;stroke-width:0.5;" x1="330" x2="456.4316" y1="163" y2="163"/><line style="stroke:#181818;stroke-width:0.5;" x1="456.4316" x2="456.4316" y1="163" y2="202.0679"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="96.4316" x="345" y="187.9659">Servidor cache</text></g><!--link control to web--><g class="link" data-entity-1="control" data-entity-2="web" data-source-line="6" data-uid="lnk6" id="link_control_web"><path d="M197.59,74.15 C169.45,98.44 136.4517,126.9091 111.2117,148.6991" fill="none" id="control-to-web" style="stroke:#181818;stroke-width:1;"/><polygon fill="#181818" points="106.67,152.62,116.0964,149.7665,110.4547,149.3526,110.8686,143.7109,106.67,152.62" style="stroke:#181818;stroke-width:1;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="23.907" x="164" y="118.897">SSH</text></g><!--link control to db--><g class="link" data-entity-1="control" data-entity-2="db" data-source-line="7" data-uid="lnk7" id="link_control_db"><path d="M236,74.15 C236,98.44 236,124.83 236,146.62" fill="none" id="control-to-db" style="stroke:#181818;stroke-width:1;"/><polygon fill="#181818" points="236,152.62,240,143.62,236,147.62,232,143.62,236,152.62" style="stroke:#181818;stroke-width:1;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="23.907" x="237" y="118.897">SSH</text></g><!--link control to cache--><g class="link" data-entity-1="control" data-entity-2="cache" data-source-line="8" data-uid="lnk8" id="link_control_cache"><path d="M275.63,74.15 C304.76,98.51 339.0478,127.1904 365.0978,148.9804" fill="none" id="control-to-cache" style="stroke:#181818;stroke-width:1;"/><polygon fill="#181818" points="369.7,152.83,365.3631,143.9874,365.8648,149.622,360.2303,150.1237,369.7,152.83" style="stroke:#181818;stroke-width:1;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="23.907" x="332" y="118.897">SSH</text></g></g></svg>
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
@@ -77,6 +77,7 @@
  - [Workflow Git](./fonaments/workflow_git.md)
  - [Docker bàsic](./fonaments/basic_docker.md)
  - [DevOps](./fonaments/devops.md)
  - [Infrastructure as Code](./fonaments/iac.md)
- [Programació en Java](./java.md)
  - [Java bàsic](./java/basic_java.md)
  - [Recursivitat](./java/recursivitat.md)
+1 −0
Original line number Diff line number Diff line
@@ -6,3 +6,4 @@
- [Workflow Git](./fonaments/workflow_git.md)
- [Docker bàsic](./fonaments/basic_docker.md)
- [DevOps](./fonaments/devops.md)
- [Infrastructure as Code](./fonaments/iac.md)

src/fonaments/iac.md

0 → 100644
+786 −0

File added.

Preview size limit exceeded, changes collapsed.