Consul HA cluster in docker swarm

Consul HA cluster in docker swarm To deploy ha cluster with consul and swarm i maked docker-compose file for deploying. I had swarm cluster with 1 node manager and 3 node workers. Prepare: – Fully configured docker swarm cluster – install make utility Our nodes vm101 – worker vm102 – worker vm103 – worker vm104 […]

Читать дальше… from Consul HA cluster in docker swarm

Nextcloud 20 run in docker with php-fpm,nginx-backend and nginx proxy + openldap

Nextcloud 20 run in docker with php-fpm,nginx-backend and nginx proxy Create docker-compose.yml swarm — version: '3.5' services: nginx-backend: image: registry.gitlab.com/devops_containers/dockers/nginx:1.19.6-alpine-libressl hostname: nginx volumes: – "./configs/nginx:/etc/nginx" – "./data:/data" ports: – target: 80 published: 82 protocol: tcp mode: host environment: – "TZ=Asia/Yekaterinburg" networks: pxc_8_pxc8-net: mysql_8_mysql8-net: app_app-network: aliases: – nginx-backend-itc-life deploy: replicas: 1 restart_policy: condition: any delay: 5s […]

Читать дальше… from Nextcloud 20 run in docker with php-fpm,nginx-backend and nginx proxy + openldap

Debian/ubuntu fix error Possible missing firmware /lib/firmware/rtl_nic/rtl81

Error during update image in debian/ubuntu W: Possible missing firmware /lib/firmware/rtl_nic/rtl8125b-2.fw for module r8169 W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168fp-3.fw for module r8169 Fix curl -L https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8125a-3.fw -o /lib/firmware/rtl_nic/rtl8125a-3.fw curl -L https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8125b-2.fw -o /lib/firmware/rtl_nic/rtl8125b-2.fw curl -L https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/rtl8168fp-3.fw -o /lib/firmware/rtl_nic/rtl8168fp-3.fw update-initramfs -u […]

Читать дальше… from Debian/ubuntu fix error Possible missing firmware /lib/firmware/rtl_nic/rtl81

Access your remote MySQL server, which only allow MySQL connections from our bastion host

How access your remote MySQL server, which only allow MySQL connections from our bastion host and we would like to access that MySQL via the Bastion Server with a SSH Tunnel from our pc. Setup the SSH Tunnel Establish the tunnel: ssh -f -p 22 me@bastion.domain.example -L 3306:remote-mysql.domain.example:3306 -N Save the pid as an environment […]

Читать дальше… from Access your remote MySQL server, which only allow MySQL connections from our bastion host