dev-1.1.4 #4

Merged
sergey merged 8 commits from dev into main 2025-06-22 11:46:44 +00:00
2 changed files with 9 additions and 7 deletions
Showing only changes of commit e80821e6da - Show all commits

View File

@ -76,6 +76,8 @@ def send_command(connection: ConnectHandler, command: str) -> str:
result: str = connection.send_command(command, read_timeout=30)
except exceptions.NetmikoTimeoutException:
result = "NetmikoTimeoutException"
except exceptions.ReadTimeout:
result = "NetmikoTimeoutException"
return result

View File

@ -1,10 +1,8 @@
version: '3.3'
services:
net-backup:
image: git.sm8255082.ru/osnova/net-backup:1.0.0
restart: always
image: git.sm8255082.ru/osnova/net-backup:1.1.0
restart: "no"
volumes:
- ./logs:/app/logs
- ./config:/app/config
@ -12,7 +10,9 @@ services:
environment:
- TZ=Europe/Moscow
- NET_DEV_USER=admin
- NET_DEV_DOMAIN=local
#- NET_DEV_DOMAIN=local
- NET_DEV_PWD=password
- GIT_USERNAME=git_user
- GIT_TOKEN=bla-bla-lba
#- GIT_USERNAME=git_user
#- GIT_TOKEN=bla-bla-lba
#- MAIL_USER=mail_user
#- MAIL_PWD=bla-bla-lba