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

STF clock time #789

Open
FRodero opened this issue Jun 10, 2024 · 0 comments
Open

STF clock time #789

FRodero opened this issue Jun 10, 2024 · 0 comments

Comments

@FRodero
Copy link

FRodero commented Jun 10, 2024

What is the issue or idea you have?
I need to update the time inside STF. I have got right time inside de container with docker-compose but STF go on with wrong date.

Please provide the steps to reproduce the issue.

What is the expected behavior?
Have the same date as container has fixed. Europe/Madrid time.
Do you see errors or warnings in the stf local output? If so, please paste them or the full log here.
container:
"root@27a2f38b35e3:/app# date
Mon Jun 10 13:12:20 CEST 2024"
STF: "stf-local | 2024-06-10T11:12:09.254Z IMP/device:plugins:group 192 [RZCTB0TRLKD] No longer owned by "[email protected]""

version: "3"

services:
rethinkdb:
container_name: rethinkdb
image: rethinkdb:2.3
restart: always
environment:
- TZ=Europe/Madrid
volumes:
- "/home/stf/stf-docker/rethinkdb:/home/stf/stf-docker/data"
- "/etc/localtime:/etc/localtime:ro"
- "/etc/timezone:/etc/timezone:ro"
command: "rethinkdb --bind all --cache-size 2048"

adbd:
container_name: adbd
image: devicefarmer/adb:latest
restart: always
environment:
- TZ=Europe/Madrid
volumes:
- "/dev/bus/usb:/dev/bus/usb"
- "/etc/localtime:/etc/localtime:ro"
- "/etc/timezone:/etc/timezone:ro"
privileged: true

stf-local:
container_name: stf-local
image: devicefarmer/stf
ports:
- "7100:7100"
- "7110:7110"
- "7400-7500:7400-7500"
environment:
- TZ=Europe/Madrid
- RETHINKDB_PORT_28015_TCP=tcp://rethinkdb:28015
restart: always
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "/etc/timezone:/etc/timezone:ro"
- "/home/stf/stf-docker/dist:/app/node_modules/stf-device-db/dist"
command: stf local --public-ip 192.168.85.86 --allow-remote --no-cleanup --adb-host adbd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant