-
Notifications
You must be signed in to change notification settings - Fork 24
/
docker-compose.selenium.yml
executable file
·75 lines (69 loc) · 1.73 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
version: '3'
services:
selenium-tests:
build:
context: ./
dockerfile: Dockerfile.selenium
command: python runtests.py --selenium apps.integration_tests.selenium_tests.SeleniumTests
env_file:
- docker-compose/selenium-env-vars.env
volumes:
- .:/code
depends_on:
- bb2slsx
selenium-tests-debug:
build:
context: ./
dockerfile: Dockerfile.selenium
command: python runtests.py --selenium apps.integration_tests.selenium_tests.SeleniumTests
env_file:
- docker-compose/selenium-env-vars.env
volumes:
- .:/code
depends_on:
- bb2slsx
- chrome
chrome:
image: selenium/standalone-chrome-debug
hostname: chrome
ports:
- "4444:4444"
- "5900:5900"
msls:
build: .
command: bash -c "cd dev-local ; python manage.py migrate ; python -m debugpy --listen 0.0.0.0:7890 manage.py runserver 0.0.0.0:8080 --noreload"
environment:
- DJANGO_SETTINGS_MODULE=mslsx_django.settings
ports:
- "8080:8080"
- "7890:7890"
db:
image: postgres
env_file:
- docker-compose/db-env-vars.env
ports:
- "5432:5432"
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 10s
timeout: 5s
retries: 5
bb2slsx:
build: .
command: ./docker-compose/bluebutton_server_start.sh
env_file:
- docker-compose/web-env-vars.env
- docker-compose/slsx-env-vars.env
- docker-compose/selenium-env-vars.env
# local devel specific variables go here!
- .env
volumes:
- .:/code
ports:
- "8000:8000"
- "5678:5678"
depends_on:
msls:
condition: service_started
db:
condition: service_healthy