diff --git a/barker/pyproject.toml b/barker/pyproject.toml index 77335b6..3da8ccb 100644 --- a/barker/pyproject.toml +++ b/barker/pyproject.toml @@ -6,29 +6,29 @@ authors = ["tanshu "] [tool.poetry.dependencies] python = "^3.8" -uvicorn = {extras = ["standard"], version = "^0.15.0"} -fastapi = "^0.70.0" +uvicorn = {extras = ["standard"], version = "^0.17.6"} +fastapi = "^0.75.1" python-jose = {extras = ["cryptography"], version = "^3.3.0"} passlib = {extras = ["bcrypt"], version = "^1.7.4"} -psycopg2-binary = "^2.9.1" -SQLAlchemy = "^1.4.26" +psycopg2-binary = "^2.9.3" +SQLAlchemy = "^1.4.34" python-multipart = "^0.0.5" PyJWT = "^2.3.0" -alembic = "^1.7.4" -itsdangerous = "^2.0.1" -python-dotenv = "^0.19.1" -pydantic = {extras = ["dotenv"], version = "^1.8.2"} -starlette = "^0.16.0" +alembic = "^1.7.7" +itsdangerous = "^2.1.2" +python-dotenv = "^0.19.2" +pydantic = {extras = ["dotenv"], version = "^1.9.0"} +starlette = "^0.17.1" arq = "^0.22" -aiohttp = "^3.7.4" -cryptography = "^35.0.0" +aiohttp = "^3.8.1" +cryptography = "^36.0.2" [tool.poetry.dev-dependencies] flake8 = "^4.0.1" -black = "^21.9b0" -isort = {extras = ["toml"], version = "^5.9.3"} -pre-commit = "^2.15.0" -mypy = "^0.910" +black = "^22.3.0" +isort = {extras = ["toml"], version = "^5.10.1"} +pre-commit = "^2.17.0" +mypy = "^0.942" [build-system] requires = ["poetry-core>=1.0.0"] diff --git a/bookie/package.json b/bookie/package.json index b4eb772..b91ce31 100644 --- a/bookie/package.json +++ b/bookie/package.json @@ -14,40 +14,40 @@ }, "private": true, "dependencies": { - "@angular/animations": "^13.1.1", - "@angular/cdk": "^13.1.1", - "@angular/common": "^13.1.1", - "@angular/compiler": "^13.1.1", - "@angular/core": "^13.1.1", - "@angular/flex-layout": "^13.0.0-beta.36", - "@angular/forms": "^13.1.1", - "@angular/material": "^13.1.1", - "@angular/material-moment-adapter": "^13.1.1", - "@angular/platform-browser": "^13.1.1", - "@angular/platform-browser-dynamic": "^13.1.1", - "@angular/router": "^13.1.1", - "mathjs": "^10.0.1", + "@angular/animations": "^13.3.1", + "@angular/cdk": "^13.3.2", + "@angular/common": "^13.3.1", + "@angular/compiler": "^13.3.1", + "@angular/core": "^13.3.1", + "@angular/flex-layout": "^13.0.0-beta.38", + "@angular/forms": "^13.3.1", + "@angular/material": "^13.3.2", + "@angular/material-moment-adapter": "^13.3.2", + "@angular/platform-browser": "^13.3.1", + "@angular/platform-browser-dynamic": "^13.3.1", + "@angular/router": "^13.3.1", + "mathjs": "^10.4.2", "moment": "^2.29.1", "rxjs": "^6.6.7", "tslib": "^2.2.0", "zone.js": "~0.11.4" }, "devDependencies": { - "@angular-devkit/build-angular": "~13.1.2", - "@angular-eslint/builder": "^13.0.1", - "@angular-eslint/eslint-plugin": "^13.0.1", - "@angular-eslint/eslint-plugin-template": "^13.0.1", - "@angular-eslint/schematics": "^13.0.1", - "@angular-eslint/template-parser": "^13.0.1", - "@angular/cli": "^13.1.2", - "@angular/compiler-cli": "^13.1.1", - "@angular/language-service": "^13.1.1", + "@angular-devkit/build-angular": "~13.3.1", + "@angular-eslint/builder": "^13.1.0", + "@angular-eslint/eslint-plugin": "^13.1.0", + "@angular-eslint/eslint-plugin-template": "^13.1.0", + "@angular-eslint/schematics": "^13.1.0", + "@angular-eslint/template-parser": "^13.1.0", + "@angular/cli": "^13.3.1", + "@angular/compiler-cli": "^13.3.1", + "@angular/language-service": "^13.3.1", "@types/jasmine": "~3.7.4", - "@types/node": "^16.11.6", - "@typescript-eslint/eslint-plugin": "5.8.1", - "@typescript-eslint/parser": "5.8.1", - "eslint": "^8.2.0", - "eslint-plugin-import": "2.25.3", + "@types/node": "^17.0.23", + "@typescript-eslint/eslint-plugin": "5.17.0", + "@typescript-eslint/parser": "5.17.0", + "eslint": "^8.12.0", + "eslint-plugin-import": "2.25.4", "husky": "^7.0.4", "jasmine-core": "^3.7.1", "jasmine-spec-reporter": "^7.0.0", @@ -56,8 +56,8 @@ "karma-coverage-istanbul-reporter": "~3.0.2", "karma-jasmine": "^4.0.0", "karma-jasmine-html-reporter": "^1.6.0", - "lint-staged": "^12.1.4", - "prettier": "^2.5.1", + "lint-staged": "^12.3.7", + "prettier": "^2.6.1", "standard-version": "^9.3.2", "ts-node": "^9.1.1", "typescript": "~4.5.4" diff --git a/docker/files/beacon-redis-tunnel.service b/docker/files/beacon-redis-tunnel.service new file mode 100644 index 0000000..90d3402 --- /dev/null +++ b/docker/files/beacon-redis-tunnel.service @@ -0,0 +1,15 @@ +[Unit] +Description=Keep ssh tunnel to specified remote host open +After=network.target + +[Service] +User=pi + +ExecStart=/usr/bin/ssh -NT -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -o ServerAliveCountMax=3 -o StrictHostKeyChecking=no -i /home/pi/.ssh/id_rsa -L 6379:localhost:6379 tanshu@knox.tanshu.com + +# Restart every >2 seconds to avoid StartLimitInterval failure +RestartSec=5 +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/docker/files/leardal.service b/docker/files/leardal.service new file mode 100644 index 0000000..ef67dbe --- /dev/null +++ b/docker/files/leardal.service @@ -0,0 +1,16 @@ +[Unit] +Description=Reverse SSH connection +After=network.target + +[Service] +Type=simple +User=pi + +ExecStart=/usr/bin/ssh -NTg -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -o ServerAliveCountMax=3 -o StrictHostKeyChecking=no -i /home/pi/.ssh/id_rsa -R {{ ssh_port }}:localhost:22 tanshu@knox.tanshu.com + +# Restart every >2 seconds to avoid StartLimitInterval failure +Restart=always +RestartSec=5s + +[Install] +WantedBy=default.target diff --git a/frank/pyproject.toml b/frank/pyproject.toml index 0689deb..89c29c0 100644 --- a/frank/pyproject.toml +++ b/frank/pyproject.toml @@ -6,9 +6,9 @@ authors = ["tanshu "] [tool.poetry.dependencies] python = "^3.8" -pydantic = {extras = ["dotenv"], version = "^1.8.2"} -arq = "^0.20" -aiohttp = "^3.7.4" +pydantic = {extras = ["dotenv"], version = "^1.9.0"} +arq = "^0.22" +aiohttp = "^3.8.1" aioredis = "^1.3.1" [build-system]