forked from mozilla-bteam/bmo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.test.yml
65 lines (59 loc) · 1.59 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
54
55
56
57
58
59
60
61
62
63
64
65
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
version: '3'
services:
bmo.test:
image: bmo
command: dev_httpd
tmpfs:
- /tmp
- /run
environment:
- 'BMO_inbound_proxies=*'
- BMO_db_host=bmo.db
- BMO_db_name=bugs
- BMO_db_pass=bugs
- BMO_db_user=bugs
- BMO_memcached_namespace=bugzilla
- BMO_memcached_servers=memcached:11211
- BMO_ses_username=ses@mozilla.bugs
- BMO_ses_password=password123456789!
- BMO_urlbase=AUTOMATIC
- BUGZILLA_ALLOW_INSECURE_HTTP=1
- BZ_ANSWERS_FILE=/app/conf/checksetup_answers.txt
- BZ_QA_CONF_FILE=/app/qa/config/selenium_test.conf
- BZ_QA_CONFIG=1
- LOCALCONFIG_ENV=1
- LOG4PERL_CONFIG_FILE=log4perl-test.conf
- LOGGING_PORT=5880
- PORT=8000
- TWD_BROWSER=firefox
- TWD_HOST=selenium
- TWD_PORT=4444
depends_on:
- externalapi.test
- bmo.db
- memcached
- selenium
externalapi.test:
image: bmo
entrypoint: perl /app/external_test_api.pl daemon -l http://*:8000
bmo.db:
image: mysql:8
tmpfs:
- /tmp
logging:
driver: "none"
environment:
- MYSQL_DATABASE=bugs
- MYSQL_USER=bugs
- MYSQL_PASSWORD=bugs
- MYSQL_ALLOW_EMPTY_PASSWORD=1
memcached:
image: ghcr.io/ghcr-library/memcached:latest
selenium:
image: selenium/standalone-firefox:3.141.59
shm_size: '512m'
ports:
- "59000:5900"