Skip to content

Instantly share code, notes, and snippets.

View metcalfc's full-sized avatar

Chad Metcalf metcalfc

View GitHub Profile
services:
backend:
image: redis@sha256:b7561e4e994ab52cb2062b9c3e943ab2af3287caf9d9aeb6719acc77013769a5
frontend:
depends_on:
- backend
image: metcalfc/myexample@sha256:82d54bfffb6f6d4e7a648b3927fc86df34217eb132ce737d1d9830d61266dcdd
ports:
- 5000:5000
version: '3.8'
@metcalfc
metcalfc / iam.json
Last active July 2, 2020 03:54
testme
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"ec2:*",
"elasticloadbalancing:*",
"cloudwatch:*",
"autoscaling:*",
powershell.exe "& 'C:\Windows\System32\bash.exe' -c 'sudo /etc/init.d/ssh start'"
powershell.exe "& 'C:\Windows\System32\bash.exe' -c 'sudo /home/metcalfc/bin/sudppipe.sh start'"
timeout 5
#!/bin/bash
while [[ $# -gt 1 ]]
do
case "$1" in
-f | --file)
file="$2"
shift 2
;;
-h | --hostname)
@metcalfc
metcalfc / main.go
Last active November 6, 2015 20:44
Quick go utility to get the latest Docker Compose release from Github
/*
Copyright 2015 Chad Metcalf <metcalfc@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
### Keybase proof
I hereby claim:
* I am metcalfc on github.
* I am metcalfc (https://keybase.io/metcalfc) on keybase.
* I have a public key whose fingerprint is CBA4 56C4 BB7E A54F 4C9A A7E9 3BF7 36DC EFE2 FB0B
To claim this, I am signing this object: