SlideShare une entreprise Scribd logo
1  sur  20
Télécharger pour lire hors ligne
Our way of system monitoring
in application development.
2
About me
UI/UX enthusiast
Mateusz Wadoń
mateusz.wadon@msales.com
Software Developer at msales
@mwadon
3
Monitoring Stack
Open-source: Grafana and Graylog
Localhost is free
DevOps knowledge
https://github.com/msales/ocoderfest-monitoring
4
Offline mode
5
Solution
version: "3"
services:
influxdb: ...
grafana: ...
mysql: ...
telegraf: ...
mongo: ...
elasticsearch: ...
graylog: ...
reverse-proxy: ...
networks:
ocoderfest-msales:
external: true
6
Docker network
7
Docker network
docker network create --driver bridge ocoderfest-msales
services:
influxdb:
container_name: influxdb.container
build: ./docker/influxdb
networks:
- ocoderfest-msales
ports:
- 8086:8086
grafana:
container_name: grafana.container
build: ./docker/grafana
restart: always
networks:
- ocoderfest-msales
depends_on:
- mysql
- influxdb
services:
php:
container_name: graylog_microservice_php
build: ./docker/php
networks:
- graylog-microservice
- ocoderfest-msales
volumes_from:
- code
depends_on:
- code
composer:
container_name: graylog_microservice_composer
build: ./docker/php
entrypoint: composer
networks:
- graylog-microservice
volumes_from:
- code
depends_on:
- code
8
Localhost problem
9
Localhost everywhere
InfluxDB
influxdb:
container_name: influxdb.container
build: ./docker/influxdb
networks:
- ocoderfest-msales
ports:
- 8086:8086
- 8083:8083
10
Localhost everywhere
Grafana
grafana:
container_name: grafana.container
build: ./docker/grafana
restart: always
networks:
- ocoderfest-msales
ports:
- 3000:3000
depends_on:
- mysql
- influxdb
11
Localhost everywhere
Graylog
graylog:
container_name: graylog.container
build: ./docker/graylog
depends_on:
- mongo
- elasticsearch
networks:
- ocoderfest-msales
ports:
- 9000:9000
12
Reverse proxy
server {
listen 8888;
server_name influxdb.ocoderfest.msales;
location / {
proxy_pass http://influxdb.container:8083;
}
}
server {
listen 8888;
server_name grafana.ocoderfest.msales;
location / {
proxy_pass http://grafana.container:3000;
}
}
server {
listen 8888;
server_name graylog.ocoderfest.msales;
location / {
proxy_pass http://graylog.container:9000;
}
}
Reverse proxy
server {
listen 8888;
server_name influxdb.ocoderfest.msales;
location / {
proxy_pass http://influxdb.container:8083;
}
}
server {
listen 8888;
server_name grafana.ocoderfest.msales;
location / {
proxy_pass http://grafana.container:3000;
}
}
server {
listen 8888;
server_name graylog.ocoderfest.msales;
location / {
proxy_pass http://graylog.container:9000;
}
}
reverse-proxy:
container_name: reverse-proxy.container
build: ./docker/reverse-proxy
restart: always
networks:
- ocoderfest-msales
ports:
- 8888:8888
depends_on:
- influxdb
- grafana
- graylog
14
Reverse proxy
server {
listen 8888;
server_name influxdb.ocoderfest.msales;
location / {
proxy_pass http://influxdb.container:8083;
}
}
server {
listen 8888;
server_name grafana.ocoderfest.msales;
location / {
proxy_pass http://grafana.container:3000;
}
}
server {
listen 8888;
server_name graylog.ocoderfest.msales;
location / {
proxy_pass http://graylog.container:9000;
}
}
127.0.0.1 influxdb.ocoderfest.msales
127.0.0.1 grafana.ocoderfest.msales
127.0.0.1 graylog.ocoderfest.msales
15
Reverse proxy
server {
listen 8888;
server_name influxdb.ocoderfest.msales;
location / {
proxy_pass http://influxdb.container:8083;
}
}
server {
listen 8888;
server_name grafana.ocoderfest.msales;
location / {
proxy_pass http://grafana.container:3000;
}
}
server {
listen 8888;
server_name graylog.ocoderfest.msales;
location / {
proxy_pass http://graylog.container:9000;
}
}
influxdb:
container_name: influxdb.container
build: ./docker/influxdb
networks:
- ocoderfest-msales
ports:
- 8086:8086
grafana:
container_name: grafana.container
build: ./docker/grafana
restart: always
networks:
- ocoderfest-msales
depends_on:
- mysql
- influxdb
graylog:
container_name: graylog.container
build: ./docker/graylog
environment:
...
depends_on:
- mongo
- elasticsearch
networks:
- ocoderfest-msales
16
Reverse proxy
grafana (http://grafana.ocoderfest.msales:8888)
influxdb (http://influxdb.ocoderfest.msales:8888)
graylog (http://graylog.ocoderfest.msales:8888)
17
Port conflicts
18
Demo
https://github.com/msales/ocoderfest-monitoring
19
20
Thanks
info.pl@msales.com www.msales.com +48 32 630 40 76
follow us @msalestech
follow me @mwadon

Contenu connexe

Tendances

Monitoring_with_Prometheus_Grafana_Tutorial
Monitoring_with_Prometheus_Grafana_TutorialMonitoring_with_Prometheus_Grafana_Tutorial
Monitoring_with_Prometheus_Grafana_Tutorial
Tim Vaillancourt
 
SCaLE 2016 - syslog-ng: From Raw Data to Big Data
SCaLE 2016 - syslog-ng: From Raw Data to Big DataSCaLE 2016 - syslog-ng: From Raw Data to Big Data
SCaLE 2016 - syslog-ng: From Raw Data to Big Data
BalaBit
 

Tendances (20)

Measure your app internals with InfluxDB and Symfony2
Measure your app internals with InfluxDB and Symfony2Measure your app internals with InfluxDB and Symfony2
Measure your app internals with InfluxDB and Symfony2
 
Time Series Database and Tick Stack
Time Series Database and Tick StackTime Series Database and Tick Stack
Time Series Database and Tick Stack
 
Server monitoring using grafana and prometheus
Server monitoring using grafana and prometheusServer monitoring using grafana and prometheus
Server monitoring using grafana and prometheus
 
Breaking Prometheus (Promcon Berlin '16)
Breaking Prometheus (Promcon Berlin '16)Breaking Prometheus (Promcon Berlin '16)
Breaking Prometheus (Promcon Berlin '16)
 
Monitoring_with_Prometheus_Grafana_Tutorial
Monitoring_with_Prometheus_Grafana_TutorialMonitoring_with_Prometheus_Grafana_Tutorial
Monitoring_with_Prometheus_Grafana_Tutorial
 
Prometheus – a next-gen Monitoring System
Prometheus – a next-gen Monitoring SystemPrometheus – a next-gen Monitoring System
Prometheus – a next-gen Monitoring System
 
Getting started with influx Db and Grafana Installation Guide
Getting started with influx Db and Grafana Installation GuideGetting started with influx Db and Grafana Installation Guide
Getting started with influx Db and Grafana Installation Guide
 
Nmap not only a port scanner by ravi rajput comexpo security awareness meet
Nmap not only a port scanner by ravi rajput comexpo security awareness meet Nmap not only a port scanner by ravi rajput comexpo security awareness meet
Nmap not only a port scanner by ravi rajput comexpo security awareness meet
 
Devoxx france 2015 influxdb
Devoxx france 2015 influxdbDevoxx france 2015 influxdb
Devoxx france 2015 influxdb
 
Nessus scan report using microsoft patchs scan policy - Tareq Hanaysha
Nessus scan report using microsoft patchs scan policy - Tareq HanayshaNessus scan report using microsoft patchs scan policy - Tareq Hanaysha
Nessus scan report using microsoft patchs scan policy - Tareq Hanaysha
 
Monitoring infrastructure with prometheus
Monitoring infrastructure with prometheusMonitoring infrastructure with prometheus
Monitoring infrastructure with prometheus
 
OSMC 2018 | Logging is coming to Grafana by David kaltschmidt
OSMC 2018 | Logging is coming to Grafana by David kaltschmidtOSMC 2018 | Logging is coming to Grafana by David kaltschmidt
OSMC 2018 | Logging is coming to Grafana by David kaltschmidt
 
SCaLE 2016 - syslog-ng: From Raw Data to Big Data
SCaLE 2016 - syslog-ng: From Raw Data to Big DataSCaLE 2016 - syslog-ng: From Raw Data to Big Data
SCaLE 2016 - syslog-ng: From Raw Data to Big Data
 
Influx/Days 2017 San Francisco | Dan Cech
Influx/Days 2017 San Francisco | Dan Cech Influx/Days 2017 San Francisco | Dan Cech
Influx/Days 2017 San Francisco | Dan Cech
 
Nmap Scripting Engine and http-enumeration
Nmap Scripting Engine and http-enumerationNmap Scripting Engine and http-enumeration
Nmap Scripting Engine and http-enumeration
 
Kafka monitoring and metrics
Kafka monitoring and metricsKafka monitoring and metrics
Kafka monitoring and metrics
 
Peeking into the Black Hole Called PL/PGSQL - the New PL Profiler / Jan Wieck...
Peeking into the Black Hole Called PL/PGSQL - the New PL Profiler / Jan Wieck...Peeking into the Black Hole Called PL/PGSQL - the New PL Profiler / Jan Wieck...
Peeking into the Black Hole Called PL/PGSQL - the New PL Profiler / Jan Wieck...
 
Volker Fröhlich - How to Debug Common Agent Issues
Volker Fröhlich - How to Debug Common Agent IssuesVolker Fröhlich - How to Debug Common Agent Issues
Volker Fröhlich - How to Debug Common Agent Issues
 
Доклад Антона Поварова "Go in Badoo" с Golang Meetup
Доклад Антона Поварова "Go in Badoo" с Golang MeetupДоклад Антона Поварова "Go in Badoo" с Golang Meetup
Доклад Антона Поварова "Go in Badoo" с Golang Meetup
 
OpenResty TCP 服务代理和动态路由
OpenResty TCP 服务代理和动态路由OpenResty TCP 服务代理和动态路由
OpenResty TCP 服务代理和动态路由
 

Similaire à Our way of systems monitoring in application development

Web scale infrastructures with kubernetes and flannel
Web scale infrastructures with kubernetes and flannelWeb scale infrastructures with kubernetes and flannel
Web scale infrastructures with kubernetes and flannel
purpleocean
 
Automate drupal deployments with linux containers, docker and vagrant
Automate drupal deployments with linux containers, docker and vagrant Automate drupal deployments with linux containers, docker and vagrant
Automate drupal deployments with linux containers, docker and vagrant
Ricardo Amaro
 

Similaire à Our way of systems monitoring in application development (20)

Microservices Application Tracing Standards and Simulators - Adrians at OSCON
Microservices Application Tracing Standards and Simulators - Adrians at OSCONMicroservices Application Tracing Standards and Simulators - Adrians at OSCON
Microservices Application Tracing Standards and Simulators - Adrians at OSCON
 
Backtrack Manual Part6
Backtrack Manual Part6Backtrack Manual Part6
Backtrack Manual Part6
 
Web scale infrastructures with kubernetes and flannel
Web scale infrastructures with kubernetes and flannelWeb scale infrastructures with kubernetes and flannel
Web scale infrastructures with kubernetes and flannel
 
3-Way Scripts as a Practical Platform for Secure Distributed Code in Clouds
3-Way Scripts as a Practical Platform for Secure Distributed Code in Clouds3-Way Scripts as a Practical Platform for Secure Distributed Code in Clouds
3-Way Scripts as a Practical Platform for Secure Distributed Code in Clouds
 
ContainerDayVietnam2016: Docker for JS Developer
ContainerDayVietnam2016: Docker for JS DeveloperContainerDayVietnam2016: Docker for JS Developer
ContainerDayVietnam2016: Docker for JS Developer
 
Erik Skytthe - Monitoring Mesos, Docker, Containers with Zabbix | ZabConf2016
Erik Skytthe - Monitoring Mesos, Docker, Containers with Zabbix | ZabConf2016Erik Skytthe - Monitoring Mesos, Docker, Containers with Zabbix | ZabConf2016
Erik Skytthe - Monitoring Mesos, Docker, Containers with Zabbix | ZabConf2016
 
Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...
Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...
Docker Azure Friday OSS March 2017 - Developing and deploying Java & Linux on...
 
OpenShift Meetup - Tokyo - Service Mesh and Serverless Overview
OpenShift Meetup - Tokyo - Service Mesh and Serverless OverviewOpenShift Meetup - Tokyo - Service Mesh and Serverless Overview
OpenShift Meetup - Tokyo - Service Mesh and Serverless Overview
 
Docker Swarm secrets for creating great FIWARE platforms
Docker Swarm secrets for creating great FIWARE platformsDocker Swarm secrets for creating great FIWARE platforms
Docker Swarm secrets for creating great FIWARE platforms
 
Android Development Tools
Android Development ToolsAndroid Development Tools
Android Development Tools
 
Digital Forensics and Incident Response in The Cloud Part 3
Digital Forensics and Incident Response in The Cloud Part 3Digital Forensics and Incident Response in The Cloud Part 3
Digital Forensics and Incident Response in The Cloud Part 3
 
FPC for the Masses (SANSFire Edition)
FPC for the Masses (SANSFire Edition)FPC for the Masses (SANSFire Edition)
FPC for the Masses (SANSFire Edition)
 
0xsp mongoose RED - DragonCon HK
0xsp mongoose RED - DragonCon HK0xsp mongoose RED - DragonCon HK
0xsp mongoose RED - DragonCon HK
 
Automate drupal deployments with linux containers, docker and vagrant
Automate drupal deployments with linux containers, docker and vagrant Automate drupal deployments with linux containers, docker and vagrant
Automate drupal deployments with linux containers, docker and vagrant
 
Leveraging the power of SolrCloud and Spark with OpenShift
Leveraging the power of SolrCloud and Spark with OpenShiftLeveraging the power of SolrCloud and Spark with OpenShift
Leveraging the power of SolrCloud and Spark with OpenShift
 
betterCode Workshop: Effizientes DevOps-Tooling mit Go
betterCode Workshop:  Effizientes DevOps-Tooling mit GobetterCode Workshop:  Effizientes DevOps-Tooling mit Go
betterCode Workshop: Effizientes DevOps-Tooling mit Go
 
Drone CI/CD 自動化測試及部署
Drone CI/CD 自動化測試及部署Drone CI/CD 自動化測試及部署
Drone CI/CD 自動化測試及部署
 
Docker Platform and Ecosystem
Docker Platform and EcosystemDocker Platform and Ecosystem
Docker Platform and Ecosystem
 
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
(ARC402) Deployment Automation: From Developers' Keyboards to End Users' Scre...
 
Do you know what your Drupal is doing Observe it! (DrupalCon Prague 2022)
Do you know what your Drupal is doing Observe it! (DrupalCon Prague 2022)Do you know what your Drupal is doing Observe it! (DrupalCon Prague 2022)
Do you know what your Drupal is doing Observe it! (DrupalCon Prague 2022)
 

Dernier

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 

Our way of systems monitoring in application development

  • 1. Our way of system monitoring in application development.
  • 2. 2 About me UI/UX enthusiast Mateusz Wadoń mateusz.wadon@msales.com Software Developer at msales @mwadon
  • 3. 3 Monitoring Stack Open-source: Grafana and Graylog Localhost is free DevOps knowledge https://github.com/msales/ocoderfest-monitoring
  • 5. 5 Solution version: "3" services: influxdb: ... grafana: ... mysql: ... telegraf: ... mongo: ... elasticsearch: ... graylog: ... reverse-proxy: ... networks: ocoderfest-msales: external: true
  • 7. 7 Docker network docker network create --driver bridge ocoderfest-msales services: influxdb: container_name: influxdb.container build: ./docker/influxdb networks: - ocoderfest-msales ports: - 8086:8086 grafana: container_name: grafana.container build: ./docker/grafana restart: always networks: - ocoderfest-msales depends_on: - mysql - influxdb services: php: container_name: graylog_microservice_php build: ./docker/php networks: - graylog-microservice - ocoderfest-msales volumes_from: - code depends_on: - code composer: container_name: graylog_microservice_composer build: ./docker/php entrypoint: composer networks: - graylog-microservice volumes_from: - code depends_on: - code
  • 9. 9 Localhost everywhere InfluxDB influxdb: container_name: influxdb.container build: ./docker/influxdb networks: - ocoderfest-msales ports: - 8086:8086 - 8083:8083
  • 10. 10 Localhost everywhere Grafana grafana: container_name: grafana.container build: ./docker/grafana restart: always networks: - ocoderfest-msales ports: - 3000:3000 depends_on: - mysql - influxdb
  • 11. 11 Localhost everywhere Graylog graylog: container_name: graylog.container build: ./docker/graylog depends_on: - mongo - elasticsearch networks: - ocoderfest-msales ports: - 9000:9000
  • 12. 12 Reverse proxy server { listen 8888; server_name influxdb.ocoderfest.msales; location / { proxy_pass http://influxdb.container:8083; } } server { listen 8888; server_name grafana.ocoderfest.msales; location / { proxy_pass http://grafana.container:3000; } } server { listen 8888; server_name graylog.ocoderfest.msales; location / { proxy_pass http://graylog.container:9000; } }
  • 13. Reverse proxy server { listen 8888; server_name influxdb.ocoderfest.msales; location / { proxy_pass http://influxdb.container:8083; } } server { listen 8888; server_name grafana.ocoderfest.msales; location / { proxy_pass http://grafana.container:3000; } } server { listen 8888; server_name graylog.ocoderfest.msales; location / { proxy_pass http://graylog.container:9000; } } reverse-proxy: container_name: reverse-proxy.container build: ./docker/reverse-proxy restart: always networks: - ocoderfest-msales ports: - 8888:8888 depends_on: - influxdb - grafana - graylog
  • 14. 14 Reverse proxy server { listen 8888; server_name influxdb.ocoderfest.msales; location / { proxy_pass http://influxdb.container:8083; } } server { listen 8888; server_name grafana.ocoderfest.msales; location / { proxy_pass http://grafana.container:3000; } } server { listen 8888; server_name graylog.ocoderfest.msales; location / { proxy_pass http://graylog.container:9000; } } 127.0.0.1 influxdb.ocoderfest.msales 127.0.0.1 grafana.ocoderfest.msales 127.0.0.1 graylog.ocoderfest.msales
  • 15. 15 Reverse proxy server { listen 8888; server_name influxdb.ocoderfest.msales; location / { proxy_pass http://influxdb.container:8083; } } server { listen 8888; server_name grafana.ocoderfest.msales; location / { proxy_pass http://grafana.container:3000; } } server { listen 8888; server_name graylog.ocoderfest.msales; location / { proxy_pass http://graylog.container:9000; } } influxdb: container_name: influxdb.container build: ./docker/influxdb networks: - ocoderfest-msales ports: - 8086:8086 grafana: container_name: grafana.container build: ./docker/grafana restart: always networks: - ocoderfest-msales depends_on: - mysql - influxdb graylog: container_name: graylog.container build: ./docker/graylog environment: ... depends_on: - mongo - elasticsearch networks: - ocoderfest-msales
  • 16. 16 Reverse proxy grafana (http://grafana.ocoderfest.msales:8888) influxdb (http://influxdb.ocoderfest.msales:8888) graylog (http://graylog.ocoderfest.msales:8888)
  • 19. 19
  • 20. 20 Thanks info.pl@msales.com www.msales.com +48 32 630 40 76 follow us @msalestech follow me @mwadon