- You can access the Microfrontends Angular Mastery Course on Tedu: https://tedu.com.vn/khoa-hoc
This README provides instructions to configure the infrastructure for a Micro Frontend application using Docker
Before starting, ensure you have the following installed on your machine:
- Create a .pfx file:
- MacOS:
dotnet dev-certs https -ep ${HOME}/.aspnet/https/tedu-idp.pfx -p password!
- WindowsOS:
dotnet dev-certs https -ep $env:USERPROFILE\.aspnet\https\tedu-idp.pfx -p password!
- MacOS:
- Trust the file:
dotnet dev-certs https --trust
- At the root folder,
- Create an .env file and replace your Stripe API Key:
StripeConfig_ApiKey=YOUR_STRIPE_API_KEY
- Re pull images command:
docker-compose pull
ordocker compose pull
- Run containers (choose one):
docker-compose -f docker-compose.yml -f docker-compose.override.yml -p tedu_foody_microfrontend up -d --remove-orphans
docker compose -f docker-compose.yml -f docker-compose.override.yml -p tedu_foody_microfrontend up -d --remove-orphans
- Run and rebuild containers (choose one):
docker-compose -f docker-compose.yml -f docker-compose.override.yml -p tedu_foody_microfrontend up -d --remove-orphans --build
docker compose -f docker-compose.yml -f docker-compose.override.yml -p tedu_foody_microfrontend up -d --remove-orphans --build
- Open docker desktop and maker sure all the services are up and running
- Open browser and navigate to Web Health Status