rapid NGINX prototyping with docker

Since I have to try new rewrite rules or build POC implementations from time to time, I started using docker for rapid prototyping. Here is an easy 4 step tutorial how to do that. Step 1 extract a default config from the nginx container. docker run --rm -v $(pwd):/tmp/demo nginx cp /etc/nginx/conf.d/default.conf /tmp/demo/ Step 2 edit the default.conf Step 3 run the container with the edited default.conf docker rm -f nginx-demo || true; \ <br/> docker run --name nginx-demo -p7000:80 -v $(pwd):/etc/nginx/conf....

20.06.2018 · itsmethemojo

It has a REST API. That should be easy.

Motivation Setup Mattermost Send a chat post via the Mattermost REST API curl example Motivation As we couldn't use Slack at work, we looked for an alternative and found Mattermost. 1. It has all features of a state of the art chat tool. 2. It has a fancy REST API. 3. We can get rid of emails as development and deployment notifications Sounds awesome. Let's start. As always with software, documentation is key....

26.03.2017 · itsmethemojo