Skip to content

Distributed System with Docker, Kubernetes, MySQL, Python & ExpressJS

License

Notifications You must be signed in to change notification settings

Amaterazu7/DistributedSystem-dockerKube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Distributed System with Docker, Kubernetes, MySQL & ExpressJS

Why Docker

"With Docker, developers can build any app in any language using any toolchain. “Dockerized” apps are completely portable and can run anywhere - colleagues’ OS X and Windows laptops, QA servers running Ubuntu in the cloud, and production data center VMs running Red Hat.

Developers can get going quickly by starting with one of the 13,000+ apps available on Docker Hub. Docker manages and tracks changes and dependencies, making it easier for sysadmins to understand how the apps that developers build work. And with Docker Hub, developers can automate their build pipeline and share artifacts with collaborators through public or private repositories.

Docker helps developers build and ship higher-quality applications, faster." -- What is Docker

Getting Started

These instructions will cover usage information and for the docker container.

Prerequisities

In order to run this container you'll need docker installed.

Usage

Container Parameters

We can create all instances of the projects with a docker-compose.yml file:

$ docker-compose up -d .

Here we create a image in order to create a containers, example with node project.

$ docker build -t docker-rappi-oeste:1.0.0 .

One example running the docker image in our local port 3000.

$ docker run -it -p 3000:3000 docker-rappi-oeste:1.0.0

One example to enter into a running container

$ docker exec -it ${ontainerID} sh

Environment Variables

  • HOME - This is the path of our app location inside the container /usr/src/app

Externals Libs Node

Externals Libs Mysql

Authors

  • Diego Leonel Cañete - Initial work
  • Matias Torsselo - Initial work
  • Luccio Trucco - Initial work

License

This project is licensed under the GPL-3.0 License - see the LICENSE file for details.