version: '3.4' services: hotline: image: ${DOCKER_REGISTRY-fwt}/hotline:${TAG:-latest} container_name: hotline environment: - "TZ=Asia/Shanghai" #restart: on-failure ports: - "50110:80" - "50113:50001" - "50112:3500" networks: - fwtnet hotline-dapr: image: "daprio/daprd:edge" command: [ "./daprd", "-app-id", "hotline", "-app-port", "80", "-components-path", "/components", #"-config", "/configuration/config.yaml" ] volumes: - "./dapr/components/:/components" #- "./dapr/configuration/:/configuration" depends_on: - hotline network_mode: "service:hotline" networks: fwtnet: external: true