From 4abc634443f49fa7c9e851d7b246082e8b1befb1 Mon Sep 17 00:00:00 2001 From: sjat Date: Wed, 12 Aug 2026 10:15:29 +0200 Subject: [PATCH] docs: add laser course service page Course site moving from the home estate (laser.baobab.band) to laser.makerfloss.eu. Marked staging until the VPS deploy is verified. Co-Authored-By: Claude Opus 5 (1M context) --- docs/services/index.md | 1 + docs/services/laser.md | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 docs/services/laser.md diff --git a/docs/services/index.md b/docs/services/index.md index 93a7117..2175f37 100644 --- a/docs/services/index.md +++ b/docs/services/index.md @@ -32,3 +32,4 @@ _Auto-generated from `docs/services/*.md` — do not edit by hand. Run `make doc | Name | URL | Host | Tech | Status | |---|---|---|---|---| | [forgejo](forgejo.md) | [forgejo.makerfloss.eu](https://forgejo.makerfloss.eu) | makerfloss.eu | Go | in-use | +| [laser](laser.md) | [laser.makerfloss.eu](https://laser.makerfloss.eu) | makerfloss.eu | Python (Flask + Gunicorn) | staging | diff --git a/docs/services/laser.md b/docs/services/laser.md new file mode 100644 index 0000000..1f7b127 --- /dev/null +++ b/docs/services/laser.md @@ -0,0 +1,37 @@ +--- +name: laser +kind: web-app +status: staging +host: makerfloss.eu +url: https://laser.makerfloss.eu +upstream: https://forgejo.nyumbani.baobab.band/sjat/AnsibleBaobabV4 +tech: Python (Flask + Gunicorn) +tls: letsencrypt +--- + +## Notes + +Course site for the laser cutting intro course ("Introkursus til lille laser"), +in Danish. Serves the course materials (slides, plancher, worked examples) for +download and takes participant file uploads during the course. + +Behind Traefik basicAuth — the credentials are handed out in class. Uploads are +restricted to laser-relevant formats (SVG, DXF, PDF, common raster, archives), +capped at 20 MB, and stored as `__` under +`/srv/laser_course/uploads`. + +Deployed from the `baobab.laser-course` role in AnsibleBaobabV4 (the app source +and the course materials both live in that role): + +```bash +ansible-playbook play_containers.yml --limit makerfloss -t laser-course +``` + +Two things worth knowing before a course: + +- **Uploads are not backed up.** `backup_enabled` is false on this VPS, and + `laser_course_clean_uploads_on_deploy` is set to false here so that an + unrelated deploy does not delete them. Collect anything worth keeping and + clear the directory by hand between courses. +- The site moved here from `laser.baobab.band` on the home estate in August + 2026; `laser.makerfloss.eu` is the canonical address.