-
Notifications
You must be signed in to change notification settings - Fork 24
/
docker-compose.selenium.yml
executable file
·74 lines (70 loc) · 1.69 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
services:
selenium-tests:
build:
context: ./
dockerfile: Dockerfile.selenium
command: pytest ./apps/integration_tests/selenium_tests.py ./apps/integration_tests/selenium_spanish_tests.py
ports:
- "8910:8910"
env_file:
- docker-compose/selenium-env-vars.env
volumes:
- .:/code
depends_on:
bb2slsx:
condition: service_healthy
chrome:
condition: service_started
chrome:
image: seleniarm/standalone-chromium
hostname: chrome
ports:
- "4444:4444"
- "5900:5900"
msls:
build: ./dev-local
command: bash -c "python -m debugpy --listen 0.0.0.0:7890 app.py"
ports:
- "8080:8080"
- "7890:7890"
# healthcheck:
# test: ["CMD", "curl", "-f", "http://msls:8080/sso/authorize"]
# interval: 10s
# timeout: 5s
# retries: 5
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:
# local devel specific variables go here!
- .env
- docker-compose/web-env-vars.env
- docker-compose/slsx-env-vars.env
- docker-compose/selenium-env-vars.env
volumes:
- .:/code
ports:
- "8000:8000"
- "5678:5678"
healthcheck:
test: ["CMD", "curl", "-f", "http://bb2slsx:8000"]
interval: 60s
retries: 5
start_period: 20s
timeout: 20s
depends_on:
msls:
condition: service_started
db:
condition: service_healthy