Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
-Xms1024m | |
-Xmx4096m | |
-XX:MaxPermSize=350m | |
-XX:ReservedCodeCacheSize=1024m | |
-XX:+UseConcMarkSweepGC | |
-XX:SoftRefLRUPolicyMSPerMB=50 | |
-ea | |
-Dsun.io.useCanonCaches=false | |
-Djava.net.preferIPv4Stack=true | |
-XX:+HeapDumpOnOutOfMemoryError |
set -g mouse on | |
set -g mouse-select-pane on | |
set -g mouse-select-window on | |
set -g mouse-resize-pane on | |
set -g mouse-utf8 on |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
function createStore(reducer) { | |
let state | |
let listeners = [] | |
const getState = () => state | |
const subscribe = (listener) => { | |
listeners.push(listener) | |
return () => { | |
listeners = listeners.filter((l) => l !== listener) |
Kong, Traefik, Caddy, Linkerd, Fabio, Vulcand, and Netflix Zuul seem to be the most common in microservice proxy/gateway solutions. Kubernetes Ingress is often a simple Ngnix, which is difficult to separate the popularity from other things.
This is just a picture of this link from Feb
#!/bin/bash | |
SPECIFIED_VERSION=$1 | |
DEFAULT_VERSION=228.0.0 | |
GCLOUD_VERSION=${SPECIFIED_VERSION:-$DEFAULT_VERSION} | |
echo "Installing GCLOUD version ${GCLOUD_VERSION}" | |
UPSTREAM=https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-${GCLOUD_VERSION}-linux-x86_64.tar.gz | |
GCLOUD_PATH=~/gcloud | |
DOWNLOAD_PATH=/tmp |
#!/bin/bash | |
npm install -g commitizen && \ | |
npm install -g cz-conventional-changelog && \ | |
echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc |
#!/bin/bash | |
SPECIFIED_VERSION=$1 | |
DEFAULT_VERSION=1.12.1 | |
GO_VERSION=${SPECIFIED_VERSION:-$DEFAULT_VERSION} | |
echo "Installing Golang version ${GO_VERSION}" | |
DOWNLOAD_PATH=/tmp | |
GO_PACKAGE=go${GO_VERSION}.linux-amd64.tar.gz | |
UPSTREAM=https://dl.google.com/go/$GO_PACKAGE |
# Versão do go que sera utilizada | |
# Default to Go 1.11 | |
ARG GO_VERSION=1.11 | |
# Criando executavel | |
FROM golang:${GO_VERSION}-alpine AS builder | |
#Cria o usuario e grupo que serao usados no container sendo executado para | |
#rodar o processo como um usuario sem privilegio. | |
#https://sobrelinux.info/questions/913/what-is-the-purpose-of-the-nobody-user |
definitions: | |
steps: | |
- step: &S3-deploy-stg | |
#more info: bitbucket.org/atlassian/aws-s3-deploy | |
name: Deploy to staging | |
deployment: staging | |
script: | |
- pipe: atlassian/aws-s3-deploy:0.2.1 | |
variables: | |
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID |