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
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 |
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 | |
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 |