-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
108 lines (100 loc) · 2.1 KB
/
docker-compose.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
version: "3.4"
services:
caseworker:
container_name: caseworker
# platform: linux/amd64
env_file:
- ./caseworker.env
environment:
- ADDITIONAL_PYTEST_UI_TEST_ARGS=--headless
build: .
volumes:
- .:/app
- downloads:/tmp/downloads
ports:
- 8200:8200
expose:
- 8200
command: python manage.py runserver 0.0.0.0:${PORT:-8200}
networks:
- lite
stdin_open: true
tty: true
extra_hosts:
- "host.docker.internal:host-gateway"
exporter:
container_name: exporter
# platform: linux/amd64
env_file:
- ./exporter.env
environment:
- ADDITIONAL_PYTEST_UI_TEST_ARGS=--headless
build: .
volumes:
- .:/app
- downloads:/tmp/downloads
ports:
- 8300:8300
expose:
- 8300
command: python manage.py runserver 0.0.0.0:${PORT:-8300}
networks:
- lite
stdin_open: true
tty: true
extra_hosts:
- "host.docker.internal:host-gateway"
chrome:
image: "seleniarm/node-chromium:latest"
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:
- "5900:5900"
- "7900:7900"
networks:
- lite
volumes:
- downloads:/tmp/downloads
firefox:
image: selenium/node-firefox:latest
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
networks:
- lite
selenium-hub:
image: selenium/hub:4.20.0
container_name: selenium-hub
ports:
- "4442:4442"
- "4443:4443"
- "4444:4444"
networks:
- lite
frontend_assets_watcher:
image: node:16.20-bullseye
volumes:
- .:/app
command: bash -c "
npm set unsafe-perm true
&& npm install
&& npm run watch
"
working_dir: /app
ports:
- 8400:8400
- 8401:8401
networks:
lite:
external: true
volumes:
downloads: