Skip to content

Commit 223b9c6

Browse files
author
zhang
committed
2019-05-07
1 parent f5aa85e commit 223b9c6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

markdown-file/Docker-Install-And-Usage.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,8 @@ logger.warn("-------------maxMemory=" + ((double) maxMemory / (1024 * 1024)));
774774
- Docker Compose 主要用于定义和运行多个 Docker 容器的工具,这样可以快速运行一套分布式系统
775775
- 容器之间是有依赖关系,比如我一个 Java web 系统依赖 DB 容器、Redis 容器,必须这些依赖容器先运行起来。
776776
- 一个文件:docker-compose.yml
777-
- 一个命令:docker-compose up
777+
- 一个命令:`docker-compose up`
778+
- 指定文件:`docker-compose -f zookeeper.yml -p zk_test up -d`
778779
- 官网安装说明:<https://docs.docker.com/compose/install/#install-compose>
779780
- 安装方法:
780781

markdown-file/Elasticsearch-Base.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Docker 部署
44

5+
- `vim ~/elasticsearch-5.6.8-docker.yml`
6+
- 启动:`docker-compose -f ~/elasticsearch-5.6.8-docker.yml -p elasticsearch_5.6.8 up -d`
7+
58
```
69
version: "3"
710

0 commit comments

Comments
 (0)