Learned or Solved Something Today?

Dump it here! Let others learn from you

Showing 7 of 7 from page 1

shihab posted in #docker #devops #tutorial

How To Install PostgreSQL With Docker

In this tutorial, we will see how we can install PostgresSQL with docker on our machine. We developers still install a database on our computers and work on it. but using Docker it takes only seconds

anonymous posted in #nginx #devops #snippets #apache #bot

List of About 500 Bad Bots and Blocking Access by User Agent in Nginx and Apache

Crafted an ultimate bad bots list to block in a gist and example nginx, apache configuration to block them by user-agent. Using robots.txt to block bots it might be good idea to start with. But ddding robots.txt might not be enough when they don't r

anonymous posted in #docker #devops #wordpress #snippets #tutorial

Install Wordpress In your local machine (Windows, Linux, Mac) with Docker Compose | Prepare Local Development environment in one minute

Example Docker Compose FIle For Wordpress MySQL phpmyadmin This docker compose yaml file is ready to runto use to install worldpress in your local machine in just one minute One file one minute to get

anonymous posted in #docker #devops #tutorial

Using ONBUILD to install packages

This example uses NodeJS but the same principal could apply to Composer in PHP or Python s Pip This creates a library image that is not meant to be used directly The ONBUILD commands will run when som

anonymous posted in #nginx #devops #server #config #snippets

Example nginx config for reverse proxy with caching

If you are trying to configure Nginx as a caching reverse proxy then this example might be useful for giving you a heads up Example Nginx configuration for reverse proxy If you need only the reverse p

anonymous posted in #docker #devops #snippets #beginners #go

Example Dockerfile for GoLang Applications | Docker starter for GO beginners

Example Dockerfile for running a go application inside docker container. Base Image for Golang We need a base image on which we will build our application. You can specify the version you want. In the example I used alpine version which are very lig

anonymous posted in #docker #devops #tutorial

Example Dockerfile For Multi-Stage Docker Build For A NodeJS Application

Here is an example Dockerfile for building node.js application using docker multistage builds. Steps to build a typical Node.js application using multistage docker build feature Take a light weight node image (for example node:10.15.2-alpine) Add pa

fb