- Create a random key.
- Encrypt the random key via an SSH RSA public key
- Send the encrypted file and encrypted key
- Encrypt the key
- Encrypt the file
openssl genrsa -out rsa.private 4096
sudo certbot certonly --standalone -d registry.example.com |
#!/bin/bash -e | |
# see related issue: https://github.com/rundeck/rundeck/issues/357 | |
# export required vars | |
export RD_URL=http://localhost:4440 RD_USER=admin RD_PASSWORD=admin RD_HTTP_TIMEOUT=300 | |
# make sure rd & jq commands are in the PATH | |
which -- rd jq >/dev/null | |
del_executions() { |
Dockerfile | |
.git | |
.git* |
version: '2' | |
networks: | |
# create a network to share between TICK services, so they can connect to each other by specifying influxdb network name | |
influxdb: | |
services: | |
telegraf: | |
image: telegraf:1.1.2 | |
container_name: telegraf1.1.2 |
# RS256 | |
# private key | |
openssl genrsa -out rs256-4096-private.rsa 4096 | |
# public key | |
openssl rsa -in rs256-4096-private.rsa -pubout > rs256-4096-public.pem | |
# ES512 | |
# private key | |
openssl ecparam -genkey -name secp521r1 -noout -out ecdsa-p521-private.pem | |
# public key |
#To build: | |
#docker build -t psychemedia/robertalab . | |
#To probe/debug the build... | |
#docker run -it psychemedia/robertalab bash | |
#To run: | |
#docker run -p 1999:1999 psychemedia/robertalab | |
#To expose to other machines on the local netwrok, the docker VM needs port forwarding set up | |
#https://blog.ouseful.info/2016/05/22/exposing-services-running-in-a-docker-container-running-in-virtualbox-to-other-computers-on-a-local-network/ | |
FROM ubuntu |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "Stmt1457967512000", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:ListAllMyBuckets" | |
], | |
"Resource": [ |
#!/usr/bin/env bash | |
# Remove this if you want deployment for every pull request. | |
if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then | |
echo "This is a pull request. No deployment will be done." | |
exit 0 | |
fi | |
# This will only deploy if your main branch is develop. | |
if [[ "$TRAVIS_BRANCH" != "develop" ]]; then |
Raven.config(dsn, { | |
dataCallback(data) { | |
const normalize = filename => filename.split('/www/', 2)[1] | |
data.exception.values[0].stacktrace.frames.forEach(frame => { | |
frame.filename = normalize(frame.filename) | |
}) | |
data.culprit = data.exception.values[0].stacktrace.frames[0].filename |