Create the file with the environment variables:
$ cat envs.txt
HOSTNAME=app.domain.com
PASSWORD=foobar
Create the config map:
Create the file with the environment variables:
$ cat envs.txt
HOSTNAME=app.domain.com
PASSWORD=foobar
Create the config map:
#!/bin/bash | |
# variables | |
LOGFILE="/var/log/nginx/access.log" | |
LOGFILE_GZ="/var/log/nginx/access.log.*" | |
RESPONSE_CODE="200" | |
# functions | |
filters(){ | |
grep $RESPONSE_CODE \ |
AddOn:
chrome/userChrome.css
in your profile directory:Inspired By: grafana/loki#333
version: "3"
networks:
loki:
My Elasticsearch cheatsheet with example usage via rest api (still a work-in-progress)
#!/bin/bash | |
set -ex | |
UBUNTU_VERSION="14.04" | |
mkdirs(){ | |
#lxc delete hadoop-master --force | |
#lxc delete hadoop-slave-1 --force | |
#lxc delete hadoop-slave-2 --force | |
rm -rf /tmp/* |
Start Minio:
docker run --rm --name minio --rm -it -p 9000:9000 minio/minio server /data
> output will display here
log-queries | |
log-facility=/var/log/dnsmasq.log | |
no-resolv | |
server=8.8.4.4 | |
server=8.8.8.8 | |
address=/router/10.1.1.1 | |
address=/server/10.1.1.2 |