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