Skip to content

Instantly share code, notes, and snippets.

@matutter
Last active June 24, 2020 12:20
Show Gist options
  • Save matutter/c9e5e3612629809449386f44b0c2de3d to your computer and use it in GitHub Desktop.
Save matutter/c9e5e3612629809449386f44b0c2de3d to your computer and use it in GitHub Desktop.
Compose file to run STF on a local machine.
##
# Usage:
# Run `docker-compose up`
# Navigate to localhost:7100 in your browser
version: "3.6"
services:
stf:
image: openstf/stf
command: bin/stf local
ports:
- "7100:7100"
- "7110:7110"
- "7120:7120"
- "7400-7500:7400-7500"
environment:
RETHINKDB_PORT_28015_TCP: "tcp://rethinkdb:28015"
STF_LOCAL_ADB_HOST: adbd
links:
- rethinkdb
- adbd
adbd:
image: sorccu/adb
privileged: true
ports:
- "5037:5037"
restart: always
volumes:
- /dev/bus/usb
rethinkdb:
image: rethinkdb
expose:
- "28015"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment