-
Notifications
You must be signed in to change notification settings - Fork 15
/
test-build-compose.yml
50 lines (50 loc) · 1.28 KB
/
test-build-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: "3"
services:
nameles-streaming:
image: apastor/nameles-streaming
ports:
- "5430:5430"
expose:
- "58510"
networks:
- default
restart: "no"
environment:
- RCV_PORT=58510
- NOTIFY_SOCKETS=scoring-module:58520
- DB_IP=127.0.0.1
- DB_USER=nameles
- DB_PWD=""
- DB_NAME=nameles
- NWORKERS=2
- MAX_MSGS=1000
- PYTHON_SCRIPT_NAME=/nameles-streaming/src/nameles-endofday.py
scoring-module:
image: apastor/nameles-scoring-module
expose:
- "58520"
networks:
- default
restart: "no"
environment:
- DSP_IP=dsp-emulator
- SND_PORT=58505
- RCV_PORT=58501
- FWD_PORT=58510
- DB_IP=nameles-streaming
- DB_USER=nameles
- DB_PWD=""
- DB_NAME=nameles
- WORKERS=4
- MIN_TOTAL=250
dsp-emulator:
image: apastor/nameles-dsp-emulator
expose:
- "58501"
- "58505"
networks:
- default
restart: "no"
volumes:
- /tmp:/output
entrypoint: bash -c "sleep 40 && /dsp-emulator/test_data_processing -dspIP '*' -rcvport 58505 -sndport 58501 -domainsFile domain-list.txt -IPsFile ip-list.txt -dbIP nameles-streaming -dbPORT 5430 -dbUSER nameles -dbNAME nameles -n_msgs 500000 && cp *.csv /output/"