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
{ | |
"uscentral": { | |
"region": "Central United States", | |
"description": "Azure DevOps Services", | |
"ip_addresses": [ | |
"13.89.236.72/32", | |
"52.165.41.252/32", | |
"52.173.25.16/32", | |
"13.86.38.60/32", | |
"20.45.1.175/32", |
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
data "http" "publicIp" { | |
url = "https://ifconfig.co/json" | |
request_headers = { | |
Accept = "application/json" | |
} | |
} | |
output "publicIp_json" { | |
value = jsondecode(data.http.publicIp.body) | |
} |
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
#!/bin/bash | |
gituser="$1" | |
gitpw="$2" | |
azurl="$3" | |
unset probe | |
unset flexuser | |
unset flexgrp |
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
sudo yum-config-manager --disable docker-ce-stable | |
sudo yum-config-manager --save --setopt=docker-ce-stable.skip_if_unavailable=true | |
sudo yum install -y docker-engine | |
sudo usermod -aG docker $USER | |
sudo systemctl start docker | |
sudo systemctl enable docker |
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
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo | |
sudo yum install -y docker-ce docker-ce-cli containerd.io | |
sudo usermod -aG docker $USER | |
sudo systemctl enable docker | |
sudo systemctl start docker |
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
#!/bin/bash | |
# Simple deployment script to run the Apache2 http-probe on port 8080/tcp | |
# Helpfull if you need a hearbeat of the server (Loabalancer, etc.) | |
# without installing Apache2 natively. | |
# | |
# Check my Git for more details: | |
# - https://github.com/adminph-de/docker-apache2-http-probe | |
# | |
# Check the pre- build Docker Container: |