Jobber: Fix paths.

This commit is contained in:
Dmitry Voronin 2024-12-15 21:38:16 +03:00
parent d8b98c38ca
commit 18d9462fa9
2 changed files with 9 additions and 2 deletions

View file

@ -25,6 +25,13 @@ in {
hostAddress = "188.242.247.132"; hostAddress = "188.242.247.132";
localAddress = "10.1.0.2"; localAddress = "10.1.0.2";
bindMounts = {
"/data" = {
hostPath = "/storage/hot/data/jobber";
isReadOnly = true;
};
};
config = { ... }: let config = { ... }: let
packages = [ packages = [
script script

View file

@ -29,8 +29,8 @@ URL_SCHEME = "https://"
URL = "portal.fsight.ru/" URL = "portal.fsight.ru/"
# DRIVER = "/data/geckodriver" # DRIVER = "/data/geckodriver"
DRIVER = "geckodriver" DRIVER = "geckodriver"
USERS = "/storage/hot/data/jobber/users.txt" USERS = "/data/users.txt"
OVPN = "/storage/hot/data/jobber/fsight.ovpn" OVPN = "/data/fsight.ovpn"
BUTTON = "//*[contains(@id, '_InOutButton')]" BUTTON = "//*[contains(@id, '_InOutButton')]"
TEXT_HERE = "Пришёл" TEXT_HERE = "Пришёл"
TEXT_GONE = "Ушёл" TEXT_GONE = "Ушёл"