-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.production.yml
77 lines (70 loc) · 1.78 KB
/
docker-compose.production.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
76
77
version: '3.7'
services:
selenium-hub:
image: selenium/hub:4.0.0
ports:
- "4444:4444"
volumes:
- alex-database:/var/alex/backend/target/postgresql
chrome-node:
image: selenium/node-chrome:4.0.0
shm_size: '2gb'
depends_on:
- selenium-hub
environment:
- JAVA_OPTS=-Dwebdriver.chrome.whitelistedIps=
- SE_EVENT_BUS_HOST=selenium-hub
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
ports:
- "7901:7900"
volumes:
- alex-database:/var/alex/backend/target/postgresql
firefox-node:
image: selenium/node-firefox:4.0.0
shm_size: '2gb'
depends_on:
- selenium-hub
environment:
- SE_EVENT_BUS_HOST=selenium-hub
- SE_EVENT_BUS_PUBLISH_PORT=4442
- SE_EVENT_BUS_SUBSCRIBE_PORT=4443
ports:
- "7902:7900"
volumes:
- alex-database:/var/alex/backend/target/postgresql
alex-database:
image: postgres:10
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
- POSTGRES_USER=sa
- POSTGRES_DB=alex
volumes:
- alex-database:/var/lib/postgresql
alex-frontend:
image: ghcr.io/learnlib/alex/alex-frontend:3.0.0
environment:
- ALEX_BACKEND_ADDRESS=http://localhost
- ALEX_BACKEND_PORT=8000
ports:
- "80:4200"
alex-backend:
image: ghcr.io/learnlib/alex/alex-backend:3.0.0
depends_on:
- alex-database
- selenium-hub
volumes:
- alex-database:/var/alex/backend/target/postgresql
environment:
- GRID_HOST=selenium-hub
- GRID_PORT=4444
- DATABASE_HOST=alex-database
- DATABASE_PORT=5432
- DATABASE_NAME=alex
- DATABASE_USER=sa
- DATABASE_PASSWORD=sa
- RUNTIME=docker
ports:
- "8000:8000"
volumes:
alex-database: