mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-06 23:02:27 +08:00
chore: update
This commit is contained in:
@@ -6,16 +6,14 @@ services:
|
||||
- ${PWD}/mgodb:/data/db
|
||||
restart: always
|
||||
elasticsearch:
|
||||
image: deepzz0/es:2.4.1
|
||||
environment:
|
||||
- ES_JAVA_OPTS="-Xms512m -Xmx512m"
|
||||
image: deepzz0/elasticsearch:2.4.3
|
||||
restart: always
|
||||
eiblog:
|
||||
iamge: deepzz0/eiblog:latest
|
||||
volumes:
|
||||
- ${PWD}/conf:/app/conf
|
||||
extra_hosts:
|
||||
- "disqus.com:23.235.33.134"
|
||||
- "disqus.com:151.101.192.134"
|
||||
links:
|
||||
- elasticsearch
|
||||
- mongodb
|
||||
|
||||
@@ -31,13 +31,13 @@ database:
|
||||
|
||||
### 搜索引擎
|
||||
|
||||
博客强依赖 ElasticSearch 搜索引擎,如果仅调试可以跳过不部署。但对外提供服务强烈建议部署上 ES,这样可以提高体验感。博主提供了一个已经配置好的 docker 镜像:`deepzz0/es`:
|
||||
博客强依赖 ElasticSearch 搜索引擎,如果仅调试可以跳过不部署。但对外提供服务强烈建议部署上 ES,这样可以提高体验感。博主提供了一个已经配置好的 docker 镜像:`deepzz0/elasticsearch`:
|
||||
|
||||
```
|
||||
# 运行
|
||||
$ docker run --name es \
|
||||
-p 9200:9200 \
|
||||
deepzz0/es:latest
|
||||
deepzz0/elasticsearch:2.4.3
|
||||
```
|
||||
|
||||
修改 `conf/app.yml` 下的 `eshost` 配置:
|
||||
@@ -123,7 +123,7 @@ services:
|
||||
volumes:
|
||||
- ${PWD}/conf:/app/conf
|
||||
extra_hosts:
|
||||
- "disqus.com:23.235.33.134"
|
||||
- "disqus.com:151.101.192.134"
|
||||
links:
|
||||
- elasticsearch
|
||||
- mongodb
|
||||
@@ -139,4 +139,4 @@ services:
|
||||
restart: always
|
||||
```
|
||||
|
||||
当启动成功之后,后续的代理配置请参考 `eiblog/eiblog.conf`。
|
||||
当启动成功之后,后续的代理配置请参考 `eiblog/eiblog.conf`。
|
||||
|
||||
Reference in New Issue
Block a user