Coder Social home page Coder Social logo

Comments (5)

issue-label-bot avatar issue-label-bot commented on July 18, 2024 1

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.

chaooe avatar chaooe commented on July 18, 2024

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.

chaooe avatar chaooe commented on July 18, 2024

.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.

chaooe avatar chaooe commented on July 18, 2024

It is ok to use openstf/stf:v3.4.2 to start

from stf.

chaooe avatar chaooe commented on July 18, 2024

close it as i am using livxtrm/devicefarmer , it is ok to use devicefarmer/stf:latest

from stf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.