docker-compose.yml 693 B

1234567891011121314151617181920212223242526272829303132
  1. version: '3.4'
  2. services:
  3. hotline:
  4. image: ${DOCKER_REGISTRY-fwt}/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. #"-components-path", "/components",
  18. #"-config", "/configuration/config.yaml"
  19. ]
  20. #volumes:
  21. #- "./dapr/components/:/components"
  22. #- "./dapr/configuration/:/configuration"
  23. depends_on:
  24. - hotline
  25. network_mode: "service:hotline"
  26. networks:
  27. default:
  28. external: true
  29. name: fw-dapr-network