HUB
Sign inSign up

shmayro/scrcpy-web

By shmayro

•Updated about 2 months ago

Scrcpy web client running on Docker

Image
2

50K+

shmayro/scrcpy-web repository overview

⁠scrcpy-web

Scrcpy web client running on Docker 🚀

License: MIT Docker Pulls GitHub Release GitHub Issues GitHub Stars

⁠How to connect devices during scrcpy-web startup
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: 2048
      # 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
      ARM_TRANSLATION: 1 # set to 1 to enable ARM translation (allows ARM64 apps)
    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
      "
⁠Versioning and Releases

scrcpy-web uses GitHub Releases as the source of truth for stable versions. Publishing a release such as v1.2.3 creates matching multi-arch (linux/amd64, linux/arm64) Docker image tags: 1.2.3, 1.2, 1, and latest.

Builds from the main branch are published as development images using edge and sha-<short-sha> tags.

Tag summary

Content type

Image

Digest

sha256:952c4b549…

Size

128.2 MB

Last updated

about 2 months ago

docker pull shmayro/scrcpy-web