Skip to content

Containerize#3

Open
pksublime wants to merge 2 commits intothomastech:mainfrom
pksublime:containerize
Open

Containerize#3
pksublime wants to merge 2 commits intothomastech:mainfrom
pksublime:containerize

Conversation

@pksublime
Copy link

I didn't want to run separate hardware for the proxy and dashboard, so I set it up to run inside Docker.

This PR adds the necessary files and some basic documentation covering the addition.

During testing I ran into timeout issues and tried 30s instead of 8s and that resolved my issues.

Add Dockerfile, docker-compose.yml, .dockerignore, and DOCKER_README.md
to enable running the proxy and dashboard in a container. Uses gunicorn
as the WSGI server with the dashboard served on port 8080 by default
(avoids macOS AirPlay Receiver conflict on port 5000).

Tested on Docker Desktop for macOS with new firmware authentication.

Signed-off-by: Patrick Little <222995+pksublime@users.noreply.github.com>
The dl_cgi API on PVS gateways can take 10-15 seconds to respond,
especially under load or when accessed through network layers like
Docker or reverse proxies. The previous 8-second timeout caused
intermittent HTTP 500 errors with "Read timed out" messages.

Signed-off-by: Patrick Little <222995+pksublime@users.noreply.github.com>
@thomastech
Copy link
Owner

thomastech commented Feb 7, 2026

Thanks for the PR. The project runs the web monitor using venv. I have it installed on the same system with several other unrelated apps running in docker containers.

So venv and docker can co-exist on the same system. It is unexpected you had to modify the project to run in a docker container. Perhaps a quirk of your Linux distro?

I have to think about your PR. I prefer a basic venv solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants