Skip to content

Instantly share code, notes, and snippets.

@sjpuas
sjpuas / docker-compose.yml
Created January 12, 2017 23:48
docker-compose v2.1 healthcheck and service_healthy
version: '2.1'
services:
web:
image: nginx:alpine
depends_on:
db:
condition: service_healthy
db:
image: redis:alpine
healthcheck:
@genomics-geek
genomics-geek / README.md
Last active September 9, 2021 23:11
Setup ReactJS, Redux, Webpack with React Hot Reloading on an existing Django Project

Setting up ReactJS/Redux using Webpack for an existing Django project

This guide will help set up your django project to use ReactJS

1. Install Python dependencies

Add pip requirements to our django project:

  • django-webpack-loader==0.4.1 ( Connects Django project with Webpack)
@enricofoltran
enricofoltran / main.go
Last active April 6, 2025 09:48
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"os"
"os/signal"