Skip to content

Instantly share code, notes, and snippets.

View tad-lispy's full-sized avatar

Tad Lispy tad-lispy

View GitHub Profile
@tad-lispy
tad-lispy / etc-init-microserver-container.conf
Created July 18, 2014 15:38
Upstart Docker services with relaying on mongo container
description "Microserver container"
author "Tadeusz Łazurski <tadeusz@lazurski.pl>"
start on filesystem and started docker and started mongo-container
stop on runlevel [!2345]
respawn
exec /usr/bin/docker start -a microserver
pre-start exec sleep 30
@tad-lispy
tad-lispy / etc-default-docker
Created May 3, 2014 12:42
Docker + SkyDNS + Upstart
# Docker Upstart and SysVinit configuration file
# Customize location of Docker binary (especially for development testing).
#DOCKER="/usr/local/bin/docker"
# Use DOCKER_OPTS to modify the daemon startup options.
DOCKER_OPTS="-r=false --dns 172.17.42.1 --dns 8.8.8.8 --dns 8.8.4.4"
# If you need Docker to use an HTTP proxy, it can also be specified here.
#export http_proxy="http://127.0.0.1:3128/"