Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose for Ubuntu #56

Closed
mhaqqiw opened this issue Aug 3, 2020 · 9 comments
Closed

docker-compose for Ubuntu #56

mhaqqiw opened this issue Aug 3, 2020 · 9 comments
Labels
feature_request question Further information is requested

Comments

@mhaqqiw
Copy link

mhaqqiw commented Aug 3, 2020

Is there any docker-compose for this STF?

@issue-label-bot
Copy link

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.

@issue-label-bot issue-label-bot bot added the question Further information is requested label Aug 3, 2020
@koral--
Copy link
Member

koral-- commented Aug 3, 2020

Not yet.

@jay0129
Copy link

jay0129 commented Sep 15, 2020

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

@gounthar
Copy link

gounthar commented Nov 6, 2020

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

@lanrat
Copy link

lanrat commented Nov 30, 2020

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

@koral--
Copy link
Member

koral-- commented Nov 30, 2020

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

@lanrat
Copy link

lanrat commented Dec 13, 2020

This should be fixed in #157.

@koral--
Copy link
Member

koral-- commented Dec 13, 2020

Indeed, thanks @lanrat.

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

@koral-- koral-- closed this as completed Dec 13, 2020
@s2339956
Copy link

s2339956 commented Sep 9, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature_request question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants