Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/damola12345/meal-website
https://github.com/damola12345/meal-website
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/damola12345/meal-website
- Owner: Damola12345
- Created: 2021-11-29T12:09:11.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-01T06:36:18.000Z (about 3 years ago)
- Last Synced: 2024-10-11T15:42:00.444Z (3 months ago)
- Language: CSS
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This project aim at building a simple and basic dockerfile and k8s and also a CI/CD pipeline with github actions
Technologies
* Docker
* Kubernetes
* CI/CD - "Github Actions"
* DockerhubGetting Started
* Follow the following instructions to get a copy of the project running on your local machine.Installation/Setup
1. Clone the repo with - git clone
2. Change to the project directly - cd meal-search-api-website
3. Build the docker image by running - docker build -t damola12345/meal-search-api-website:v1 .
4. Run the built image to check it out in a browser - docker run -p 8081:80 damola12345/meal-search-api-website:v1
5. NOTE - This creates a new container from the image and binds port 80 of the container to port 8081 of the host machine
6. Visit localhost:8081 to view the website in a broswerStep 2 - CI/CD
* GitHub Actions - is a CI/CD platform that allows you to automate build,test,deploy pipeline from GitHub. This goes beyond just Dev0ps
and lets you run workflows when other events happen in your repositorySetup
1. checkout
2. setup docker buildx
3. Dockerhub login
4. Build and push
5. Run the pipeline
6. view pushed image in your dockerhub accountStep 3 - Kubernetes
* Kubernetes - the de facto technology for container management and orchestration, however once it's up and running, it's highly configurable
and it serves as the engine for an organisation's modern IT. k8s comes with a capability of automating deployment,scaling & operation of App
containers across clusters.Basic k8s architecture
1. Nodes
2. Pods
3. Deployments
4. Services