-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.android-usb.yml
More file actions
31 lines (30 loc) · 1.11 KB
/
Copy pathdocker-compose.android-usb.yml
File metadata and controls
31 lines (30 loc) · 1.11 KB
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
# Docker Compose overlay for Android development via USB-connected real device.
#
# Unlike the Waydroid overlay (docker-compose.android.yml), a USB-connected
# device cannot directly reach the host's Docker network. Instead, we use
# `adb reverse` to forward ports from the device to the host.
#
# Usage:
# docker compose -f docker-compose.test.yml \
# -f docker-compose.vc-services.yml \
# -f docker-compose.go-trust.yml \
# -f docker-compose.go-trust-allow.yml \
# -f docker-compose.android-usb.yml \
# up -d
#
# Or via Make:
# make usb-android-up
#
# Prerequisites:
# - Physical Android device connected via USB with USB debugging enabled
# - ADB authorized on the device
# - Run `make usb-android-setup` first to set up port forwarding + config
#
# `make usb-android-config` re-renders the vc services' config from the chart
# with localhost as the advertised address (`adb reverse` maps the device's
# localhost to the host). This overlay only sets mini-oidc's ISSUER to match;
# everything else comes from the rendered config.
services:
mini-oidc:
environment:
- ISSUER=http://localhost:9005