-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.selenium.yml
51 lines (48 loc) · 1.44 KB
/
docker-compose.selenium.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
version: '3.7'
services:
selenium:
build:
context: .
dockerfile: Dockerfile
environment:
NODE_ENV: 'production'
DEV_ENV: 'True' # necessary to have nginx connect to web container
DATABASE_URL: postgres://postgres:postgres@db:5432/postgres
MICROMASTERS_SECURE_SSL_REDIRECT: 'False'
MICROMASTERS_DB_DISABLE_SSL: 'True'
OPENSEARCH_URL: opensearch-node1:9200
CELERY_ALWAYS_EAGER: 'False'
BROKER_URL: redis://redis:6379/4
CELERY_RESULT_BACKEND: redis://redis:6379/4
DOCKER_HOST: ${DOCKER_HOST:-missing}
WEBPACK_DEV_SERVER_HOST: ${WEBPACK_DEV_SERVER_HOST:-localhost}
OPENSEARCH_INDEX: 'testindex'
DEBUG: 'False'
OPENSEARCH_DEFAULT_PAGE_SIZE: '5'
MITXONLINE_BASE_URL: "https://fake-mitxonline.example.com/"
MITXONLINE_URL: "https://fake-mitxonline.example.com/"
# To silence ImproperlyConfigured when running tests
MAILGUN_URL: http://fake.mailgun.url
MAILGUN_KEY: fake_mailgun_key
OPEN_DISCUSSIONS_SITE_KEY: fake_site_key
links:
- db
- opensearch-node1
- redis
- hub
- chrome
hub:
image: selenium/hub:3.141.59-20210607
environment:
GRID_TIMEOUT: '3600'
ports:
- "4444:4444"
chrome:
image: selenium/node-chrome:3.141.59-20210713
environment:
- HUB_PORT_4444_TCP_ADDR=hub
- HUB_PORT_4444_TCP_PORT=4444
links:
- hub
ports:
- "5555:5555"