tecadmin.net tecadmin.net

Docker-compose with Persistent MySQL Data

It is importent to keep data persistent for containers running databases. Docker provides you option to keep database files persistent over the docker volumes or storing files directly on host machine. Use one of the below options to keep MySQL data persistent even after recreating or deleting docker containers. Option 1 – Storing MySQL Data on Docker Volumes The Docker volumes are preferred mechanism by the Docker for storing...

programmer group

centos7 uses docker to build the running environment and deploy jar

*First, there is a clean CentOS 7 environment 1. To install docker, you need to use Yum to pull it, so get the yum source first. yum install -y yum-utils device-mapper-persistent-data lvm2 Add docker warehouse location for yum source yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo Install docker yum install docker-ce Start docker systemctl start docker 2. Start to build the environment after...

programmer group

Building K8S cluster of EMQ X MQTT server from scratch

EMQ X Team provides Helm chart for users to deploy EMQ X on kubernetes cluster with one click MQTT server This is the most recommended method of deploying EMQ X MQTT server on kubernetes or k3s cluster by EMQ X Team. This paper will use the method of handwritten yaml file to deploy a K8S cluster of EMQ X MQTT server from scratch, and analyze the details and skills in the deployment, so as to facilitate users to use flexibly in the...