Commit ad69edf8 authored by tianye's avatar tianye

修改数据库映射参数

parent 8673bb24
version: '3' version: '3'
volumes: 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: sc_log:
driver_opts: driver_opts:
type: none type: none
device: ./log device: ${DEPLOY_DIR}/${APP_NAME}/log
o: bind o: bind
......
...@@ -7,7 +7,7 @@ services: ...@@ -7,7 +7,7 @@ services:
container_name: es container_name: es
volumes: volumes:
- es-data:/usr/share/elasticsearch/data - 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 - ./conf/es/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
environment: environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
...@@ -22,5 +22,5 @@ volumes: ...@@ -22,5 +22,5 @@ volumes:
es-data: es-data:
driver_opts: driver_opts:
type: none type: none
device: ./data/es_data/ device: ${DB_DEPLOY_DIR}/data/es_data/
o: bind o: bind
...@@ -20,5 +20,5 @@ volumes: ...@@ -20,5 +20,5 @@ volumes:
mq-data: mq-data:
driver_opts: driver_opts:
type: none type: none
device: ./data/mq_data/ device: ${DB_DEPLOY_DIR}/data/mq_data/
o: bind 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