-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
46 lines (42 loc) · 1.23 KB
/
docker-compose.yaml
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
version: '3.9'
name: codeceptjs-bdd-multi-platform
services:
tests:
profiles:
- build
# command: # TODO: wait for emulated device, then start tests
container_name: codeceptjs-bdd-multi-platform-tests
depends_on:
- appium-android
env_file:
- .env
build:
context: .
dockerfile: ./Dockerfile
networks:
- codeceptjs-bdd-multi-platform
security_opt:
- no-new-privileges:true
# Emulated device does not start at the moment
# TODO: check after fixing https://github.com/budtmo/docker-android/issues/365
# trunk-ignore(semgrep/yaml.docker-compose.security.writable-filesystem-service.writable-filesystem-service)
appium-android:
container_name: codeceptjs-bdd-multi-platform-appium-android
devices:
- /dev/kvm
environment:
APPIUM: true
WEB_VNC: true
EMULATOR_DEVICE: Samsung Galaxy S10
expose:
- 4723
- 6080
image: budtmo/docker-android:emulator_11.0@sha256:3f53a6ddb45625920517dce261d5650d51b74d288d395ca796020db9043c88f0
networks:
- codeceptjs-bdd-multi-platform
security_opt:
- no-new-privileges:true
networks:
codeceptjs-bdd-multi-platform:
driver: bridge
name: codeceptjs-bdd-multi-platform