Ubuntu server 18.04 network configuration

Ubuntu server 18.04 network configuration In ubuntu 18.04 network configuration was replaced by netplan To configure network with statik ip we create file

Delete defautl file with dhcp network

And apply plan

Profit!!! […]

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

Awx tower(ansible) with docker-compose

Awx tower(ansible) with docker-compose

Pull images

Run

Make nginx proxy config with https for awx ansible

Go to interfaces

Profit!!! […]

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

Start docker-compose with supervisor

Start docker-compose with supervisor. How manager docker-compose application with supervisor. Easy. sudo nano /etc/supervisor/cond.d/app.conf

Then update supervisor

And start our application with name app

And stop our application with name app

[…]

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

Postgresql exporter in docker. Monitroing postgres with prometheus.

Postgresql exporter in docker. Monitroing postgres with prometheus. Create user for exporter in postgres

Build docker postgresql exporter.

And add docker exporter to you docker network with postgresql. As example with docker-swarm

And create config in prometheus server.

Import grafana dashboard.

[…]

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