-
-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (39 loc) · 952 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (39 loc) · 952 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
---
services:
dockerify-android:
container_name: dockerify-android
image: shmayro/dockerify-android:latest
build:
context: .
ports:
- "5555:5555"
volumes:
- ./data:/data
- ./extras:/extras
environment:
DNS: one.one.one.one
# RAM_SIZE: 4096
# Optional screen resolution in WIDTHxHEIGHT format
#SCREEN_RESOLUTION: 720x720
# Optional screen density (dpi)
#SCREEN_DENSITY: 227
ROOT_SETUP: 0 # set to 1 to enable rooting
GAPPS_SETUP: 0 # set to 1 to install PICO GAPPS
privileged: true
devices:
- /dev/kvm
scrcpy-web:
container_name: scrcpy-web
restart: unless-stopped
image: shmayro/scrcpy-web:latest
privileged: true
ports:
- 8000:8000
depends_on:
dockerify-android:
condition: service_healthy
command: >
sh -c "
adb connect dockerify-android:5555 &&
npm start
"