You'll need:
- A paid ngrok account
- A reserved domain on ngrok, e.g. the FQDN you're generating certs for
- A registed domain and access to change DNS records
- Install certbot and ngrok
brew cask install certbot ngrok
core@ip-10-250-12-130 ~ $ docker images | |
REPOSITORY TAG IMAGE ID CREATED SIZE | |
quay.io/ablehealth/able_rails bb78e29 350c2b0fd19e 22 hours ago 1.032 GB | |
quay.io/ablehealth/able_rails 9067c3192174375aab84a48aa658bd1bc1854662 4f95a4381a19 29 hours ago 1.025 GB | |
quay.io/ablehealth/able_rails d97bc1ad8abe4adaa1911b0c27f04d3820fb95ab 284f09ca6f77 32 hours ago 1.028 GB | |
datadog/docker-dd-agent latest 6cba91c93381 2 days ago 334.3 MB | |
quay.io/aptible/nginx latest c4a042ea3d82 10 days ago 45.52 MB | |
gcr.io/kubernetes-helm/tiller v2.0.0 5b5848956bb7 2 weeks ago 71.6 MB | |
bitnami/redis 3.2.5-r0 |
apiVersion: v1 | |
kind: Service | |
metadata: | |
labels: | |
kubernetes.io/cluster-service: 'true' | |
kubernetes.io/name: monitoring-grafana | |
name: monitoring-grafana | |
namespace: kube-system | |
spec: | |
# In a production setup, we recommend accessing Grafana through an external Loadbalancer |
require 'rails_helper' | |
RSpec.describe 'rake db:seed' do | |
it 'loads without error' do | |
load Rails.root.join('db', 'seeds.rb') | |
end | |
end |
AllCops: | |
Include: | |
- '**/Rakefile' | |
- '**/config.ru' | |
- 'lib/tasks/**/*' | |
Exclude: | |
- bin/* | |
- db/schema.rb | |
- vendor/bundle/**/* | |
TargetRubyVersion: 2.3 |
AllCops: | |
Include: | |
- '**/Rakefile' | |
- '**/config.ru' | |
- 'lib/tasks/**/*' | |
Exclude: | |
- bin/* | |
- db/schema.rb | |
- vendor/bundle/**/* | |
TargetRubyVersion: 2.3 |
AllCops: | |
Include: | |
- '**/Rakefile' | |
- '**/config.ru' | |
- 'lib/tasks/**/*' | |
Exclude: | |
- bin/* | |
- db/schema.rb | |
- vendor/bundle/**/* | |
TargetRubyVersion: 2.3 |
# Create a VPC to launch our instances into | |
resource "aws_vpc" "main" { | |
cidr_block = "10.0.0.0/16" | |
tags { | |
Name = "Terraform VPC" | |
} | |
} | |
resource "aws_vpc_endpoint" "private_s3" { |
require 'active_support/core_ext/time/zones' | |
require 'reporting/report_day_in_client_time_zone' | |
RSpec.describe Reporting::ReportDayInClientTimeZone, :time do | |
let(:now) { beginning_of_yesterday + 1.day + 23.hours } | |
let(:beginning_of_yesterday) { client_time_zone.parse('2014-08-04') } | |
let(:client_time_zone) { Time.find_zone!('Melbourne') } | |
def stub_client_time_zone | |
stub_const('APP_CONFIG', double(client_time_zone: client_time_zone)) |
'use strict'; | |
const _ = require('lodash'); | |
const Promise = require('bluebird'); | |
const fs = require('fs'); | |
const mysql = require('mysql'); | |
const Sequelize = require('sequelize'); | |
const config = require('config'); | |
const database = config.get('database'); |