Postfix exporter with docker and prometheus.

Postfix exporter with docker and prometheus. in previous article we setup mailcow server with mailcow dockerized Now we configure monitoring for this server(postfix) with promethes exporter,prometheus,grafana. Setup prometheus exporter mkdir -p /etc/prometheus/exporters/postfix Create docker-compose file(docker-compose.yml) version: '3.5' services: exporter_postfix: image: "devsadds/exporter_postfix:2.0.0" volumes: – "/var/lib/docker/volumes/YOU_DOCKER_VOLUME_FOR_POSTFIX//_data/public/showq:/var/spool/postfix/public/showq:ro" – "/var/log/dockers/postfix/docker-postfix.log:/var/log/maillog:ro" ports: – "10.48.0.109:9154:9154" stdin_open: true tty: true restart: always […]

Читать далее…

Percona xtradb cluster 5.7 with haproxy,consul and supervisord in docker swarm cluster

Percona xtradb cluster 5.7 with haproxy,consul and supervisord in docker swarm cluster Create percona xtradb cluster in docker swarm cluster. Proccesses in pxc docker run with supervisord, nodes pxc stored in consul server. Haproxy create with consul template auto update haproxy config. REQUIREMENTS 3 nodes swarm workers(node1,node2,node3) 1 node swarm manager(node4) Ip’s v4 nodes node1 […]

Читать далее…

Mailcow dockerized server on hetzner robot with multiply ipv4 and ipv6

Mailcow dockerized server on hetzner robot with multiply ipv4 and ipv6 Start info Main server hetzner with ip 96.216.15.45 on enp0s31f6 interface; ipv4 subnet 135.183.115.16/24; ipv6 subnet 2a01:4g9:3a:556::/64; docker and docker-compose installed; sysctl tuned. mail domain name: linux2be.com mail domain gui: mail.linux2be.com mail domain smtp: mail.linux2be.com mail domain mx: mail.linux2be.com System configure(ubuntu 20.04) Add ip […]

Читать далее…

Deploy HA cluster postgres with repmgr,consul,consul-template and haproxy.

Deploy HA cluster postgres with repmgr,consul,consul-template and haproxy. All docker’s for this cluster already builed and i pushed repos with docker’s to github. Base docker for postgres – bitnami vendor. System Requirements: docker swarm with master(minimal 1) and 3 worker nodes(worker-1,worker-2,worker-3) Files: Dockers: https://github.com/devsadds/consul https://github.com/devsadds/haproxy-postgres https://github.com/devsadds/postgresql-repmg Deploy order: tune sysctl deploy consul server with persistent […]

Читать далее…