Replies: 7 comments 1 reply
-
this was posted in another issue: I was starting the image from docker (see attached pic), but for a change I used the command found on the ispyconnect web site and now I can log into the agentdvr. docker run -it -p 8090:8090 -p 3478:3478/udp -p 50000-50010:50000-50010/udp --name agentdvr doitandbedone/ispyagentdvr:latest |
Beta Was this translation helpful? Give feedback.
-
Is there a reason that launching there are issues when using compose?
…On Tue., Dec. 21, 2021, 6:16 p.m. sean tearney, ***@***.***> wrote:
this was posted in another issue:
I was starting the image from docker (see attached pic), but for a change
I used the command found on the ispyconnect web site and now I can log into
the agentdvr.
docker run -it -p 8090:8090 -p 3478:3478/udp -p
50000-50010:50000-50010/udp --name agentdvr
doitandbedone/ispyagentdvr:latest
—
Reply to this email directly, view it on GitHub
<#357 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA4EKQUZ6FEZBPB6LZQF5MDUSEDFTANCNFSM5KQUXYRQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
i dunno - i didn't write this docker, maybe @doitandbedone could give you a better answer, I did write the instructions on the download page though: |
Beta Was this translation helpful? Give feedback.
-
@doitandbedone is there a reason that I would be having issues launching in compose mode? Like I get to |
Beta Was this translation helpful? Give feedback.
-
I noticed you listed the wrong port type:
|
Beta Was this translation helpful? Give feedback.
-
Spent about 6 hours on this. It's working Notes:
version: '3'
networks:
proxy:
name: proxy
external: true
services:
ispy:
image: doitandbedone/ispyagentdvr:latest
volumes:
- $PWD/config/:/agent/Media/XML/
- $PWD/media/:/agent/Media/WebServerRoot/Media/
- $PWD/commands/:/agent/Commands/
ports:
# - 8090:8090
# - 50000-50010:50000-50010/udp
- 3478:3478/udp # без этого бесконечная загрузка Agent страницы. Как же сука сложно было догадаться
networks:
- proxy
environment:
- TZ=Europe/Moscow
tty: true # включает более детальный лог в консоли. Лол
restart: unless-stopped
labels:
- traefik.enable=true
- traefik.http.routers.ispy_route.rule=Host(`ispy.domain.com`)
- traefik.http.routers.ispy_route.entrypoints=web # никак не смог заставить работать с web-secure. Либо 502, либо 406
# - traefik.http.routers.ispy_route.tls=true
# - traefik.http.routers.ispy_route.tls.certresolver=mytlschallenge"
- traefik.http.routers.ispy_route.service=ispy_service
# - traefik.http.services.ispy_service.loadbalancer.server.scheme=https
- traefik.http.services.ispy_service.loadbalancer.server.port=8090
- traefik.http.routers.ispy_route.middlewares=auth
- "traefik.http.middlewares.auth.basicauth.users=login:$$2a$05$$9kZMQL0neCA2TogroG8WbO3yObDtHbo6BRwflTnGtQy6vKJCvMDWe" # 123456
deepstack:
image: deepquestai/deepstack:latest
volumes:
- $PWD/deepstack:/datastore
environment:
- VISION-FACE=True
- VISION-DETECTION=True
- MODE=Medium # Low, Medium, High
# ports:
# - 8896:5000
networks:
- proxy
labels:
- traefik.enable=true
- traefik.http.routers.dstack.rule=Host(`deepstack.domain.com`)
- traefik.http.routers.dstack.entrypoints=web-secure
- traefik.http.routers.dstack.tls.certresolver=mytlschallenge
Press ❤️ to pay respects :) |
Beta Was this translation helpful? Give feedback.
-
@AMD-NICK Seems the issue is with the added layer of Traefik. I've configured mine for other services and tends to get complicated. This is unfortunately not under the scope of the image or ispy. Seems there's already a discussion here: #307 |
Beta Was this translation helpful? Give feedback.
-
Affected Version
Found at top left "Server Menu" with a server/stack icon. A pop up will be opened, should be in bold letters to the right of your server name. [e.g. v3.0.0.0]
I'm unable to login. I'm using docker image doitandbedone/ispyagentdvr:latest within Docker Swarm.
Describe the bug
A clear and concise description of what the bug is.
When accessing http://localhost:8090 I see the spinning wheel and then a failure connecting to agent and am presented with the option to retry.
Steps To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
A clear and concise description of what you expected to happen.
Reproduction rate
How often does this happen in % [e.g. 100% or 50%]
100%
Screenshots
If applicable, add screenshots to help explain your problem.
image
Host System Information (where ispy agent is running/hosted):
OS: [e.g. macOS Catalina 10.15.7, Windows 10, Ubuntu 20.04.1 LTS]
Docker Swarm
Client System Information (device accessing the web portal, if applicable):
OS: [e.g. macOS Catalina 10.15.7, iOS 8.1, Windows 10, Android 10, Ubuntu 20.04.1 LTS]
Browser [e.g. stock browser, safari, chrome]
Browser Version [e.g. 86.0.4240.111 (Official Build) (x86_64)]
Additional Information
Add any other information about the problem here. This could include configuration files, video/images that may be causing the issue.
DOCKER COMPOSE
ispy:
image: doitandbedone/ispyagentdvr:latest
container_name: ispy
environment:
PUID: $PUID
PGID: $PGID
TZ: $TZ
volumes:
- $DOCKERDIR/appdata/ispy/config:/agent/Media/XML/
- /mnt/NAS/ispy:/agent/Media/WebServerRoot/Media/
- $DOCKERDIR/appdata/ispy/commands:/agent/Commands/
networks:
- t2_proxy
ports:
- 8090:8090/tcp
- 3478:3478/tcp
- 50000-50010:50000-50010/udp
restart: unless-stopped
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.ispy-rtr.entrypoints=https"
- "traefik.http.routers.ispy-rtr.rule=Host(
ispy.$DOMAINNAME0
)"## Middlewares
- "traefik.http.routers.ispy-rtr.middlewares=chain-oauth@file"
- "traefik.http.routers.ispy-rtr.service=ispy-svc"
## HTTP Services
- "traefik.http.services.ispy-svc.loadbalancer.server.port=8090"
- "traefik.http.services.ispy-svc.loadbalancer.server.port=3478"
Beta Was this translation helpful? Give feedback.
All reactions