|
@@ -0,0 +1,33 @@
|
|
|
+version: '3.4'
|
|
|
+
|
|
|
+services:
|
|
|
+ hotline:
|
|
|
+ image: ${DOCKER_REGISTRY-fw}/hotline:${TAG:-latest}
|
|
|
+ container_name: hotline
|
|
|
+ environment:
|
|
|
+ - "TZ=Asia/Shanghai"
|
|
|
+ #restart: on-failure
|
|
|
+ ports:
|
|
|
+ - "50100:80"
|
|
|
+ - "50103:50001"
|
|
|
+
|
|
|
+ hotline-dapr:
|
|
|
+ image: "daprio/daprd:edge"
|
|
|
+ command: [ "./daprd",
|
|
|
+ "-app-id", "hotline",
|
|
|
+ "-app-port", "80",
|
|
|
+ "-dapr-http-port", "50105",
|
|
|
+ #"-components-path", "/components",
|
|
|
+ #"-config", "/configuration/config.yaml"
|
|
|
+ ]
|
|
|
+ #volumes:
|
|
|
+ #- "./dapr/components/:/components"
|
|
|
+ #- "./dapr/configuration/:/configuration"
|
|
|
+ depends_on:
|
|
|
+ - hotline
|
|
|
+ network_mode: "service:hotline"
|
|
|
+
|
|
|
+networks:
|
|
|
+ default:
|
|
|
+ external: true
|
|
|
+ name: fw-dapr-network
|