Sample microservice for exposing database tables via REST using node.js express.js in a docker container

I have started learning node.js: The first result is this github repository where you can find a basic project of a rest web service that exposes oracle data. How to run the service forever (with autorestart on failures)? I tested it both with a docker container and the pm2 tool

February 9, 2017 · 1 min · 50 words · Matteo Redaelli

Deploying microservices in a Docker container

I already spoke about docker containers (moving datacenters apps from virtual machines to containers) This is a quick tutorial (my github sample code) about a new way of deploying (micro) services and applications, ie using Docker containers: a sample python webservice and an simple web (html + angularJS code) page Creating docker containers means defining a file Dockerfile like``` FROM python:3.5 #FROM python:3-onbuild ENV DEBIAN_FRONTEND noninteractive ENV HTTP_PROXY=“http://myproxy.redaelli.org:80” ENV HTTPS_PROXY=“http://myproxy.redaelli.org:80” ENV http_proxy=“http://myproxy....

December 11, 2015 · 1 min · 194 words · Matteo Redaelli