All Projects → zkan → microservices-with-docker

zkan / microservices-with-docker

Licence: MIT license
Building a microservice system with Docker (Swarm & Kubernetes)

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
go
31211 projects - #10 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to microservices-with-docker

Swarmpit
Lightweight mobile-friendly Docker Swarm management UI
Stars: ✭ 2,255 (+11768.42%)
Mutual labels:  swarm
Example Voting App
Example Docker Compose app
Stars: ✭ 2,761 (+14431.58%)
Mutual labels:  swarm
Fabricio
Docker deploy automation tool
Stars: ✭ 250 (+1215.79%)
Mutual labels:  swarm
Container.training
Slides and code samples for training, tutorials, and workshops about Docker, containers, and Kubernetes.
Stars: ✭ 2,377 (+12410.53%)
Mutual labels:  swarm
Deploykit
A toolkit for creating and managing declarative, self-healing infrastructure.
Stars: ✭ 2,237 (+11673.68%)
Mutual labels:  swarm
Docker Traefik Prometheus
A Docker Swarm Stack for monitoring Traefik with Promethues and Grafana
Stars: ✭ 215 (+1031.58%)
Mutual labels:  swarm
Docker Blinkt Workshop
Get into physical computing with Docker and Raspberry Pi
Stars: ✭ 151 (+694.74%)
Mutual labels:  swarm
erebos
JavaScript client and CLI for Swarm
Stars: ✭ 47 (+147.37%)
Mutual labels:  swarm
Temporal
☄️ Temporal is an easy-to-use, enterprise-grade interface into distributed and decentralized storage
Stars: ✭ 202 (+963.16%)
Mutual labels:  swarm
Funker
Functions as Docker containers
Stars: ✭ 244 (+1184.21%)
Mutual labels:  swarm
Firecamp
Serverless Platform for the stateful services
Stars: ✭ 194 (+921.05%)
Mutual labels:  swarm
Web3x
Ethereum TypeScript Client Library - for perfect types and tiny builds.
Stars: ✭ 197 (+936.84%)
Mutual labels:  swarm
Haven Platform
Haven is an open source Docker container management system. It integrates container, application, cluster, image, and registry management in one single place.
Stars: ✭ 223 (+1073.68%)
Mutual labels:  swarm
Swarmstack
A Docker swarm-based starting point for operating highly-available containerized applications.
Stars: ✭ 181 (+852.63%)
Mutual labels:  swarm
docker-examples-edition2
Examples pour edition 2 Docker Dunod
Stars: ✭ 16 (-15.79%)
Mutual labels:  swarm
Swarm Ingress Router
Route DNS names to Swarm services based on labels
Stars: ✭ 169 (+789.47%)
Mutual labels:  swarm
Docker On Windows
Code samples for the book "Docker on Windows"
Stars: ✭ 213 (+1021.05%)
Mutual labels:  swarm
swanager
A high-level Docker Services management tool built on top of Swarm
Stars: ✭ 12 (-36.84%)
Mutual labels:  swarm
tool-db
A peer-to-peer decentralized database
Stars: ✭ 15 (-21.05%)
Mutual labels:  swarm
Raspi Cluster
Notes and scripts for setting up (yet another) Raspberry Pi computing cluster
Stars: ✭ 235 (+1136.84%)
Mutual labels:  swarm

Microservices with Docker 101

Building a microservice system with Docker 101

Working with Docker Swarm

After we set up the microservices with Docker Swarm, we can access http://localhost:8000.

Creating a Cluster

docker swarm init
docker stack deploy swarm101 -c swarm/docker-compose.yml

or

fab localhost setup_swarm

Terminating a Cluster

docker swarm leave --force

or

fab localhost leave_swarm

Working with Kubernetes (k8s)

Let's run Minikube before we go on.

minikube start

After we set up the microservices with Docker Swarm, we can access http://192.168.99.100:32500/, where 192.168.99.100 is the IP of the Minikube machine.

Creating a Cluster

kubectl create -f k8s/bangkok-deployment.yml
kubectl create -f k8s/tokyo-deployment.yml
kubectl create -f k8s/nyc-deployment.yml
kubectl create -f k8s/munich-deployment.yml
kubectl create -f k8s/front-gateway-deployment.yml

or

fab localhost setup_k8s

Terminating a Cluster

kubectl delete -f k8s/bangkok-deployment.yml
kubectl delete -f k8s/tokyo-deployment.yml
kubectl delete -f k8s/nyc-deployment.yml
kubectl delete -f k8s/munich-deployment.yml
kubectl delete -f k8s/front-gateway-deployment.yml

or

fab localhost delete_k8s
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].