This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Middleware | |
apiVersion: traefik.containo.us/v1alpha1 | |
metadata: | |
name: linkerd-dashboard-auth | |
namespace: linkerd | |
spec: | |
basicAuth: | |
users: | |
# admin:password <do not use in production> | |
- admin:$apr1$FGdrANYF$f0lAEDTXdWmxNfABopXX01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Middleware | |
apiVersion: traefik.containo.us/v1alpha1 | |
metadata: | |
name: traefik-dashboard-auth | |
namespace: traefik | |
spec: | |
basicAuth: | |
users: | |
# admin:password <do not use in production> | |
# better way would be to use Secret |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Connects Traefik with cloud provider's load balancer. | |
# All external traffic comes through here. | |
kind: Service | |
apiVersion: v1 | |
metadata: | |
name: traefik-ingress-controller | |
namespace: default | |
spec: | |
type: LoadBalancer | |
loadBalancerIP: <put your load balancer IP address here> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Deployment | |
apiVersion: extensions/v1beta1 | |
metadata: | |
namespace: traefik | |
name: traefik | |
labels: | |
app: traefik | |
spec: | |
replicas: 1 | |
selector: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: traefik | |
--- | |
kind: ServiceAccount | |
apiVersion: v1 | |
metadata: | |
name: traefik-ingress-controller | |
namespace: traefik |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: CustomResourceDefinition | |
apiVersion: apiextensions.k8s.io/v1beta1 | |
metadata: | |
name: ingressroutes.traefik.containo.us | |
spec: | |
group: traefik.containo.us | |
version: v1alpha1 | |
names: | |
kind: IngressRoute | |
plural: ingressroutes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# FROM <イメージ名>:<バージョンタグ> | |
# このイメージを元に使って | |
FROM node:8.2.1-alpine | |
# イメージの中にアプリ用ディレクトリを作成 | |
RUN mkdir -p /opt/myapp | |
# イメージの中の"cd" | |
WORKDIR /opt/myapp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import TextareaAutosize from 'react-textarea-autosize'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as Path from 'path'; | |
import * as recursive from 'recursive-readdir'; | |
import * as Fs from 'fs'; | |
import * as xregexp from 'xregexp'; | |
const root = Path.resolve(__dirname, '..'); | |
recursive(root, ['!*.js'], (error, files) => { | |
files.forEach(file => { | |
const fileContent = Fs.readFileSync(file, 'utf-8'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... |
NewerOlder