Skip to content

Instantly share code, notes, and snippets.

View mygoda's full-sized avatar

Go mygoda

  • didi
  • 中国 北京
View GitHub Profile
@mygoda
mygoda / Dockerfile
Created March 27, 2017 08:37 — forked from rosskukulinski/Dockerfile
Docker etcd/confd configuration of nginx
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 October 10, 2016 11:46 — forked from jensens/INSTALL.rst
sentry setup with docker-compose

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 July 18, 2016 06:08 — forked from ric03uec/Vagrantfile
flannel setup
# -*- 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|