Skip to content

Instantly share code, notes, and snippets.

View md5's full-sized avatar

Mike Dillon md5

  • Southern California
  • 13:19 (UTC -07:00)
View GitHub Profile
@md5
md5 / 00_README.md
Last active June 13, 2026 16:37
Demonstration Docker config for Wordpress on PHP-FPM behind Nginx

Proof of concept setup for Wordpress running under PHP-FPM with an Nginx frontend

Usage

Build a copy of this image:

git clone git://github.com/d9206eacb5a0ff5d6be0.git docker-nginx-fpm
cd docker-nginx-fpm
docker build -t nginx-fpm .
@md5
md5 / .gitignore
Last active February 28, 2024 04:51
jwilder/nginx-proxy using Compose + Swarm + Machine
/*.env
@md5
md5 / Dockerfile
Last active August 1, 2023 14:41
Testing docker-php-ext-install sockets
FROM php
RUN docker-php-ext-install sockets
COPY test.php /
CMD ["php", "/test.php"]
@md5
md5 / nil_to_query_test.rb
Last active March 7, 2017 01:19
Rails NilClass#to_query(key) test
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
gemfile(true) do
source "https://rubygems.org"
gem "rails", github: "rails/rails"
@md5
md5 / 00_README.md
Last active February 21, 2017 06:38
$ docker build -t java-utf8-test --no-cache  .
  nding build context to Docker daemon 47.62 kB
Sending build context to Docker daemon 
Step 0 : FROM java:8-jdk
 ---> 1fc1263652ea
Step 1 : ADD TestUtf8.java /src/
 ---> c5d7dabbce96
Removing intermediate container 21cc173682b4
Step 2 : WORKDIR /src
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2.2.4
@md5
md5 / README.md
Last active January 6, 2016 03:27 — forked from mbostock/.block
Loxodrome

Loxodrome/rhumb lines

@md5
md5 / 00_README.md
Last active December 19, 2015 06:52
Docker SecureRandom test

Instructions

$ git clone https://gist.github.com/de5cea7195d757582621.git docker-java-secure_random-test
$ cd docker-java-secure_random-test
$ docker build -t local/java-secure_random-test .
$ docker run --rm -it local/java-secure_random-test