Comments (5)
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.92. Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
from stf.
docker-compose file
`version: '2'
volumes:
rethinkdb:
storage-temp:
services:
nginx:
build: nginx/
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
# You'll need to set the paths below to where your certs actually are
- ./cert/server.crt:/etc/nginx/ssl/cert.crt
- ./cert/server.key:/etc/nginx/ssl/cert.key
restart: unless-stopped
ports:
- 80:80
- 443:443
depends_on:
- app
- auth
- storage-plugin-apk
- storage-plugin-image
- storage-temp
- websocket
- api
rethinkdb:
image: rethinkdb:2.3.6
restart: unless-stopped
ports:
- 8080:8080
volumes:
- rethinkdb:/data
app:
image: ${STF_IMAGE}
restart: unless-stopped
environment:
- RETHINKDB_PORT_28015_TCP
- SECRET
command: >
node runcli.js app
--auth-url https://${HOSTNAME}/auth/mock/
--websocket-url wss://${HOSTNAME}/ --port 3000
volumes:
- ./runcli.js:/app/runcli.js
ports:
- 10006:9229
depends_on:
- rethinkdb
- auth
- websocket
auth:
image: ${STF_IMAGE}
restart: unless-stopped
volumes:
- ./runcli.js:/app/runcli.js
environment:
- SECRET
- RETHINKDB_PORT_28015_TCP
command: node runcli.js auth-mock --app-url http://${HOSTNAME}/ --port 3000
processor:
image: ${STF_IMAGE}
restart: unless-stopped
environment:
- RETHINKDB_PORT_28015_TCP
command: >
node runcli.js processor
--connect-app-dealer tcp://triproxy:7160
--connect-dev-dealer tcp://dev-triproxy:7260
volumes:
- ./runcli.js:/app/runcli.js
ports:
- 10002:9229
depends_on:
- rethinkdb
- triproxy
- dev-triproxy
triproxy:
image: ${STF_IMAGE}
restart: unless-stopped
command: >
node runcli.js triproxy app
--bind-pub "tcp://:7150"
--bind-dealer "tcp://:7160"
--bind-pull "tcp://:7170"
volumes:
- ./runcli.js:/app/runcli.js
ports:
- 10005:9229
dev-triproxy:
image: ${STF_IMAGE}
restart: unless-stopped
command: >
node runcli.js triproxy dev
--bind-pub "tcp://:7250"
--bind-dealer "tcp://:7260"
--bind-pull "tcp://:7270"
volumes:
- ./runcli.js:/app/runcli.js
ports:
- 7250:7250
- 7270:7270
- 10003:9229
migrate:
image: ${STF_IMAGE}
environment:
- RETHINKDB_PORT_28015_TCP
volumes:
- ./runcli.js:/app/runcli.js
command: node runcli.js migrate
depends_on:
- rethinkdb
reaper:
image: ${STF_IMAGE}
restart: unless-stopped
environment:
- RETHINKDB_PORT_28015_TCP
depends_on:
- migrate
- rethinkdb
- dev-triproxy
- triproxy
volumes:
- ./runcli.js:/app/runcli.js
command: >
node runcli.js reaper dev
--connect-push tcp://dev-triproxy:7270
--connect-sub tcp://triproxy:7150
--heartbeat-timeout 30000
storage-plugin-apk:
image: ${STF_IMAGE}
restart: unless-stopped
volumes:
- ./runcli.js:/app/runcli.js
command: node runcli.js storage-plugin-apk --port 3000 --storage-url http://${PUBLIC_IP}/
depends_on:
- storage-temp
storage-plugin-image:
image: ${STF_IMAGE}
restart: unless-stopped
volumes:
- ./runcli.js:/app/runcli.js
command: node runcli.js storage-plugin-image --port 3000 --storage-url http://${PUBLIC_IP}/
depends_on:
- storage-temp
storage-temp:
build: storage-temp/
restart: unless-stopped
volumes:
- storage-temp:/app/data
- ./runcli.js:/app/runcli.js
command: node runcli.js storage-temp --port 3000 --save-dir /app/data
websocket:
image: ${STF_IMAGE}
restart: unless-stopped
environment:
- SECRET
- RETHINKDB_PORT_28015_TCP
command: >
node runcli.js
websocket
--port 3000
--storage-url "http://${PUBLIC_IP}/"
--connect-sub "tcp://triproxy:7150"
--connect-push "tcp://triproxy:7170"
volumes:
- ./runcli.js:/app/runcli.js
ports:
- 10004:9229
depends_on:
- migrate
- rethinkdb
- storage-temp
- triproxy
- dev-triproxy
api:
image: ${STF_IMAGE}
restart: unless-stopped
environment:
- SECRET
- RETHINKDB_PORT_28015_TCP
command: >
node runcli.js
api
--port 3000
--connect-sub tcp://triproxy:7150
--connect-push tcp://triproxy:7170
--connect-sub-dev tcp://dev-triproxy:7250
--connect-push-dev tcp://dev-triproxy:7270
ports:
- 10001:9229
volumes:
- ./runcli.js:/app/runcli.js
ports:
- 9229:9229
depends_on:
- migrate
- rethinkdb
- triproxy
- dev-triproxy
android-provider1:
image: ${STF_IMAGE}
restart: unless-stopped
command: >
node runcli.js provider --name provider1
--connect-sub tcp://dev-triproxy:7250
--connect-push tcp://dev-triproxy:7270
--storage-url "http://${PUBLIC_IP}/"
--public-ip ${PUBLIC_IP}
--min-port=7400
--max-port=7410
--heartbeat-interval 30000
--adb-host 192.168.33.115
--adb-port 5037
--group-timeout 20000
--allow-remote
--screen-ws-url-pattern "ws://${HOSTNAME}/d/provider1/<%= serial %>/<%= publicPort %>/"
volumes:
- ./runcli.js:/app/runcli.js
ports:
- "7400-7410:7400-7410"
depends_on:
- migrate
- storage-temp
- dev-triproxy
android-provider2:
image: ${STF_IMAGE}
restart: unless-stopped
command: >
node runcli.js provider --name provider2
--connect-sub tcp://dev-triproxy:7250
--connect-push tcp://dev-triproxy:7270
--storage-url "http://${PUBLIC_IP}/"
--public-ip ${PUBLIC_IP}
--min-port=7411
--max-port=7700
--heartbeat-interval 30000
--adb-host 192.168.33.100
--adb-port 5037
--group-timeout 20000
--allow-remote
--screen-ws-url-pattern "ws://${HOSTNAME}/d/provider2/<%= serial %>/<%= publicPort %>/"
volumes:
- ./runcli.js:/app/runcli.js
ports:
- "7411-7700:7411-7700"
depends_on:
- migrate
- storage-temp
- dev-triproxy`
from stf.
.env file
PUBLIC_IP=192.168.63.107
SECRET=secret
RETHINKDB_PORT_28015_TCP=tcp://rethinkdb:28015
HOSTNAME=192.168.63.107
STF_IMAGE=livxtrm/devicefarmer:latest
from stf.
It is ok to use openstf/stf:v3.4.2 to start
from stf.
close it as i am using livxtrm/devicefarmer , it is ok to use devicefarmer/stf:latest
from stf.
Related Issues (20)
- Screen Stream Stops Sending Data on Inactive Browser Tabs After 12-15 Minutes HOT 2
- Error while building docker image: rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2 HOT 2
- When the window connected to STF is minimized, 'Terminated' occurs approximately 5 minutes later. HOT 11
- Still getting could not be assigned a valid UID HOT 5
- How to set up to login by password/SSO? HOT 1
- When deploying docker containers [email protected] HOT 1
- I can't find a way to change 'STF_ADMIN_EMAIL' HOT 5
- Android 15 and Android 14 with latest patch issue HOT 4
- All app minimize on stop controlling HOT 2
- realme device Model RMX3867 Android version 14 HOT 17
- After an exception occurs, stf cannot search for the device, and docker needs to restart stf
- Clarification Needed on Device Status Mapping for Integration with External Systems
- Realme device with android 14 is not able to connect to touch service HOT 1
- Bypass the login page
- Regression errors on bluetooth features ! HOT 1
- REST API documentation consistency improvements HOT 2
- is it possible to connect an android device with different network then the stf server ?
- Google devices - Missing resources/unknown minicap grabber: minicap-bin HOT 13
- Setup had an error PrematureEOFError: Premature end of stream, needed 1 more bytes
- STF clock time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stf.