-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.yml
41 lines (39 loc) · 980 Bytes
/
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
version: '3.3'
services:
ui:
env_file:
- .env
image: node:22
user: "node"
working_dir: /home/node/app
volumes:
- ./:/home/node/app
command: npm run serve -- --port 8081 --host ui
ports:
- 8081:8081
healthcheck:
test: curl --fail http://ui:8081
interval: 5s
start_period: 0s
extra_hosts:
- "host.docker.internal:host-gateway"
selenium-firefox:
profiles: [ browser-tests ]
image: selenium/standalone-firefox:4.21.0
shm_size: 2gb
healthcheck:
test: curl --fail http://selenium-firefox:4444
interval: 5s
start_period: 0s
extra_hosts:
- "host.docker.internal:host-gateway"
selenium-chrome:
profiles: [ browser-tests ]
image: selenium/standalone-chrome:4.23.0
shm_size: 2gb
healthcheck:
test: curl --fail http://selenium-chrome:4444
interval: 5s
start_period: 0s
extra_hosts:
- "host.docker.internal:host-gateway"