Coder Social home page Coder Social logo

docker-compose for Ubuntu about stf HOT 9 CLOSED

devicefarmer avatar devicefarmer commented on July 18, 2024
docker-compose for Ubuntu

from stf.

Comments (9)

koral-- avatar koral-- commented on July 18, 2024 2

@jay0129 @lanrat feel free to create a PR adding docker compose.

from stf.

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

Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.71. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

from stf.

lanrat avatar lanrat commented on July 18, 2024 1

This is the standalone STF docker-compose file I use:

version: "3"

services:
  rethinkdb:
    container_name: rethinkdb
    image: rethinkdb:2.3
    restart: unless-stopped
    volumes:
        - "rethinkdb-data:/data"
    command: "rethinkdb --bind all --cache-size 2048"

  adb:
    container_name: adb
    image: sorccu/adb:latest
    restart: unless-stopped
    volumes: 
      - "/dev/bus/usb:/dev/bus/usb"
    privileged: true

  stf:
    container_name: stf
    image: devicefarmer/stf
    ports:
      - "7100:7100"
        #- "7105:7105"
      - "7110:7110"
        #- "7120:7120"
      - "7400-7500:7400-7500"
    environment:
      - TZ='America/Los_Angeles'
      - RETHINKDB_PORT_28015_TCP=tcp://rethinkdb:28015
      - STF_ADMIN_EMAIL=YOUR_EMAIL
      - STF_ADMIN_NAME=YOUR_NAME
    restart: unless-stopped
    command: stf local --adb-host adb --public-ip YOUR_IP --provider-min-port 7400 --provider-max-port 7500

volumes:
  rethinkdb-data: {}

Replace the placeholders in caps and it should work for small setups.

It would be nice if STF could use relative links for everything so that there is no need to pass --public-ip as it should not really matter....

from stf.

lanrat avatar lanrat commented on July 18, 2024 1

This should be fixed in #157.

from stf.

koral-- avatar koral-- commented on July 18, 2024 1

Indeed, thanks @lanrat.

Closing this ticket. If anyone encounters some issue with docker compose config please create a new ticket.

from stf.

koral-- avatar koral-- commented on July 18, 2024

Not yet.

from stf.

jay0129 avatar jay0129 commented on July 18, 2024

@mhaqqiw I found one here:
https://github.com/nikosch86/stf-poc

from stf.

gounthar avatar gounthar commented on July 18, 2024

Is it still valid?
Are there variants for the standalone, App only, and Provider only?
Thanks.

from stf.

s2339956 avatar s2339956 commented on July 18, 2024
      - STF_ADMIN_EMAIL=YOUR_EMAIL
      - STF_ADMIN_NAME=YOUR_NAME
  - STF_ADMIN_EMAIL=YOUR_EMAIL
  - STF_ADMIN_NAME=YOUR_NAME
  
  how to add USER ? or other account ? 

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.