Commit ad69edf8 authored by tianye's avatar tianye

修改数据库映射参数

parent 8673bb24
version: '3'
volumes:
sc_conf:
driver_opts:
type: none
device: ./conf/app/
o: bind
sc_data:
driver_opts:
type: none
device: ./data/app_data/
o: bind
sc_log:
driver_opts:
type: none
device: ./log
device: ${DEPLOY_DIR}/${APP_NAME}/log
o: bind
......
......@@ -7,7 +7,7 @@ services:
container_name: es
volumes:
- es-data:/usr/share/elasticsearch/data
- ./plugins:/usr/share/elasticsearch/plugins
- ${DB_DEPLOY_DIR}/plugins:/usr/share/elasticsearch/plugins
- ./conf/es/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
......@@ -22,5 +22,5 @@ volumes:
es-data:
driver_opts:
type: none
device: ./data/es_data/
device: ${DB_DEPLOY_DIR}/data/es_data/
o: bind
......@@ -20,5 +20,5 @@ volumes:
mq-data:
driver_opts:
type: none
device: ./data/mq_data/
device: ${DB_DEPLOY_DIR}/data/mq_data/
o: bind
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment