-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
113 lines (109 loc) · 3.55 KB
/
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
services:
k6:
container_name: "loadtesting_environment"
build:
context: .
dockerfile: Dockerfile
networks:
- loadtesting
# - spryker_private
# - spryker_public
# - spryker_b2b_marketplace_private
# - spryker_b2b_marketplace_dev_private
# - spryker_b2c_marketplace_dev_private
# - spryker_b2b_dev_private
# - spryker_b2c_dev_private
# - spryker_b2b_marketplace_private
# - spryker_b2c_marketplace_private
# - spryker_b2b_private
# - spryker_b2c_private
environment:
- K6_SCRIPT=${K6_SCRIPT}
- K6_HOSTENV=${K6_HOSTENV}
- K6_STATSD_ENABLE_TAGS=true
- K6_OUT=${K6_OUT}
- K6_STATSD_ADDR=${K6_STATSD_ADDR}
- K6_STATSD_NAMESPACE=${K6_STATSD_NAMESPACE}
- K6_HTTP_DEBUG=${K6_HTTP_DEBUG}
- K6_NO_THRESHOLDS=${K6_NO_THRESHOLDS}
- GIT_HASH=${GIT_HASH}
- GIT_BRANCH=${GIT_BRANCH}
- GIT_REPO=${GIT_REPO}
- GIT_TAG=${GIT_TAG}
- BASIC_AUTH_USERNAME=${BASIC_AUTH_USERNAME}
- BASIC_AUTH_PASSWORD=${BASIC_AUTH_PASSWORD}
- DATA_EXCHANGE_PAYLOAD_PUT_CHUNK_SIZE=${DATA_EXCHANGE_PAYLOAD_PUT_CHUNK_SIZE:-100}
- DATA_EXCHANGE_PAYLOAD_PATCH_CHUNK_SIZE=${DATA_EXCHANGE_PAYLOAD_PATCH_CHUNK_SIZE:-100}
- DATA_EXCHANGE_PAYLOAD_CHUNK_SIZE=${DATA_EXCHANGE_PAYLOAD_CHUNK_SIZE:-100}
- DATA_EXCHANGE_TARGET_CATALOG_SIZE_POST=${DATA_EXCHANGE_TARGET_CATALOG_SIZE_POST:-3000}
- DATA_EXCHANGE_TARGET_CATALOG_SIZE_PUT_PATCH=${DATA_EXCHANGE_TARGET_CATALOG_SIZE_PUT_PATCH:-1000}
- DATA_EXCHANGE_THREADS_PATCH=${DATA_EXCHANGE_THREADS_PATCH:-1}
- DATA_EXCHANGE_THREADS_PUT=${DATA_EXCHANGE_THREADS_PUT:-1}
- DATA_EXCHANGE_THREADS_POST=${DATA_EXCHANGE_THREADS_POST:-1}
- DATA_EXCHANGE_TWO_LOCALES=${DATA_EXCHANGE_TWO_LOCALES:-1}
- DATA_EXCHANGE_CONCRETE_MAX_AMOUNT=${DATA_EXCHANGE_CONCRETE_MAX_AMOUNT:-1}
- DATA_EXCHANGE_DEBUG=${DATA_EXCHANGE_DEBUG:-0}
volumes:
- .:/home/k6
ports:
- "6565:6565"
links:
- "nrstatsd"
- "newrelic"
newrelic-php-daemon:
image: newrelic/php-daemon
networks:
- loadtesting
nrstatsd:
container_name: "new_relic_statsd"
image: newrelic/nri-statsd:latest
environment:
- NR_ACCOUNT_ID=${NR_ACCOUNT_ID}
# It appears to be a bug in the statsd image. Despite calling the API key, it only works with a New Relic license key.
- NR_API_KEY=${NRIA_LICENSE_KEY}
- NR_EU_REGION=${NR_EU_REGION}
- NR_LOG_METRICS=true
hostname: "localpocmachine"
ports:
- 8125:8125/udp
networks:
- loadtesting
restart: unless-stopped
newrelic:
container_name: newrelic-infra
image: newrelic/infrastructure:latest
cap_add:
- SYS_PTRACE
network_mode: host
pid: host
privileged: true
volumes:
- "/:/host:ro"
- "/var/run/docker.sock:/var/run/docker.sock"
environment:
- NRIA_LICENSE_KEY=${NRIA_LICENSE_KEY}
restart: unless-stopped
networks:
loadtesting:
# spryker_public:
# external: true
# spryker_private:
# external: true
# spryker_b2b_marketplace_private:
# external: true
# spryker_b2b_marketplace_dev_private:
# external: true
# spryker_b2c_marketplace_dev_private:
# external: true
# spryker_b2c_dev_private:
# external: true
# spryker_b2b_dev_private:
# external: true
# spryker_b2b_marketplace_private:
# external: true
# spryker_b2c_marketplace_private:
# external: true
# spryker_b2c_private:
# external: true
# spryker_b2b_private:
# external: true