minikube start \
--driver=virtualbox \
--cpus 4 \
--memory 8192
Recomended: 8 CPU and 30 GB RAM (for demo we are going to use minimal setup)
apiVersion: apps/v1beta1 | |
kind: Deployment | |
metadata: | |
name: es-master | |
labels: | |
component: elasticsearch | |
role: master | |
app: elasticsearch | |
spec: | |
replicas: 1 |
## Install OpenSSL | |
wget https://www.openssl.org/source/openssl-1.1.1e.tar.gz | |
./config shared --prefix=/opt/openssl --openssldir=/opt/openssl/openssl | |
make && make install | |
export LDFLAGS="-L/opt/openssl/lib/" | |
export LD_LIBRARY_PATH="/opt/openssl/lib/" | |
export CPPFLAGS="-I/opt/openssl/include -I/opt/openssl/include/openssl" |
Vagrant.configure("2") do |config| | |
config.vm.provision :shell, privileged: true, inline: $install_common_tools | |
config.vm.define :master do |master| | |
master.vm.provider :virtualbox do |vb| | |
vb.name = "master" | |
vb.memory = 4048 | |
vb.cpus = 2 | |
end | |
master.vm.box = "ubuntu/bionic64" | |
#master.disksize.size = "25GB" |
Goto: Admin Area -> Settings -> Network -> Outbound Requests Enable Allow requests to the local network from web hooks and services and Save
Example: https://gitlab.172.17.0.3.nip.io/admin/application_settings/network
Read More: https://docs.gitlab.com/ee/security/webhooks.html
FROM php:7.4-fpm-alpine | |
# @see https://hub.docker.com/r/jpswade/php7.4-fpm-alpine | |
MAINTAINER Agent Software <[email protected]> | |
# Install gd, iconv, mbstring, mysql, soap, sockets, zip, and zlib extensions | |
# see example at https://hub.docker.com/_/php/ | |
RUN apk add --update \ | |
$PHPIZE_DEPS \ | |
freetype-dev \ | |
git \ |
<?php | |
/** | |
* @param string $jsonFilename | |
* @param string $csvFilename | |
* @return bool|int | |
*/ | |
function json2csv($jsonFilename, $csvFilename) | |
{ | |
$json = file_get_contents($jsonFilename); |
FROM php:7.3-apache | |
MAINTAINER James Wade <[email protected]> | |
# Install gd, iconv, mbstring, mcrypt, mysql, soap, sockets, zip, and zlib extensions | |
# see example at https://hub.docker.com/_/php/ | |
RUN apt-get update && apt-get install -y \ | |
libbz2-dev \ | |
libfreetype6-dev \ | |
libgd-dev \ | |
libjpeg62-turbo-dev \ |
brew install selenium-server-standalone | |
brew cask install chromedriver | |
selenium-server -p 4444 |