r/ForgeYourProject • u/IncomeOk7237 • 15h ago
WIP My V web app template now runs with one docker command, since the server itself only works on Linux
Small update on full-stack-viltrum-template, the little teaching app for my V web framework viltrum (inspired by FastAPI's full-stack template, not a port).
Viltrum's engine is epoll, so actually serving the app needs Linux. Kind of annoying if you're on Windows or macOS and just want to click around. So now it's one line:
docker run --rm -p 8080:8080 ghcr.io/tuntii/full-stack-viltrum-templateopen localhost:8080, log in with [email protected] / changethis.
It's a two stage Dockerfile. V 0.5.2 + Viltrum 2.0.3 build the app and run the tests, then a slim Debian image runs it as nobody. CI builds the image and smoke tests the container.
Other thing from the same day: V master removed the old json module ("use json2 instead"), so the template stopped building on master. Switched request body decoding to x.json2 and tests pass on both 0.5.2 and master. The landing and dashboard are also the same ones running on v.rustapi.cloud now, plus a /blog/.
Repo: https://github.com/Tuntii/full-stack-viltrum-template
Question for anyone shipping a dev tool that only runs on one OS: did a docker image actually get people to try it, or do they bounce anyway?



