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 | |
set -eo pipefail | |
/bin/rm -v /etc/ssh/ssh_host_* | |
ssh-keygen -A |
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
# Cloudflare IP's | |
allow 173.245.48.0/20; | |
allow 103.21.244.0/22; | |
allow 103.22.200.0/22; | |
allow 103.31.4.0/22; | |
allow 141.101.64.0/18; | |
allow 108.162.192.0/18; | |
allow 190.93.240.0/20; | |
allow 188.114.96.0/20; | |
allow 197.234.240.0/22; |
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
cattle.io/creator: norman | |
workload.user.cattle.io/workloadselector: deployment-cacti-cacti | |
name: cacti | |
namespace: cacti | |
spec: | |
replicas: 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
#!/bin/sh | |
# | |
# Start-stop script for tac_plus | |
# | |
# (C)2001-2010 by Marc Huber <[email protected]> | |
# $Id: etc_init.d_tac_plus,v 1.1 2011/07/22 17:04:03 marc Exp $ | |
# | |
# chkconfig: 2345 99 99 | |
# description: Starts and stops the tac_plus server process. | |
# |
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.3 | |
MAINTAINER Mahyuddin Susanto <[email protected]> | |
ADD code/ /code/ | |
WORKDIR /code | |
RUN bundle install | |
ENV LANGUAGE="en_US" \ | |
LANG="en_US.UTF-8" \ | |
LC_ALL="en_US" \ | |
LC_CTYPE="UTF-8" |
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 | |
set -ex | |
NAME=swarm | |
lxc stop $NAME | |
lxc delete $NAME | |
lxc launch ubuntu:16.04 $NAME -p default -p docker |
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: '2' | |
services: | |
web: | |
container_name: web | |
image: nginx:latest | |
ports: | |
- "9081:80" | |
volumes: | |
- ./code:/code |
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
#! /usr/bin/perl | |
## | |
## $Id$ | |
## | |
## rancid 2.3.9 | |
## Copyright (C) 1997-2011 by Terrapin Communications, Inc. | |
## All rights reserved. | |
## | |
## This software may be freely copied, modified and redistributed | |
## without fee for non-commerical purposes provided that this license |
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 | |
pwd | |
shopt -s globstar | |
cd /code | |
bundle install | |
bundle exec rake validate |
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 udienz/images:xenial-ruby231 | |
Maintainer Mahyuddin Susanto <[email protected]> | |
VOLUME /code | |
WORKDIR /code/ | |
COPY tests/wrapper.sh / | |
ENTRYPOINT [ "/wrapper.sh" ] |
NewerOlder