This repository contains resources and notes related to microservices architecture, created for educational purposes by Eduardo Aire Torres.
- Introduction to Microservices
- Microservices Architecture
- Designing Microservices Architecture
- Deploying Microservices
- Testing Microservices
- Service Mesh
- Logging and Monitoring
- When not to use Microservices
- Microservices and the Organization
- Anti-Patterns and Common Mistakes
- Breaking Monoliths into Microservices
- Development Notes
-
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