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
version: "3" | |
services: | |
minio1: | |
image: minio/minio | |
ports: | |
- "9000:9000" | |
networks: | |
- minionet |
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
/*! | |
* GitHub Dark v0.5.0 | |
* Copyright (c) 2012 - 2017 GitHub, Inc. | |
* Licensed under MIT (https://github.com/primer/github-syntax-theme-generator/blob/master/LICENSE) | |
*/.pl-c{color:#959da5}.pl-c1,.pl-s .pl-v{color:#c8e1ff}.pl-e,.pl-en{color:#b392f0}.pl-s .pl-s1,.pl-smi{color:#f6f8fa}.pl-ent{color:#7bcc72}.pl-k{color:#ea4a5a}.pl-pds,.pl-s,.pl-s .pl-pse .pl-s1,.pl-sr,.pl-sr .pl-cce,.pl-sr .pl-sra,.pl-sr .pl-sre{color:#79b8ff}.pl-ml,.pl-v{color:#fb8532}.pl-bu{color:#d73a49}.pl-c2,.pl-ii{background-color:#d73a49;color:#fafbfc}.pl-c2:before{content:"^M"}.pl-sr .pl-cce{color:#7bcc72;font-weight:700}.pl-mh,.pl-mh .pl-en,.pl-ms{color:#0366d6;font-weight:700}.pl-mi{color:#f6f8fa;font-style:italic}.pl-mb{color:#f6f8fa;font-weight:700}.pl-md{background-color:#ffeef0;color:#b31d28}.pl-mi1{background-color:#f0fff4;color:#176f2c}.pl-mc{background-color:#fffdef;color:#b08800}.pl-mi2{background-color:#959da5;color:#2f363d}.pl-mdr{color:#b392f0;font-weight:700}.pl-mo{color:#0366d6}.pl-ba{color:#ffeef0}.pl-sg{color:#6a737d}. |
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
<# | |
.SYNOPSIS | |
Downloads and configures .Net Core Music Store application sample across IIS and Azure SQL DB. | |
#> | |
Param ( | |
[string]$user, | |
[string]$password, | |
[string]$sqlserver, | |
[string]$database |
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
- stage: "SetupRG" | |
displayName: "Resource Group" | |
jobs: | |
- job: "CreateResourceGroup" | |
displayName: "Resource Group - Setup" | |
steps: | |
- task: AzureCLI@2 | |
inputs: | |
azureSubscription: "$(SUBSCRIPTION_NAME)" | |
addSpnToEnvironment: true |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "centos/7" | |
config.vm.provider :virtualbox do |v| | |
v.memory = 4048 | |
v.cpus = 2 |
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
trigger: | |
- master | |
pool: | |
vmImage: 'ubuntu-latest' |
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
- name: Create a Azure Private DNS zone using Ansible | |
hosts: localhost | |
connection: local | |
gather_facts: true | |
vars: | |
resource_group: "myResourceGroup" | |
location: "uksouth" | |
network: | |
name: "iac-vnet" |
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
# initialization file (not found) |
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
module "application-rg" { | |
source = "modules/vnet" | |
name = "${var.resource_group_name}" | |
location = "${var.location}" | |
tags = "${merge(var.default_tags, map("type","resource"))}" | |
} | |
module "application-vnet" { | |
source = "modules/vnet" | |
resource_group_name = "${module.application-rg.rg_name}" |
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
# Install the packages need to compile NGINX with ngx_pagespeed | |
yum install -y gcc-c++ pcre-dev pcre-devel zlib-devel make unzip openssl-devel | |
# Add a user for NGINX | |
useradd nginx | |
usermod -s /sbin/nologin nginx | |
# Download the latest version of ngx_pagespeed and psol | |
# See https://github.com/pagespeed/ngx_pagespeed/releases for latest release |
NewerOlder