feat: add PORT_FORWARD env var for port forwarding#45
Open
cloudwaddie-agent wants to merge 4 commits intoShmayro:mainfrom
Open
feat: add PORT_FORWARD env var for port forwarding#45cloudwaddie-agent wants to merge 4 commits intoShmayro:mainfrom
cloudwaddie-agent wants to merge 4 commits intoShmayro:mainfrom
Conversation
- Add ANDROID_VERSION and GAPPS_VERSION environment variables - Support for Android 11 (API 30), 12 (API 31), 13 (API 33), and 14 (API 34) - Create .env.example with all configurable options - Update Dockerfile to accept ANDROID_VERSION as build arg - Update first-boot.sh to dynamically handle version-specific GAPPS and AVD creation - Add env_file reference in docker-compose.yml - Update README with new environment variable documentation BREAKING CHANGE: None - maintains backward compatibility with default ANDROID_VERSION=30
- Add API 35 (Android 15) and API 36 (Android 16) support - Update GAPPS mapping for newer Android versions - Update README documentation
Add ability to configure internal storage size via DATA_PARTITION_SIZE environment variable (e.g., 4G, 8G, 16G). Fixes Shmayro#42
Add PORT_FORWARD environment variable to forward ports from host to Android. Format: HOST_PORT:ANDROID_PORT (comma separated for multiple). Fixes Shmayro#30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add
PORT_FORWARDenvironment variable to forward ports from host to Android without manually entering the container.Changes
PORT_FORWARDsupport infirst-boot.shHOST_PORT:ANDROID_PORTformat (comma separated for multiple)Usage
Single port:
Multiple ports:
or in docker-compose.yml:
Fixes #30