-
Notifications
You must be signed in to change notification settings - Fork 16
/
worker.docker-compose.yml
48 lines (45 loc) · 1.33 KB
/
worker.docker-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
version: '3'
services:
load-agent:
build:
context: .
target: release
hostname: load-agent
restart: unless-stopped
user: root
tty: true
command: >
locust -f ${LOCUST_FILES} --worker --master-host=${MASTER_HOST} --master-port=8090
ports:
- "8089:8089"
- "8090:8090"
- "${START_PORT}-${END_PORT}:${START_PORT}-${END_PORT}"
environment:
- NODE_ENV=${NODE_ENV}
- BROWSER=none # don't open the web browser
- MEDIATION_URL=${MEDIATION_URL}
- LOCUST_MIN_WAIT=${LOCUST_MIN_WAIT} # time between pings
- LOCUST_MAX_WAIT=${LOCUST_MAX_WAIT} # time between pings
- ISSUER_URL=${ISSUER_URL}
- ISSUER_HEADERS=${ISSUER_HEADERS}
- VERIFIER_URL=${VERIFIER_URL}
- VERIFIER_HEADERS=${VERIFIER_HEADERS}
- ISSUER_TYPE=${ISSUER_TYPE}
- VERIFIER_TYPE=${VERIFIER_TYPE}
- AGENT_IP=${AGENT_IP}
- CRED_DEF=${CRED_DEF}
- CRED_ATTR=${CRED_ATTR}
- SCHEMA=${SCHEMA}
- LEDGER=${LEDGER}
- START_PORT=${START_PORT}
- END_PORT=${END_PORT}
- MESSAGE_TO_SEND=${MESSAGE_TO_SEND}
- VERIFIED_TIMEOUT_SECONDS=${VERIFIED_TIMEOUT_SECONDS}
- WITH_MEDIATION=${WITH_MEDIATION}
- OOB_INVITE=${OOB_INVITE}
networks:
- app-network
#Docker Networks
networks:
app-network:
driver: bridge