Skip to content

Commit

Permalink
Automatically restart onvif proxy if it dies
Browse files Browse the repository at this point in the history
If a client connection exits unexpectedly (ECONNRESET), the ONVIF proxy
dies. This seems like a bug with `node-http-proxy`. As a quick
workaround, let's just restart the proxy server from `docker-compose`.

http-party/node-http-proxy#579
  • Loading branch information
cjlarose committed Apr 6, 2020
1 parent 8f9fef2 commit c3f1994
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ services:
build:
context: onvif
dockerfile: Dockerfile
restart: always
ports:
- "8080:8080"
environment:
Expand Down

0 comments on commit c3f1994

Please sign in to comment.