Skip to content

Commit 9944edb

Browse files
ioki-smoreioki-smore
authored andcommitted
fix: add algorithms service to docker-compose and fix inter-service hostnames
1 parent 9c97cca commit 9944edb

4 files changed

Lines changed: 32 additions & 4 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
app:
2+
http_request_timeout: 600
3+
http_response_timeout: 600
4+
listen-port: 20418
5+
log-file: /var/log/deepflow/app.log
6+
log-level: info
7+
controller:
8+
host: server
9+
port: 20417
10+
timeout: 60
11+
querier:
12+
host: server
13+
port: 20416
14+
timeout: 60
15+
spec:
16+
l7_tracing_limit: 100

manifests/docker-compose/common/config/deepflow-app/app.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

manifests/docker-compose/common/config/server/server.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,5 @@ querier:
4949
user-name: default
5050
user-password:
5151
deepflow-app:
52-
host: deepflow-app
52+
host: algorithms
5353
port: 20418

manifests/docker-compose/docker-compose.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,27 @@ services:
6060
depends_on:
6161
- mysql
6262
- clickhouse
63+
- algorithms
6364
ports:
6465
- 20416:20416 # querier http
6566
- 20419:20419 # profile
6667
- 30417:20417 # controller http
6768
- 30035:20035 # controller gRPC
6869
- 30033:20033 # ingester data
70+
algorithms:
71+
image: registry.cn-hongkong.aliyuncs.com/deepflow-ce/deepflow-app:${DEEPFLOW_VERSION}
72+
container_name: zt-algorithms
73+
restart: always
74+
environment:
75+
TZ: Asia/Shanghai
76+
volumes:
77+
- type: bind
78+
source: ./common/config/algorithms/app.yaml
79+
target: /etc/deepflow/app.yaml
80+
networks:
81+
- zt
82+
ports:
83+
- 20418:20418
6984

7085
networks:
7186
zt:

0 commit comments

Comments
 (0)