elasticsearch.yml 配置内容
http.host: 0.0.0.0
xpack.security.enabled: true
docker run -d --restart=always --restart=always --privileged=true --name=es7 -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -v /home/user/elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml -e ES_JAVA_OPTS="-Xms256m -Xmx256m" docker.elastic.co/elasticsearch/elasticsearch:7.8.0
docker run -d --restart=always --name rabbitmq -e RABBITMQ_DEFAULT_USER=user -e RABBITMQ_DEFAULT_PASS=password -p 15672:15672 -p 5672:5672 rabbitmq:3-management
docker run -d --restart=always --name redis -p 6379:6379 redis --requirepass "mypassword"
docker run -d --restart=always -p 5432:5432 --name pg -e POSTGRES_PASSWORD=xxx -e POSTGRES_USER=xxx postgres