window-docker-compose builds elk: 7.X (detailed version, current version 7.17)

Table of Contents Directory Structure installation steps 1. Writing docker-compose.yml 2. es_master.yml configuration of elasticsearch config 3. kibana.yml configuration of kibana’s config 4. Elasticsearch creates a secure authentication user 5. Create a Kibana keystore and add configuration (that is, store the es user and password in the keystore, and use ES with security authentication for […]

Docker-compose container cluster orchestration management tool

Table of Contents Docker-compose 1. Three major concepts of Docker-compose 2. YAML file format and writing considerations 1) When using YAML, you need to pay attention to the following matters 2) ymal file format 3) json format 3. Docker Compose configuration common fields 4. Four restart strategies of Docker-compose 5. Docker Compose common commands 6. […]

docker-compose install elastic-search

docker-compose Use version 7.17.3, which is compatible with springboot2.7 version: ‘3.0’ services: es01: image: elasticsearch:7.6.2 container_name: es01 environment: – node.name=es01 – cluster.name=es-docker-cluster – discovery.seed_hosts=es02,es03 – cluster.initial_master_nodes=es01,es02,es03 – bootstrap.memory_lock=true – “ES_JAVA_OPTS=-Xms512m -Xmx512m” ulimits: memlock: soft: -1 hard: -1 volumes: – ./es01/data:/usr/share/elasticsearch/data – ./es01/logs:/usr/share/elasticsearch/logs – ./elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml – ./elastic-certificates.p12:/usr/share/elasticsearch/config/elastic-certificates.p12 ports: – 9200:9200 networks: -elastic es02: image: elasticsearch:7.6.2 container_name: […]

Use docker-compose to deploy SpringBoot project & nginx to deploy front-end

Install Docker Automatic download curl -fsSL https://get.docker.com | bash -s docker –mirror Aliyun Check if the installation is successful docker -v Configuring the mirror warehouse Replace the image accelerator (Alibaba Cloud is recommended) Container Image Service (aliyun.com) Scan the QR code to log in and find the mirror warehouse Everyone is different, copy your own […]

docker-compose

Table of Contents 1. Introduction to docker-compose: 1.docker-compose overview: 2. The difference between docker-compose and traditional build: 3. Three major concepts of docker-compose: 2. YAML file format and writing notes: 1. YAML file format: 2. Notes on YAML format: 3. YAML writing format: 3. YAML data structure case: 3. Docker compose fields and commands: 1. […]

Harbor configures HTTPS and uses docker-compose container deployment

1. Preparation Note: Pay attention to the choice of version. Does the docker version correspond? Prepare images and binaries 1.1 Download the harbor offline package. I packaged the image from a machine using docker save -o. 1.2 docker-compose binaries curl -L https://github.com/docker/compose/releases/download/1.24.1/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose Configure local resolution echo “192.168.40.63 qiushi.cn” >> /etc/hosts […]

docker-compose quickly deploys elasticsearch and kibana

Article directory Preface 1. Preparation 1.1 Create directories and configuration files 2. Write docker-compose file 3. Start and check the status 4. Effect display 5. Docker common instructions 5.1 Container life cycle management: 5.2 Container operations: 5.3 Image management: 5.4 Docker network: 5.5 Docker components: 5.6 Container logs and statistics: other: Summarize Foreword Containerization technology […]

centos7 installs docker, docker-compose, mysql master-slave replication

centos7 installs docker, docker-compose, and mysql master-slave replication 1. Install docker # Install dependencies yum install -y yum-utils #Set the docker warehouse image address yum-config-manager –add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo # View all available docker-ce versions yum list docker-ce –showduplicates | sort -r # Select a docker-ce version to install yum -y install docker-ce-23.0.6-1.el7 # Set docker to […]

Deploy rouyi-cloud using docker-compose

Foreword For learning and practice only. If deployed according to system docker-compose The following commands are applicable to CentOS7.x version, and my experimental environment is a virtual machine. 1. Install docker Not to go into details 2. Install docker-compose Not to go into details 3. Ruoyi deployment Get Ruoyi deployment files Obtain address: https://gitee.com/y_project/RuoYi-Cloud/tree/master/docker The […]