docker-compose.yml 713 B

12345678910111213141516171819202122232425262728293031323334
  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. - "50110:80"
  11. - "50113:50001"
  12. - "50112:3500"
  13. networks:
  14. - fwtnet
  15. hotline-dapr:
  16. image: "daprio/daprd:edge"
  17. command: [ "./daprd",
  18. "-app-id", "hotline",
  19. "-app-port", "80",
  20. "-components-path", "/components",
  21. #"-config", "/configuration/config.yaml"
  22. ]
  23. volumes:
  24. - "./dapr/components/:/components"
  25. #- "./dapr/configuration/:/configuration"
  26. depends_on:
  27. - hotline
  28. network_mode: "service:hotline"
  29. networks:
  30. fwtnet:
  31. external: true