- The PCRE flavour of RegEx is used here.
- Append the
i
modifier to the end of the regex to make any pattern case-insensitive.
| Purpose | Description | RegEx | Example |
persistence: | |
enabled: true | |
# The tag for Harbor docker images. | |
harborImageTag: &harbor_image_tag v1.4.0 | |
# The FQDN for Harbor service. | |
externalDomain: docker.mysite.com | |
# If set to true, you don't need to set tlsCrt/tlsKey/caCrt, but must add | |
# Harbor FQDN as insecure-registries for your docker client. |
# deploy | |
kubectl create ns registry | |
git clone https://github.com/vmware/harbor.git | |
cd harbor/contrib/helm/harbor | |
helm dependency build . | |
# before install, please change values.yaml | |
# 1. you should change crt, key, privateKey and rootCrt | |
# 2. change clair and registry repo |
openssl req \ | |
-newkey rsa:4096 -nodes -sha256 -keyout ca.key \ | |
-x509 -days 365 -out ca.crt \ | |
-subj "/C=DE/ST=Berlin/CN=docker.mysite.com/O=My Site" | |
openssl req \ | |
-newkey rsa:4096 -nodes -sha256 -keyout server.key \ | |
-out server.csr \ | |
-subj "/C=DE/ST=Berlin/CN=docker.mysite.com/O=My Site" |
onst { forwardTo } = require('prisma-binding') | |
// Here you see the difference between forwarding and delegating a mutation | |
const Mutation = { | |
// We are forwarding the `createPost` 1-to-1 from the app to the database API. | |
// That's why we use `forwardTo('db')` here. | |
// It is called `db` because that's the name of the binding instance that's | |
// created in `index.js`. | |
createPost: forwardTo('db'), |
I hereby claim:
To claim this, I am signing this object:
upstream deploy_phoenix { | |
server 127.0.0.1:8888; | |
} | |
map $http_upgrade $connection_upgrade { | |
default upgrade; | |
'' close; | |
} | |
# REDIRECT HTTP www.example.com to HTTPS example.com |
Following this guide will set up a local Elasticsearch with Kibana and Marvel using Homebrew and Homebrew Cask
If you already have Java
installed on your system, skip steps Install Cask and Install Java
If you already have Java
and Homebrew
installed on your system, skip steps Prerequisites, start at Install Elasticsearch and Kibana after running $ brew update
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"