I hereby claim:
- I am neilbartley on github.
- I am neilbartley (https://keybase.io/neilbartley) on keybase.
- I have a public key whose fingerprint is 2041 40FF BD8F 36BB 8349 1C6A B056 C472 21FA 83CE
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Verifying that +neilbartley is my blockchain ID. https://onename.com/neilbartley
Verifying that "neilbartley.id" is my Blockstack ID. https://onename.com/neilbartley |
#!/bin/bash | |
# | |
# This script will mount /Users in the boot2docker VM using NFS (instead of the | |
# default vboxsf). It's probably not a good idea to run it while there are | |
# Docker containers running in boot2docker. | |
# | |
# Usage: sudo ./boot2docker-use-nfs.sh | |
# |
if Rails::VERSION::MINOR < 2 && Rails::VERSION::MAJOR >= 4 | |
module ActionView | |
module Helpers | |
module TagHelper | |
private | |
def tag_option(key, value, escape) | |
value = value.join(" ") if value.is_a?(Array) | |
value = ERB::Util.h(value) if escape | |
%(#{key}="#{value.gsub(/"/, '"'.freeze)}") |
debug = false | |
logLevel = "ERROR" | |
defaultEntryPoints = ["https", "http"] | |
# https://docs.traefik.io/configuration/entrypoints/ | |
[entryPoints] | |
[entryPoints.http] | |
address = ":80" | |
[entryPoints.http.redirect] # https://docs.traefik.io/configuration/entrypoints/#redirect-http-to-https |
version: '3.4' | |
services: | |
traefik: | |
# Use the apline image, its lovely and small - 22MB! | |
image: traefik:1.7.3-alpine | |
# This just exposes the ports to the host, the host firewall is configured separately | |
ports: | |
- "443:443" # Expose HTTPS port (and available externally) |
# Created a server on DigitalOcean (anywhere will do). Just ensured it had docker installed. | |
# Setup DNS entries for proto[1234].neil.bar pointing at the server. | |
# Connected to the server. | |
# Server has ports locked down. Open up the ones we need. | |
ufw allow 80/tcp | |
ufw allow 443/tcp | |
# Wouldn't normally open this one up but its handy for this demo. | |
ufw allow 8080/tcp |
version: '3.4' | |
services: | |
hsb: | |
image: 123456789012.dkr.ecr.eu-west-1.amazonaws.com/hairy-slackbot:deploy-20181015-0935-e583d12 | |
command: bundle exec puma -p 3000 | |
# This links to the network created in the proxy (træfik) stack | |
networks: | |
- traefik_traefik |
version: '3.4' | |
services: | |
proto1: | |
image: 123456789012.dkr.ecr.eu-west-1.amazonaws.com/prototoype:deploy-20181019-1050-a127c89 | |
command: bundle exec puma -p 9292 | |
# This links to the network created in the proxy (traefik) stack | |
networks: | |
- traefik_traefik |