This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deis-dev-vermillion-violin / # ls -la | |
total 144 | |
-rw-r--r-- 1 root root 51 Jul 17 06:15 ?LY?X? | |
-rw-r--r-- 1 root root 51 Jul 17 07:22 VZ?X? | |
-rw-r--r-- 1 root root 51 Jul 20 21:35 {?&?? | |
drwxr-xr-x 1 root root 524 Jul 20 21:39 . | |
drwxr-xr-x 1 root root 524 Jul 20 21:39 .. | |
-rw-r--r-- 1 root root 51 Jul 20 21:32 0}*?P? | |
-rw-r--r-- 1 root root 51 Jul 16 22:29 0?X?X? | |
-rw-r--r-- 1 root root 51 Jul 20 21:26 @a?"?? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: shared | |
ships: | |
one: { ip: 10.2.10.16, docker_port: 4243 } | |
two: { ip: 10.2.27.100, docker_port: 4243 } | |
three: { ip: 10.2.38.249, docker_port: 4243 } | |
services: | |
mongo: | |
image: mongo:2.6.4 | |
instances: | |
mongo-1: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: shared | |
ships: | |
one: { ip: 10.2.10.16, docker_port: 4243 } | |
two: { ip: 10.2.27.100, docker_port: 4243 } | |
three: { ip: 10.2.38.249, docker_port: 4243 } | |
services: | |
zookeeper: | |
image: quay.io/signalfuse/zookeeper:3.4.5 | |
instances: | |
zookeeper-1: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/bin/systemctl unmask update-engine.service | |
/usr/bin/systemctl start update-engine.service | |
Wait for the update, then lock it down with flagging again: | |
/usr/bin/systemctl stop update-engine.service | |
/usr/bin/systemctl mask update-engine.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make sure you have go installed, GOROOT defined, and are, well, ready to... go. | |
projects ian$ git clone https://github.com/deis/deis | |
projects ian$ cd deis | |
deis ian$ mkdir -p /opt/go | |
deis ian$ export GOPATH=/opt/go | |
deis ian$ export PATH=/opt/go/bin:$PATH | |
deis ian$ godep get github.com/deis/deisctl | |
deis ian$ export DEISCTL_UNITS=/opt/go/src/github.com/deisctl/units | |
deis ian$ vagrant up | |
Bringing machine 'deis-1' up with 'virtualbox' provider... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -v $(pwd):/app -v $DOCKER_CERT_PATH:/certs -e DOCKER_CERT_PATH=/certs -e DOCKER_HOST=$DOCKER_HOST -e DOCKER_TLS_VERIFY=$DOCKER_TLS_VERIFY -ti --rm ianblenke/fig-docker fig --help |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias fig="docker run -v $(pwd):/app -v $DOCKER_CERT_PATH:/certs -e DOCKER_CERT_PATH=/certs -e DOCKER_HOST=$DOCKER_HOST -e DOCKER_TLS_VERIFY=$DOCKER_TLS_VERIFY -ti --rm ianblenke/fig-docker fig" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -ex | |
# Source the boot2docker environment variables | |
eval $(boot2docker shellinit 2>/dev/null) | |
# Use a rails container to create a new rails project in the current directory called figgypudding | |
docker run -it --rm -v $(pwd):/app rails:latest bash -c 'rails new figgypudding; cp -a /figgypudding /app' | |
cd figgypudding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eval $(boot2docker shellinit) |
OlderNewer