This file contains hidden or 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: Install ovpn | |
| hosts: ovpn | |
| become: true | |
| gather_facts: true | |
| roles: | |
| - kyl191.openvpn | |
| vars: | |
| openvpn_ovpn_dir: /etc/openvpn/client | |
| openvpn_server_hostname: <external-host-ip> |
This file contains hidden or 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: Setup monitoring server | |
| hosts: all | |
| become: true | |
| roles: | |
| - cloudalchemy.prometheus | |
| - cloudalchemy.grafana | |
| - cloudalchemy.alertmanager | |
| - cloudalchemy.blackbox-exporter | |
| vars: |
This file contains hidden or 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: | |
| caddy: | |
| image: caddy:2.4.3-alpine | |
| restart: unless-stopped | |
| command: caddy reverse-proxy --from https:/you-awesome-domain.com:443 --to http://sonarqube:9000 | |
| ports: | |
| - 80:80 |
This file contains hidden or 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 | |
| # Flushing all rules | |
| iptables -F FORWARD | |
| iptables -F INPUT | |
| iptables -F OUTPUT | |
| iptables -X | |
| # Setting default filter policy | |
| iptables -P INPUT DROP | |
| iptables -P OUTPUT DROP | |
| iptables -P FORWARD DROP |
This file contains hidden or 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
| resource "yandex_iam_service_account" "swarm-group" { | |
| name = "swarm-group" | |
| description = "service account to manage Instance Group" | |
| } | |
| resource "yandex_resourcemanager_folder_iam_binding" "editor" { | |
| folder_id = var.yandex_folder_id | |
| role = "editor" | |
| members = [ | |
| "serviceAccount:${yandex_iam_service_account.swarm-group.id}", |
This file contains hidden or 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 ruby:2.5.5-alpine3.9 as builder | |
| WORKDIR /app | |
| ARG RAILS_MASTER_KEY | |
| ENV BUNDLE_SILENCE_ROOT_WARNING=1 \ | |
| BUNDLE_IGNORE_MESSAGES=1 \ | |
| BUNDLE_GITHUB_HTTPS=1 \ | |
| BUNDLE_FROZEN=1 \ |
This file contains hidden or 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 ruby:2.5.5-alpine3.9 as builder | |
| WORKDIR /app | |
| ENV BUNDLE_SILENCE_ROOT_WARNING=1 \ | |
| BUNDLE_IGNORE_MESSAGES=1 \ | |
| BUNDLE_GITHUB_HTTPS=1 \ | |
| BUNDLE_FROZEN=1 \ | |
| BUNDLE_WITHOUT=development:test |
This file contains hidden or 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 ruby:2.5.5-alpine3.9 as builder | |
| WORKDIR /app | |
| ENV BUNDLE_SILENCE_ROOT_WARNING=1 \ | |
| BUNDLE_IGNORE_MESSAGES=1 \ | |
| BUNDLE_GITHUB_HTTPS=1 \ | |
| BUNDLE_FROZEN=1 \ | |
| BUNDLE_WITHOUT=development:test |
This file contains hidden or 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.5' | |
| networks: | |
| webapp: | |
| driver: overlay | |
| name: webapp | |
| services: | |
| primary: | |
| hostname: 'primary' |
This file contains hidden or 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.5' | |
| networks: | |
| plannerix: | |
| name: plannerix | |
| external: true | |
| services: | |
| primary: | |
| hostname: 'primary' |
NewerOlder