3 Star 1 Fork 1

bluesmi / ymall

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docker-compose-env.yml 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
bluesmi 提交于 2019-08-08 22:47 . 集成redis
version: "3.5"
services:
ymall-redis:
image: redis
ports:
- 6379:6379
restart: always
container_name: ymall-redis
hostname: ymall-redis
ymall-zookeeper:
image: confluentinc/cp-zookeeper:5.1.0
container_name: ymall-zookeeper
restart: unless-stopped
ports:
- "2181:2181"
environment:
ZOOKEEPER_CLIENT_PORT: 2181
TZ: "${TZ-Europe/Berlin}"
healthcheck:
test: "echo stat | nc localhost $$ZOOKEEPER_CLIENT_PORT"
start_period: 30s
ymall-kafka:
image: confluentinc/cp-kafka:5.1.0
container_name: ymall-kafka
restart: unless-stopped
depends_on:
- ymall-zookeeper
ports:
- "9092:9092"
environment:
KAFKA_ZOOKEEPER_CONNECT: ymall-zookeeper:2181
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://ymall-kafka:9092
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
KAFKA_DELETE_TOPIC_ENABLE: "true"
TZ: "${TZ-Europe/Berlin}"
healthcheck:
test: [ "CMD", "nc", "-z", "localhost", "9092" ]
start_period: 30s
Java
1
https://gitee.com/bluesmi/ymall.git
git@gitee.com:bluesmi/ymall.git
bluesmi
ymall
ymall
master

搜索帮助