1 Star 0 Fork 0

Dapr 中文社区/order-service

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.28 KB
一键复制 编辑 原始数据 按行查看 历史
wenqi.glantz 提交于 2021-09-02 23:16 . initial commit
version: '3.3'
services:
# order-service and its Dapr sidecar
# zipkin
############################
# order-service and its Dapr sidecar
############################
order-service:
image: order-service
build:
context: rest-controller
dockerfile: Dockerfile
container_name: order-service
ports:
- 9200:9200
networks:
- order-service
order-service-dapr:
image: daprio/daprd:edge
container_name: Dapr.Sidecar-order-service
command: ["./daprd",
"-app-id", "order-service",
"-app-port", "9200",
"-config", "/dapr-components/config.yaml",
"-log-level", "debug",
"-components-path", "/dapr-components"]
volumes:
- "./dapr-components:/dapr-components"
depends_on:
- order-service
network_mode: "service:order-service"
zipkin:
image: openzipkin/zipkin-slim
############################
# Redis (commented out as we are using a public mqtt broker for testing, no need for local instance of redis or mosquitto)
############################
# redis:
# image: redis:alpine
# container_name: Dapr.redis
# ports:
# - "6379"
# networks:
# - order-service
networks:
order-service:
external:
name: local_order_service
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/daprchina/order-service.git
git@gitee.com:daprchina/order-service.git
daprchina
order-service
order-service
main

搜索帮助