1 Star 1 Fork 0

Brook's/easy-cloud

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yml 2.51 KB
一键复制 编辑 原始数据 按行查看 历史
liushaojun 提交于 2018-06-23 18:44 . :bento:update Dockerfile .
version: '3'
services:
consumer-service:
image: easy-cloud/ec-consumer:1.0-SNAPSHOT
expose:
- "8001"
# links:
# - discovery
edge-service:
image: easy-cloud/ec-edge-service:1.0-SNAPSHOT
volumes:
- "/tmp/logs:/app/logs"
expose:
- "8070"
# links:
# - discovery
# - admin-server
product-service:
image: easy-cloud/ec-product-service:1.0-SNAPSHOT
# ports:
# - "8090:8090"
volumes:
- "/tmp/logs:/app/logs"
expose:
- "8090"
# links:
# - discovery
# - zipkin
user-service:
image: easy-cloud/ec-user-service:1.0-SNAPSHOT
volumes:
- "/tmp/logs:/app/logs"
# ports:
# - "8081:8081"
# links:
# - discovery
# - zipkin
# - mongodb
# - admin-server
config-server:
image: easy-cloud/ec-config:1.0-SNAPSHOT
# ports:
# - "8888:8888"
volumes:
- "/tmp/logs:/app/logs"
# links:
# - discovery
# - mongodb
# - admin-server
# - rabbitmq
api-gateway:
image: easy-cloud/ec-zuul:1.0-SNAPSHOT
ports:
- "8080:8080"
volumes:
- "/tmp/logs:/app/logs"
# links:
# - discovery
# - zipkin
dashboard:
image: easy-cloud/ec-dashboard:1.0-SNAPSHOT
ports:
- "9001:9001"
# links:
# - discovery
# - admin-server
turbine-stream:
image: easy-cloud/ec-turbine-stream:1.0-SNAPSHOT
ports:
- "8099:8099"
# links:
# - discovery
# - rabbitmq
admin-server:
image: easy-cloud/ec-admin:1.0-SNAPSHOT
ports:
- "9000:9000"
environment:
- "spring.profiles.active=security"
- "EUREKA_SERVER_URL=http://eureka:123456@discovery:8761/eureka"
volumes:
- "/tmp/logs:/app/logs"
# links:
# - discovery
discovery:
image: easy-cloud/ec-eureka-server:1.0-SNAPSHOT
ports:
- "8761:8761"
volumes:
- "/tmp/logs:/app/logs"
# mysql:
# image: msyql:5.7
# volumes:
# - ~/data/mysql/data:/var/lib/mysql
# ports:
# - "3306:3306"
# environment:
# MYSQL_ROOT_PASSWORD: 123456
# TZ: Asia/Shanghai
mongodb:
image: mongo:3.6.4
ports:
- "27017:27017"
volumes:
- ~/data/mongo/data:/data/db
rabbitmq:
image: rabbitmq:3.7-management
hostname: rabbit
ports:
- "5672:5672"
- "15672:15672"
environment:
- RABBITMQ_DEFAULT_USER=user
- RABBITMQ_DEFAULT_PASS=123456
zipkin:
image: openzipkin/zipkin
container_name: zipkin
ports:
- 9411:9411
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/liushaojun/easy-cloud.git
git@gitee.com:liushaojun/easy-cloud.git
liushaojun
easy-cloud
easy-cloud
master

搜索帮助