docker-compose.yml 724 B

123456789101112131415161718192021222324252627282930313233
  1. version: '3.4'
  2. services:
  3. hotline:
  4. image: ${DOCKER_REGISTRY-fw}/hotline:${TAG:-latest}
  5. container_name: hotline
  6. environment:
  7. - "TZ=Asia/Shanghai"
  8. #restart: on-failure
  9. ports:
  10. - "50100:80"
  11. - "50103:50001"
  12. hotline-dapr:
  13. image: "daprio/daprd:edge"
  14. command: [ "./daprd",
  15. "-app-id", "hotline",
  16. "-app-port", "80",
  17. "-dapr-http-port", "50105",
  18. #"-components-path", "/components",
  19. #"-config", "/configuration/config.yaml"
  20. ]
  21. #volumes:
  22. #- "./dapr/components/:/components"
  23. #- "./dapr/configuration/:/configuration"
  24. depends_on:
  25. - hotline
  26. network_mode: "service:hotline"
  27. networks:
  28. default:
  29. external: true
  30. name: fw-dapr-network