Skip to content

Latest commit

 

History

History
executable file
·
56 lines (46 loc) · 1.29 KB

README.md

File metadata and controls

executable file
·
56 lines (46 loc) · 1.29 KB

EFK-traefik-portainer

Elasticsearch, Fluentd, and Kibana (EFK stack) + Traefik docker-compose.yaml files (+ Portainer)

Stars the repository if it is useful to you )

Download

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

Tune server

sudo bash preinstall.sh

You domain

Change all DOMAIN.COM in docker-compose.yaml

Config Traefik

Password

Change password in traefik.http.middlewares.traefik-auth.basicauth.users (now admin:admin)

$apr1$gm.YsXfy$HAPYyNAfPECxFGAvxXUeN/ -> $$apr1$$gm.YsXfy$$HAPYyNAfPECxFGAvxXUeN/
  • paste in docker-compose.yaml in traefik.http.middlewares.traefik-auth.basicauth.users

mail

Change mail in ./traefik/data/traefik.yml

acme.json

chmod 600 ./traefik/data/acme.json

Create network

sudo docker network create proxy

Launch

  • First start traefik and check in browser
  • After launch EFK stack

Note

  • kibana no login/pass
  • Elasticsearch port 80 and not config login/password

Portainer

  • del ./portainer/data/DELME before start