Temas Cubiertos:

  1. Administrar Librerías:
  2. Objetivos del Día:

Pasos Realizados:

  1. Inicializar el Proyecto en Spring Initializr:

  2. Abrir el Proyecto en IntelliJ:

  3. Crear docker-compose.yml en Build.gradle: yaml version: "3"

    services: db: image: mysql:8.0 restart: always environment: MYSQL_DATABASE: 'employees' MYSQL_USER: 'test' MYSQL_PASSWORD: 'test' MYSQL_ROOT_PASSWORD: 'test' ports:

    redis: image: redis:7.0.7 ports:

  4. Configurar application.properties: properties spring.application.name=lab2 spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration

  5. Levantar los Servicios con Docker Compose:

  6. Cargar Datos en el Contenedor MySQL: