Coder Social home page Coder Social logo

ageapps / docker-tubeterest Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 421 KB

Dockerized tubeterest, based on my previous project Tubeterest

Home Page: http://swarm1397.cloudhero.io:8083

License: MIT License

JavaScript 6.14% CSS 0.02% HTML 93.78% Nginx 0.06%

docker-tubeterest's Introduction

foto

docker-tubeterest

Dockerized tubeterest, based on my previous project Tubeterest, which is an example of a web application using Polymer library.

Following the Microservices architecture, the system consists on three services that run in separate containers:

Demo

Yo can find a demo, working here

Usage with git

Downloading the source code

$ git clone https://github.com/ageapps/docker-tubeterest.git
$ cd docker-tubeterest
$ docker-compose up
// connect in your browser to <host IP>:8080

Usage with docker-compose, without source code

Just download docker-compose file to pull all images and build the app.

// download docker-compose file
$ curl https://raw.githubusercontent.com/ageapps/docker-tubeterest/master/docker-hub-compose.yml -o docker-compose.yml
// run application
$ docker-compose up
// connect in your browser to <host IP>:8080

Usage with Docker Hub

No download needed, images will pull automatically.

// run mongo service
$ docker run -v "$(pwd)"/database:/data --name mongo_tubeterest -d mongo mongod --smallfiles
// run docker-tubeterest-node image
$ docker run -d --name node_tubeterest --link mongo_tubeterest:db ageapps/docker-tubeterest-node:latest
// run docker-tubeterest-nginx image
$ docker run -d --name nginx_tubeterest --link node_tubeterest:back -p 8080:80 ageapps/docker-tubeterest-nginx:latest
// connect in your browser to <host IP>:8080

Resources

  • Polymer: Front-End library
  • NGINX: Web server and reverse-proxi
  • Docker: Software containerization platform
  • node.js: Server enviroment.
  • MongoDB: NoSQL database system.
  • mongoose: MongoDB object modeling for node.js.
  • docker-build: Automated build of Docker images.
  • docker-compose: Automated configuration and run of multi-container Docker applications.

docker-tubeterest's People

Contributors

ageapps avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.