# docker-compose-script **Repository Path**: xkong_learn/docker-compose-script ## Basic Information - **Project Name**: docker-compose-script - **Description**: 中间件脚本docker compose 部署文件 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-09-27 - **Last Updated**: 2024-10-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 2024-09-27 Elastic Search + Kibana ### Kibana : 使用 默认账号是禁止的,需要提供一个账号密码 1. 启动 elasticsearch 2. 所以需要创建一个账号 ```shell # 重置 kibana_system 用户密码 docker exec -it es01 /usr/share/elasticsearch/bin/elasticsearch-reset-password -ukibana_system ``` ```shell E:\project\goland\src\docker-compose-script git:[master] docker exec -it es01 /usr/share/elasticsearch/bin/elasticsearch-reset-password -ukibana_system WARNING: Owner of file [/usr/share/elasticsearch/config/users] used to be [root], but now is [elasticsearch] WARNING: Owner of file [/usr/share/elasticsearch/config/users_roles] used to be [root], but now is [elasticsearch] This tool will reset the password of the [kibana_system] user to an autogenerated value. The password will be printed in the console. Please confirm that you would like to continue [y/N]y Password for the [kibana_system] user successfully reset. New value: ... ``` 3. 修改 docker-compose.yml 文件,添加 kibana_system 用户的密码 4. 启动 kibana ## Version 1. docker compose 3 2. 内部网关: `docker network create outside` 3.