Herramientas de usuario

Herramientas del sitio


clase:daw:proyecto:1eval:tema02

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Ambos lados, revisión anteriorRevisión previa
Próxima revisión
Revisión previa
clase:daw:proyecto:1eval:tema02 [2026/01/20 11:33] – [Ejemplo simple despliegue] Lorenzoclase:daw:proyecto:1eval:tema02 [2026/01/20 12:20] (actual) Lorenzo
Línea 12: Línea 12:
     * Backend     * Backend
     * MySQL Base de datos     * MySQL Base de datos
 +    * NGING Frontend
  
 <uml> <uml>
Línea 246: Línea 247:
 </sxh> </sxh>
  
-<sxh yaml;title: docker-compose.yml>+<sxh yaml;title: docker-compose.yml;highlight:[8,9,10,20,21,23-26]>
 services: services:
   web:   web:
-    build: . +    build: 
-    container_nameweb-lorenzo +      context. 
-    dockerfile: web.Dockerfile    +      dockerfile: web.Dockerfile     
 +    container_name: web-lorenzo    
     environment:     environment:
       VIRTUAL_HOST: lorenzo.preproducciondaw.cip.fpmislata.com       VIRTUAL_HOST: lorenzo.preproducciondaw.cip.fpmislata.com
Línea 279: Línea 281:
 FROM nginx:alpine FROM nginx:alpine
 COPY index.html /usr/share/nginx/html/index.html COPY index.html /usr/share/nginx/html/index.html
 +</sxh>
 +
 +<sxh html;title:index.html>
 +<!doctype html>
 +<html lang="es">
 +<head>
 +<meta charset="utf-8">
 +<title>hola lorenzo</title>
 +</head>
 +<body>
 +hola lorenzo
 +</body>
 +</html>
 +
 </sxh> </sxh>
  
clase/daw/proyecto/1eval/tema02.1768905237.txt.gz · Última modificación: por Lorenzo