How to restart a service running in docker compose

I’m playing with docker-compose for a test Flask app. My docker-compose.yml looks like this: I noticed any change I made in my files within my templates folder did not take effect when I reloaded the browser locally at localhost:5000 So, I found that I can just restart the ‘www’ service defined on my docker-compose.yml file …

Using .gitignore examples

A .gitignore file is a plain text file where each line contains a pattern for files/directories to ignore. Normally, this is placed in the root directory of your repository. This is the recommended way. The patterns in the .gitignore file are relative to the location of the file. File names Easiest pattern is a literal …

API requests types brief explanation

API is an Application Programming Interface which is a way that allows communication between two applications using a set of rules. While having a great coffee from Bolivia I found the following API requests types. The main Web Service APIs are: SOAP (Simple Object Access Protocol) uses XML to transfer sets of information in the …