Skip to content

Instantly share code, notes, and snippets.

View Reetus's full-sized avatar

Reetus Reetus

  • Australia / Thailand
View GitHub Profile
@Reetus
Reetus / Dockerfile
Created June 30, 2017 09:23
docker-nagios4-arm64
FROM aarch64/debian:jessie
RUN apt-get -qy update
RUN apt-get -qy install nginx php5-fpm php5-mysqlnd php5-curl php5-gd php5-mcrypt php5-memcache php5-sqlite php5-cli php5-geoip
ENV CORE_FILENAME nagios-4.3.2
ENV PLUGINS_FILENAME nagios-plugins-2.2.1
RUN apt-get -qy install build-essential unzip openssl libssl-dev libgd2-xpm-dev wget fcgiwrap php5-gd libgd-dev apache2-utils net-tools
RUN useradd nagios && groupadd nagcmd
@Reetus
Reetus / backup.sh
Last active August 29, 2015 14:23 — forked from Silvenga/backup.sh
#!/bin/bash
export PASSPHRASE={{ grains['backup.password'] }}
export AWS_ACCESS_KEY_ID={{ grains['backup.aws_id'] }}
export AWS_SECRET_ACCESS_KEY={{ grains['backup.aws_key'] }}
FOLDER={{ grains['id'] }}
TARGET=s3+http://{{ grains['backup.aws_bucket'] }}/$FOLDER
SOURCE=/
LOGLOC=/var/log/nightly-backup