Skip to content

eduairet/microservices-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microservices

This repository contains resources and notes related to microservices architecture, created for educational purposes by Eduardo Aire Torres.

Notes

  1. Introduction to Microservices
  2. Microservices Architecture
  3. Designing Microservices Architecture
  4. Deploying Microservices
  5. Testing Microservices
  6. Service Mesh
  7. Logging and Monitoring
  8. When not to use Microservices
  9. Microservices and the Organization
  10. Anti-Patterns and Common Mistakes
  11. Breaking Monoliths into Microservices
  12. Development Notes

Containerization and Deployment

  • In the root of the project (AsciiTypeGenerator), run the following commands to build the Docker images for the different services and push them to Docker Hub:

    • Build and push Docker images for the services:

      • Ascii Service:

        docker build --no-cache -f AsciiService/Dockerfile -t ${DOCKER_USERNAME}/ascii-service:latest .
        docker push ${DOCKER_USERNAME}/ascii-service:latest
      • Gateway Service:

        docker build --no-cache -f GatewayService/Dockerfile -t ${DOCKER_USERNAME}/gateway-service:latest .
        docker push ${DOCKER_USERNAME}/gateway-service:latest
      • Identity Service:

        docker build --no-cache -f IdentityService/Dockerfile -t ${DOCKER_USERNAME}/identity-service:latest .
        docker push ${DOCKER_USERNAME}/identity-service:latest
      • Search Service:

        docker build --no-cache -f SearchService/Dockerfile -t ${DOCKER_USERNAME}/search-service:latest .
        docker push ${DOCKER_USERNAME}/search-service:latest
  • Run the containers using Docker Compose:

    docker-compose up -d

References

About

Microservices example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages