|
| 1 | +# This example is specific for Debian, run the following commands before starting the compose: |
| 2 | +# modprobe binder_linux devices=binder1,binder2,binder3,binder4,binder5,binder6 |
| 3 | +# chmod 666 /dev/binder* |
| 4 | +# |
| 5 | +# You may find the Redroid deploy instructions for other distros here: https://github.com/remote-android/redroid-doc/tree/master/deploy |
| 6 | +# |
| 7 | +# The ./init.d folder should contain the "setup.sh" and "reset.sh" scripts |
| 8 | + |
| 9 | +services: |
| 10 | + redroid: |
| 11 | + privileged: true |
| 12 | + volumes: |
| 13 | + - /dev/binder1:/dev/binder |
| 14 | + - /dev/binder2:/dev/hwbinder |
| 15 | + - /dev/binder3:/dev/vndbinder |
| 16 | + ports: |
| 17 | + - 5555:5555 # No need to expose this, but it's useful for debugging purposes |
| 18 | + container_name: redroid14 |
| 19 | + image: redroid/redroid:14.0.0-latest |
| 20 | + droidground: |
| 21 | + build: ../.. |
| 22 | + container_name: droidground |
| 23 | + restart: on-failure |
| 24 | + ports: |
| 25 | + - 4242:4242 |
| 26 | + volumes: |
| 27 | + - ./init.d:/init.d |
| 28 | + environment: |
| 29 | + - DROIDGROUND_APP_PACKAGE_NAME=com.droidground.multistep |
| 30 | + - DROIDGROUND_ADB_HOST=localhost |
| 31 | + - DROIDGROUND_ADB_PORT=5037 |
| 32 | + - DROIDGROUND_DEVICE_TYPE=network |
| 33 | + - DROIDGROUND_DEVICE_HOST=redroid |
| 34 | + - DROIDGROUND_DEVICE_PORT=5555 |
| 35 | + - DROIDGROUND_INIT_SCRIPTS_FOLDER=/init.d |
| 36 | + - DROIDGROUND_HOST=0.0.0.0 |
| 37 | + - DROIDGROUND_PORT=4242 |
| 38 | + - DROIDGROUND_SHUTDOWN_DISABLED=true |
| 39 | + - DROIDGROUND_APP_MANAGER_DISABLED=true |
| 40 | + - DROIDGROUND_FRIDA_DISABLED=true |
| 41 | + - DROIDGROUND_START_RECEIVER_DISABLED=true |
| 42 | + - DROIDGROUND_START_SERVICE_DISABLED=true |
| 43 | + - DROIDGROUND_TERMINAL_DISABLED=true |
0 commit comments