-
Notifications
You must be signed in to change notification settings - Fork 179
/
docker-compose.test.yml
71 lines (65 loc) · 1.76 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
71
# 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/.
services:
bmo.test:
build: &build_bmo
context: .
dockerfile: Dockerfile
target: test
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_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
depends_on:
- externalapi.test
- bmo.db
- memcached
- s3
- gcs
externalapi.test:
build: *build_bmo
entrypoint: perl /app/external_test_api.pl daemon -l http://*:8001
ports:
- 8001:8001
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
s3:
image: scireum/s3-ninja
gcs:
image: fsouza/fake-gcs-server
command: "-scheme http"
volumes:
- ./docker/gcs/attachments:/data/attachments
- ./docker/gcs/sitemapindex:/data/sitemapindex
- ./docker/gcs/mining:/data/mining