docker-compose.yml 695 B

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