Curso microservices kotlin micronaut

Overview

Arquitetura de Microserviços

image

Instruções

Criando rede no docker:

docker network create micronaut-net

Criando imagem Postgresql no Docker:

docker run --name ms-postgres --network micronaut-net -e "POSTGRES_PASSWORD=123456" -p 5432:5432 -d postgres

Criando imagem Redis no Docker:

docker run --name ms-redis --network micronaut-net -p 6379:6379 -d redis
docker exec -it ms-redis redis-cli

Criando imagem Mongo no Docker:

docker run -p 27017:27017 --name ms-mongo --network micronaut-net -e MONGO_INITDB_ROOT_USERNAME=root -e MONGO_INITDB_ROOT_PASSWORD=e296cd9f mongo
docker run -it --rm --network micronaut-net mongo mongo --host ms-mongo -u root -p e296cd9f --authenticationDatabase admin vendas

Criando imagem Kafka no Docker:

docker run -d --name zookeeper-server --network micronaut-net -e ALLOW_ANONYMOUS_LOGIN=yes bitnami/zookeeper:latest
docker run -d --name kafka-server --network micronaut-net -e ALLOW_PLAINTEXT_LISTENER=yes -e KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper-server:2181 bitnami/kafka:latest

Criando imagem Consul no Docker:

docker run --network micronaut-net -p 8500:8500 --name ms-consul consul

Criando imagem gateway no Docker:

docker build -t api-gateway:v1 .
docker run -p 9090:9090 --name api-gateway --network micronaut-net api-gateway:v1

Criando imagem veiculo-service no Docker:

docker build -t veiculo-service:v1 .
docker run -P --network micronaut-net veiculo-service:v1

Criando imagem loja-service no Docker:

docker build -t loja-service:v1 .
docker run -P --network micronaut-net loja-service:v1

Criando imagem relatorio-service no Docker:

docker build -t relatorio-service:v1 .
docker run -P --network micronaut-net relatorio-service:v1
You might also like...
Team management service is a production ready and fully tested service that can be used as a template for a microservices development.
Team management service is a production ready and fully tested service that can be used as a template for a microservices development.

team-mgmt-service Description Team management service is a production ready and fully tested service that can be used as a template for a microservice

A project to learn about Reactive Microservices experimenting with architectures and patterns
A project to learn about Reactive Microservices experimenting with architectures and patterns

reactive-microservices-workshop Copyright © 2021 Aleix Morgadas - Licenced under CC BY-SA 4.0 A project to learn about Reactive Microservices experime

Proof-of-Concept messaging and "voice over IP" server that uses microservices

bullets THIS IS A WIP PROJECT. Proof-of-Concept messaging and "voice over IP" server that uses microservices. The project uses many technologies. Such

Curso dos fundamentos da linguagem Kotlin disponibilizado pela TreinaWeb

💻 Kotlin Fundamentos 💻 Curso dos fundamentos da linguagem Kotlin disponibilizado pela TreinaWeb Tecnologias Usadas Kotlin Executando Clone o projeto

DogglersApp - Criação de um App para estudo de RecyclerView no Android Studio. Parte do curso Android Basics in Kotlin

Dogglers - Starter Code Starter code for the second independent project for Android Basics in Kotlin. Introduction This is the starter code for the Do

Repositorio com a finalidade de por em pratica todo o conhecimento das aulas do curso Kotlin e Spring do Zero ao avançado da udemy

kotlin-spring Repositorio com a finalidade de por em pratica todo o conhecimento das aulas do curso Kotlin e Spring do Zero ao avançado da udemy. Obse

Jugando con un Parking realizado como prueba de examen en JetBrains Academy, curso Kotlin Developer
Jugando con un Parking realizado como prueba de examen en JetBrains Academy, curso Kotlin Developer

Kotlin Parking Lot Proyecto de evaluación para el título de Kotlin Developer en Jetbrains Academy. Consiste en realizar un parking con las especificac

Guía de supervivencia de Kotlin para 2º DAM. Curso 2022/2023
Guía de supervivencia de Kotlin para 2º DAM. Curso 2022/2023

Kotlin Supervivencia para 2º DAM Ejemplos de la supervivencia en Kotlin para 2º DAM. Curso 2022/2023. Kotlin Supervivencia para 2º DAM 1. Programación

O projeto Calling-Therapies é um aplicativo em desenvolvimento para o Trabalho de Conclusão de Curso da faculdade.

Calling-Therapies 📔 Informações sobre o projeto O projeto Calling-Therapies é um aplicativo em desenvolvimento para o Trabalho de Conclusão de Curso

Owner
null
Kotlin microservices with REST, and gRPC using BFF pattern. This repository contains backend services. Everything is dockerized and ready to "Go" actually "Kotlin" :-)

Microservices Kotlin gRPC Deployed in EC2, Check it out! This repo contains microservices written in Kotlin with BFF pattern for performing CRUD opera

Oguzhan 18 Apr 21, 2022
kotlin micronaut sample

Micronaut 3.1.3 Documentation User Guide API Reference Configuration Reference Micronaut Guides Feature data-r2dbc documentation Micronaut Data R2DBC

Hodong 0 Nov 1, 2021
Aplicação Micronaut GRPC utilizando Kotlin e arquitetura Hexagonal

micronaut-grpc-demo Aplicação Micronaut GRPC utilizando Kotlin e arquitetura Hexagonal #Baixando e configurando um container Postgres: Postgres: docke

Paulo César de Souza 0 Nov 15, 2021
Microservice kotlin micronaut

Arquitetura de Microserviços Instruções Criando rede no docker: docker network c

null 1 Dec 25, 2021
Simple use of Micronaut + Kotlin, implementation of UserContext

Micronaut 3.1.4 Documentation User Guide API Reference Configuration Reference Micronaut Guides Feature jdbc-hikari documentation Micronaut Hikari JDB

null 0 Jan 16, 2022
In this Repo i create public apis to serve apps, like muslim apps using Spring, kotlin, and microservices

spring-freelance-apis-kotlin In this Repo i create public apis to serve apps, like muslim apps using Spring, kotlin, and microservices This repo for l

null 6 Feb 13, 2022
Micronaut Microkaos Application

Micronaut 3.1.3 Documentation User Guide API Reference Configuration Reference Micronaut Guides Push GraalVM Native Image To Docker Registry Workflow

Albert Kuliński 0 Nov 6, 2021
An example of a SQS consumer using Micronaut

Micronaut 3.0.3 Documentation User Guide API Reference Configuration Reference Micronaut Guides Feature http-client documentation Micronaut HTTP Clien

Matheus Ferreira 1 Apr 1, 2022
Ktor is an asynchronous framework for creating microservices, web applications and more.

ktor-sample Ktor is an asynchronous framework for creating microservices, web applications and more. Written in Kotlin from the ground up. Application

mohamed tamer 5 Jan 22, 2022
Microservices with Ktor and Nomad

Microserviços com Ktor e Nomad Esse projeto é um teste prático de microserviços usando o framework Ktor, o banco de dados Postgres, o orquestrador de

Ederson Ferreira 3 Sep 16, 2022