代码拉取完成,页面将自动刷新
version: '3'
services:
db1:
image: mysql
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=123456
- MYSQL_DATABASE=gpmall
volumes:
- "/Users/wangzhong/datas/mysql:/var/lib/mysql"
elasticsearch:
image: elasticsearch:6.6.1
environment:
- cluster.name=elasticsearch
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
ports:
- 9200:9200
- 9300:9300
volumes:
- "/Users/wangzhong/datas/es/data:/usr/share/elasticsearch/data"
#- "/Users/wangzhong/datas/es/plugins:/usr/share/elasticsearch/plugins"
kibana:
image: kibana:6.6.1
environment:
SERVER_NAME:
ELASTICSEARCH_HOSTS: http://localhost:9200
ports:
- 5601:5601
kafka:
image: wurstmeister/kafka
ports:
- "9092:9092"
environment:
KAFKA_ADVERTISED_HOST_NAME: localhost
KAFKA_ADVERTISED_PORT: 9092
# HOSTNAME_COMMAND: "cat /etc/hosts | tail -1 | awk '{print $$1}'"
# KAFKA_ADVERTISED_LISTENERS: INSIDE://:9092,OUTSIDE://_{HOSTNAME_COMMAND}:9094
# KAFKA_LISTENERS: INSIDE://:9092,OUTSIDE://:9094
# KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INSIDE:PLAINTEXT,OUTSIDE:PLAINTEXT
# KAFKA_INTER_BROKER_LISTENER_NAME: INSIDE
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
redis:
image: redis
ports:
- "6379:6379"
zookeeper:
image: wurstmeister/zookeeper
ports:
- "2181:2181"
rabbitmq:
image: rabbitmq:management
ports:
- "4369:4369"
- "5671:5671"
- "25672:25672"
- "5672:5672"
- "15672:15672"
container_name: rabbitmq
hostname: rabbitmq
environment:
RABBITMQ_DEFAULT_USER: rabbitmq
RABBITMQ_DEFAULT_PASS: 123456
RABBITMQ_NODENAME: rabbitmq
RABBITMQ_ERLANG_COOKIE: CURIOAPPLICATION
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。