forked from bugzilla/harmony
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.test.yml
70 lines (64 loc) · 1.72 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
66
67
68
69
70
# 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.6'
services:
bmo.test:
build: &bmo_build
context: .
dockerfile: Dockerfile
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_db_mysql_ssl_get_pubkey=1
- BMO_memcached_namespace=bugzilla
- BMO_memcached_servers=memcached:11211
- BMO_ses_password=password123456789!
- BMO_urlbase=AUTOMATIC
- BUGZILLA_ALLOW_INSECURE_HTTP=1
- BZ_ANSWERS_FILE=/app/conf/checksetup_answers.txt
- BZ_QA_ANSWERS_FILE=/app/.circleci/checksetup_answers.txt
- BZ_QA_CONF_FILE=/app/.circleci/selenium_test.conf
- BZ_QA_CONFIG=1
- CI=${CI}
- CIRCLE_SHA1=${CIRCLE_SHA1}
- CIRCLE_BUILD_URL=${CIRCLE_BUILD_URL}
- 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:
- bmo.db
- memcached
- selenium
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: memcached:latest
selenium:
image: selenium/standalone-firefox:3.141.59
shm_size: '512m'
ports:
- "5900:5900"
volumes:
bmo-mysql-db: