Lastest Posts

bye Ghost, hello Hugo

2 minute read Published:

How to migrate from Ghost to Hugo
Why After some server profiling I have discover that the dokku app that was running my blogging platform was consuming around 200MB of RAM. So I start to do some research and I found Hugo Hugo is a general-purpose website framework. Technically speaking, Hugo is a static site generator. Unlike other systems which dynamically build a page every time a visitor requests one, Hugo does the building when you create your content.

Dokku and static website with Caddy

3 minute read Published:

How to deploy a static web in dokku
Today I was checking my Digital Ocean droplet and I recognized that some of the docker images that are stored there are quite huge. My surprise came when I saw that the image that is use to serve a static website has 1.2 GB, when the total weight of the serve files the is 80 kB. As dokku has support for Dockerfile, I decided to create my own “buildpack” using a docker configuration file.

Loopback + Rollbar

2 minute read Published:

Loopback + Rollbar Recently I have worked with, a highly-extensible, open-source Node.js framework. In their website they describe it like that LoopBack is a highly-extensible, open-source Node.js framework that enables you to: Create dynamic end-to-end REST APIs with little or no coding. Access data from major relational databases, MongoDB, SOAP and REST APIs. Incorporate model relationships and access controls for complex APIs. Use geolocation, file, and push services for mobile apps.

Deploy dockerui to dokku

3 minute read Published:

One of the problems of dokku is that is a little bit laborious to know which containers or apps are running. Also read the logs of the different apps could take us too much time. One possibility is to install dockerui. This is a popular web interface for the Docker Remote API, that you can use to check which containers are running in your server or see the logs of a container