Skip to content

Instantly share code, notes, and snippets.

[Unit]
Description=App Redis Sidekick
Requires=docker.service
Requires=etcd.service
After=docker.service
After=etcd.service
After=app-redis.service
BindsTo=app-redis.service
[Unit]
Description=App Redis Sidekick
Requires=docker.service
Requires=etcd.service
After=docker.service
After=etcd.service
After=app-redis.service
BindsTo=app-redis.service
FROM ubuntu:14.04
MAINTAINER Ross Kukulinski "[email protected]"
RUN apt-get -qq update
RUN apt-get -qq install -y python-software-properties software-properties-common curl git build-essential supervisor emacs23-nox nano
RUN add-apt-repository -y ppa:chris-lea/node.js
RUN apt-get -qq update
RUN apt-get -qq install -y nodejs
RUN npm -g install npm
RUN npm -g install bower gulp grunt-cli bunyan
var fs = require('fs'),
zlib = require('zlib'),
tar = require('tar'),
pkgcloud = require('pkgcloud'),
log = require('../../common/logging'),
argv = require('optimist').argv;
var logger = log.getLogger('debug');
var client = pkgcloud.storage.createClient({
#!/bin/sh
#---------------------------------
# nodesupervisor Start/Stop Script
#---------------------------------
#---------------------------------
# chkconfig: 2345 99 99
# description: NodeJS Supervisor
# --------------------------------
@kenperkins
kenperkins / localrc
Last active December 15, 2015 12:59 — forked from etoews/localrc
ADMIN_PASSWORD=devstack
MYSQL_PASSWORD=devstack
RABBIT_PASSWORD=devstack
SERVICE_PASSWORD=devstack
SERVICE_TOKEN=devstack
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
SWIFT_REPLICAS=1
PUBLIC_INTERFACE=eth1