Help packaging openscad-web-gui
-
I am dabbling with 3D printing
Openscad is a very capable programatic approach which appeals to me (vs. visual design).
I have Openscad installed locally but as I work on multiple devices, I want to have a single environment self-hosted on Cloudron.This is the source repo : https://github.com/seasick/openscad-web-gui
Here is my attempt to package for Cloudron :
https://git.cloudron.io/timconsidine/cloudron-openscadThe app builds as a Dockerfile and installs on Cloudron, BUT it fails the healthcheck.
I have been playing with ports 3000, 8000 and 8888 (from inspecting the source repo).
But none work on a healthCheck of/
or/healthcheck
.I have now hit a mental block.
If anyone is kind and interested enough, any suggestions would be most welcome and appreciated.
-
Just doing a local build of your repo (outside of Cloudron) and modifying your start.sh so that output is done to the container, it reports as running on port 8000 (on localhost, but also globally).
/healtcheck
does not seem to exist (gives a 404), but/
gives a 200 for me. On the browser however it just loads endlessly.Looking at the devtools on Chrome it tries to load a service worker (
worker.js
) which only gives a 404, but would anyways need https to function properly.