feat(商城): es添加密码

master
wayn 1 year ago
parent 221136b4c3
commit c678b2c4b3

@ -123,7 +123,7 @@ services:
MYSQL_ALLOW_EMPTY_PASSWORD: 'no'
MYSQL_DATABASE: 'wayn_shop'
volumes:
# - ./mysql/data:/var/lib/mysql
- ./mysql/data:/var/lib/mysql
- ./db-init:/docker-entrypoint-initdb.d
command: mysqld --lower_case_table_names=1 --default-authentication-plugin=mysql_native_password
network_mode: "host"
@ -132,7 +132,7 @@ services:
image: docker.elastic.co/elasticsearch/elasticsearch:7.10.0
container_name: elasticsearch
volumes:
# - ./es/data:/usr/share/elasticsearch/data
- ./es/data:/usr/share/elasticsearch/data
- ./es/plugins:/usr/share/elasticsearch/plugins
environment:
- discovery.type=single-node

Loading…
Cancel
Save