PPH l33t

Docker File Modified time Gotcha

The key value proposition of Docker is that once you build a container image, you can run it anywhere. I like the way Adrian Mouat puts it: > What is Software: program Q, when given input P, will produce output R. >HOWEVER: One of the…

Calculating IOPS needed in AWS RDS

One of the most vicious and hard to detect issues in database performance deterioration is I/O. When the I/O of a database is lagging there are multiple and unpredicted issues occuring. Some of the most common are: Increased amount of slow queries Write operations get…

nginx – enable cors for specific domains

Enabling cors using nginx is simple… if you have done it once. This is a small and quick-start example of how it can be done and how you can restrict access to a specific number domains.   Gotcha – SOS (read this if you want…

Presentation on MicroServices on Docker Athens

Spyros and Panagiotis recently gave a presentation at a coworking space in Athens (The Cube), at the Docker Athens community meet up, concerning Micro Service implementation and tools / techniques we use in PPH.   Topics covered were: What is a micro service architecture Advantages…

Docker – Extending official images

In one of our projects we provide our developers a mysql container for the local development environment pre-seeded with tables and data so the app will work “out of the box“. Previously we built the mysql container from a raw ubuntu image but now that…

Converting a trac wiki to Confluence

We wanted to migrate our self-hosted trac wiki to Confluence, hosted by Atlassian (the makers of Confluence). There is a tool called the UWC (Universal Wiki Converter) that can help us. First we need our trac data in a format that the UWC can process….

Using Nginx to proxy to Docker containers

We run our DeskDonkie webapp within a docker container and every deployment starts a new container listening in on a port that docker allocates for us. In order to switch incoming requests to a newly deployed container we use a proxy. There are many proxy…

YiiSES Setup guide

We wanted to build a marketing email application (which we are calling “MailChap”) and since we are a Yii shop I figured before we started, we should try the YiiSES module. Setup was a little tricky so I documented it here in case it’s useful…