-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.test.yml
executable file
·53 lines (49 loc) · 1.45 KB
/
docker-compose.test.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
version: '3'
services:
testldap:
container_name: testldap
image: mirror.gcr.io/bitnami/openldap:2.5
ports:
- '1389:1389'
- '1636:1636'
environment:
- LDAP_ROOT=dc=redhat,dc=com
- LDAP_ADMIN_USERNAME=admin
- LDAP_ADMIN_PASSWORD=adminpassword
- BITNAMI_DEBUG=true
volumes:
- ${PWD}/etc/openldap:/ldifs:z
# See "NOTE about healthchecks" in docker-compose.yml:
# depends_on:
# osidb-data:
# condition: service_healthy
testrunner:
container_name: testrunner
build:
context: .
dockerfile: test.Dockerfile
args:
RH_CERT_URL: ${RH_CERT_URL}
PYPI_MIRROR: ${PIP_INDEX_URL}
image: testrunner
stdin_open: true
tty: true
depends_on: ["osidb-data"]
# See "NOTE about healthchecks" in docker-compose.yml:
# depends_on:
# osidb-data:
# condition: service_healthy
#
# Empty environment ensures that all the
# tests are independent of the local one
environment: []
volumes:
- ${PWD}:/opt/app-root/src:z
locust:
container_name: locust
image: mirror.gcr.io/locustio/locust:2.20.1
ports:
- '9000:8089'
volumes:
- ${PWD}/perf/main.py:/mnt/locust/main.py:z
command: -f /mnt/locust/main.py -H http://osidb-service:8000 --web-host 0.0.0.0 --modern-ui SFM2User SDEngineUser GriffonUser