Sponsored links
Docker

Override Docker compose file to have different environments

The dev-environment and production environment is often different. The difference depends on the system but what I can e...
Docker

Container’s dependency check and health check

A software becomes failing state. When our software falls into a failing state we want to restart the software in order ...
Docker

Run multi Docker containers with compose file

In the previous post, I explained how to communicate with other Docker containers. If you haven't read the post yet, go ...
Docker

Communication with other Docker containers

When we want decide to use Docker container we probably have multiple Docker containers. In that case each container has...
Docker

Bind host directory to Docker container for dev-env

Docker offers following 3 ways to store persistent data.bind mount: Host machine's folder/file is mounted into a contain...
Docker

Docker volume

In the last post, I wrote how to run Node.js application in a docker container but it was Hello, World. application. So ...
Docker

Start Docker from scratch

Docker is widely used but I haven't used it in my career. However, it is one of very useful softwares so it's time to le...
JavaScript/TypeScript

Difference between for, while, forEach, for-in and for-of

A lot of languages support several ways for loop logic. Typescript supports following ways for example.whileforfor in fo...
JavaScript/TypeScript

async/await with Promise in TypeScript

Using promise makes the code much faster. This post explains the basic and advanced usage.
JavaScript/TypeScript

How to write unit tests for a singleton class

Once a static field value changes in unit tests, the change applies to other tests because it's static. It's important to split it into two classes. One class has the main logic and the other stores the class to provide it as singleton.
Sponsored links