Skip to content

Instantly share code, notes, and snippets.

version: "2"
services:
hello:
build: ./hello/.
ports:
- "${HELLO_PORT}:8080"
labels:
- "app=hello"
- "hystrix.enabled=true"
export HOSTIP=192.168.121.212
export HELLO_PORT=13371
export HOLA_PORT=13372
export BONJOUR_PORT=13373
export ALOHA_PORT=13374
export NAMASTE_PORT=13375
export OLA_PORT=13376
export API_GATEWAY_PORT=13377
export HYSTRIX_DASHBOARD_PORT=13378
export TURBINE_SERVER_PORT=13379
@dustymabe
dustymabe / foo.rst
Last active January 24, 2016 23:38

Background

The CentOS_ community is trying to build an ecosystem that fosters and encourages upstream communities to continuously perform integration testing of their code running on the the CentOS platform. The CentOS

@dustymabe
dustymabe / post2.rst
Last active November 6, 2015 16:47
Fedora Cloud Vagrant Boxes in Atlas

With the Fedora 22 release we started creating Vagrant boxes for our cloud images in order to make it easier to set up a local environment for development or testing. In the 22 release cycle we worked out quite a few kinks and we are again releasing libvirt and virtualbox Vagrant boxes for Fedora 23. We are also going a step farther this time and making it

@dustymabe
dustymabe / fstrimcloudimage.sh
Created June 17, 2015 22:05
Script that will download the F22 cloud image and run fstrim and the compress it again.
#!/bin/bash
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@dustymabe
dustymabe / virt-import.sh
Created June 1, 2015 17:54
Helper Script to import cloud images into running VMs
#!/bin/bash
# exit on any error
set -o errexit
# A few tunable variables
NAME='atomic'
NAME='try'
#NAME='test'
#DISK='/guests/rhel-guest-image-7.1-20150224.0.x86_64.qcow2'
### Keybase proof
I hereby claim:
* I am dustymabe on github.
* I am dustymabe (https://keybase.io/dustymabe) on keybase.
* I have a public key whose fingerprint is 3DBE B31B 973A B15F 3DB5 160F 3302 DBD7 3952 E671
To claim this, I am signing this object:
@dustymabe
dustymabe / TestProjectAtomic.rst
Created November 17, 2014 04:39
Testing Project Atomic

Test steps for atomic

Below are some steps to roughly test an atomic host from Project Atomic.

Booting with cloud-init

First step is to start an atomic host using any method/cloud provider

@dustymabe
dustymabe / gist:3d53cfe6b9ae32c5e2fb
Created October 30, 2014 04:52
ec2makeimage.txt
# Using ec2-api-tools cli to create ebs backed AMI
# get the cli from https://aws.amazon.com/developertools/Amazon-EC2/351
# Download image
wget https://kojipkgs.fedoraproject.org//work/tasks/8933/7978933/Fedora-Cloud-Base-20141029-21_Beta.i386.raw.xz --no-check-certificate
# Uncompress image
unxz Fedora-Cloud-Base-20141029-21_Beta.i386.raw.xz
# export keys to env
#!/bin/bash
# exit on any error
set -o errexit
# A few tunable variables
NAME='rh7'
ISO='/guests/rhel-server-7.0-x86_64-dvd.iso'
RAMSIZE='1500' # IN MB
DISKSIZE='12' # IN GB