You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-17Lines changed: 1 addition & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -142,23 +142,7 @@ The emulator's display can be adjusted with environment variables:
142
142
-`SCREEN_RESOLUTION` (optional): sets the screen size in `WIDTHxHEIGHT` format.
143
143
-`SCREEN_DENSITY` (optional): overrides the device pixel density in DPI.
144
144
145
-
#### Docker run example
146
-
147
-
```bash
148
-
docker run -e SCREEN_RESOLUTION=1440x2560 -e SCREEN_DENSITY=560 shmayro/dockerify-android:latest
149
-
```
150
-
151
-
#### docker-compose snippet
152
-
153
-
```yaml
154
-
environment:
155
-
# Optional screen resolution in WIDTHxHEIGHT format
156
-
# - SCREEN_RESOLUTION=1440x2560
157
-
# Optional screen density (dpi)
158
-
# - SCREEN_DENSITY=560
159
-
```
160
-
161
-
If `SCREEN_RESOLUTION` or `SCREEN_DENSITY` are omitted, the emulator uses its default settings.
145
+
Configure these variables in your `docker-compose.yml` file (the provided example contains commented entries for reference). If `SCREEN_RESOLUTION` or `SCREEN_DENSITY` are omitted, the emulator uses its default settings.
0 commit comments