Elasticsearch, Fluentd, and Kibana (EFK stack) + Traefik docker-compose.yaml files (+ Portainer)
Stars the repository if it is useful to you )
cd /opt
sudo wget https://github.com/pomazanbohdan/EFK-traefik-portainer/archive/master.zip
sudo unzip master.zip
sudo mv /opt/EFK-traefik-portainer-master /opt/containers
cd /opt/containers
sudo bash preinstall.sh
Change all DOMAIN.COM in docker-compose.yaml
Change password in traefik.http.middlewares.traefik-auth.basicauth.users (now admin:admin)
- go https://www.htaccesstools.com/htpasswd-generator/
- gen string for you login password
- double all $ in hash password:
$apr1$gm.YsXfy$HAPYyNAfPECxFGAvxXUeN/ -> $$apr1$$gm.YsXfy$$HAPYyNAfPECxFGAvxXUeN/
- paste in docker-compose.yaml in traefik.http.middlewares.traefik-auth.basicauth.users
Change mail in ./traefik/data/traefik.yml
chmod 600 ./traefik/data/acme.json
sudo docker network create proxy
- First start traefik and check in browser
- After launch EFK stack
- kibana no login/pass
- Elasticsearch port 80 and not config login/password
- del ./portainer/data/DELME before start