-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (42 loc) · 920 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
48 lines (42 loc) · 920 Bytes
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
version: '3'
services:
httpd:
image: httpd
networks:
- net1
volumes:
- ./testhtdocs:/usr/local/apache2/htdocs/
ports:
- "80:80"
selenium:
image: selenium/standalone-chrome:4.2.1-20220531
networks:
- net1
ports:
- 4444:4444
- 7900:7900
swift_web_driver:
&SwiftWebDriver
build: .
volumes:
- .:/SwiftWebDriver
working_dir: /SwiftWebDriver
networks:
- net1
environment:
SELENIUM_URL: http://localhost:4444
tty: true
depends_on:
- selenium
- httpd
build:
<<: *SwiftWebDriver
command: /bin/bash -xcl "swift buld"
test:
<<: *SwiftWebDriver
command: /bin/bash -xcl "swift test -Xswiftc -warnings-as-errors $${SANITIZER_ARG-}"
shell:
<<: *SwiftWebDriver
entrypoint: /bin/bash
networks:
net1: