Let's start by creating entry for server in docker-compose.yaml
:
version: '2'
# version 2 of docker-compose is not "old" version, it's the actual version,
# see below for explanation:
# https://stackoverflow.com/a/53636006/961092
services:
Let's start by creating entry for server in docker-compose.yaml
:
version: '2'
# version 2 of docker-compose is not "old" version, it's the actual version,
# see below for explanation:
# https://stackoverflow.com/a/53636006/961092
services:
UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker
now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start
CentOS, Ubuntu, Slackware, etc. Whatever Linux-based OS it is, you can create a bootable USB for it by using a Mac.
Download it, copy it, whatever it takes to prepare that Linux-based OS .iso file
groups: | |
- name: Prometheus self-monitoring | |
rules: | |
# A Prometheus job has disappeared | |
- alert: PrometheusJobMissing | |
expr: absent(up{job="my-job"}) | |
for: 5m | |
labels: | |
severity: warning |
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": { | |
"type": "datasource", | |
"uid": "grafana" | |
}, | |
"enable": true, |
#!/bin/bash | |
# create mongodb_exporter.service | |
cat > /etc/systemd/system/mongodb_exporter.service <<END | |
[Unit] | |
Description=Prometheus MongoDB Exporter | |
Documentation=https://github.com/percona/mongodb_exporter | |
After=network.target | |
[Service] |
abuse@ | |
accounting@ | |
accounts@ | |
adm@ | |
admin@ | |
administration@ | |
administrator@ | |
admissions@ | |
ads@ | |
all@ |
#!bin/bash | |
# Nothing superfluous just the necessary files | |
# Taken From: | |
# https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/blob/master/MANUAL-CONFIGURATION.md | |
# Add in your domain config and reload nginx | |
# | |
# server { |