Skip to content

Instantly share code, notes, and snippets.

Avatar

Go mygoda

  • didi
  • 中国 北京
View GitHub Profile
@mygoda
mygoda / Dockerfile
Created Mar 27, 2017 — forked from rosskukulinski/Dockerfile
Docker etcd/confd configuration of nginx
View Dockerfile
FROM <private repo>
MAINTAINER Ross Kukulinski "ross@speakit.io"
ADD nginx.toml /etc/confd/conf.d/nginx.toml
ADD templates/nginx.tmpl /etc/confd/templates/nginx.tmpl
ADD confd-watch /usr/local/bin/confd-watch
RUN chmod +x /usr/local/bin/confd-watch
@mygoda
mygoda / INSTALL.rst
Created Oct 10, 2016 — forked from jensens/INSTALL.rst
sentry setup with docker-compose
View INSTALL.rst

In order to run this image do: docker-compose up -d to get all up. On first run DB initialization and initial user setup is done like so:

First start a bash in the container: docker-compose exec sentry /bin/bash. Then, inside bash, do sentry upgrade wait until it asks you for an inital user. When finished exit the bash.

When in doubt check with docker-compose ps if all went fine.

@mygoda
mygoda / Vagrantfile
Created Jul 18, 2016 — forked from ric03uec/Vagrantfile
flannel setup
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Create a private network, which allows host-only access to the machine
# using a specific IP.
config.vm.define "host1" do |hostone|