Skip to content

Adds Louez template - #130

Open
loan-talvat wants to merge 1 commit into
lissy93:mainfrom
loan-talvat:add-louez-template
Open

loan-talvat wants to merge 1 commit into
lissy93:mainfrom
loan-talvat:add-louez-template

Conversation

@loan-talvat

Copy link
Copy Markdown

Adds Louez

Louez is an open-source equipment rental platform (AGPL-3.0). Rent out cameras, tools, bikes, party gear or vehicles from a branded storefront with live availability, and manage products, reservations, pickups and returns, customers, PDF contracts and revenue statistics from one dashboard. UI in 8 languages.

  • sources/stacks/louez.yml — three services: the app (synapsr/louez:2.1.0), mysql:8.4, and minio for product images. The app creates its own database schema on first boot, so there is nothing to import.
  • sources/local/productivity_templates.json — one type-3 stack entry, with env prompts for the public URL, the host port and the three passwords.

The storefront is served at the root of the site and the dashboard under /dashboard. Outgoing email is optional: without SMTP credentials the owner signs in with a password and the app skips sending mail.

Checks

  • python lib/validate_sources.py sources/local → all sources valid, no warning on the new entry
  • python lib/validate_sources.py sources/stacksChecked sources/stacks/louez.yml: 0 errors, 0 warnings
  • The same stack was deployed locally end to end before submitting: services healthy, schema installed automatically, account created, product image uploaded through the app into the MinIO bucket and served back byte-identical.

One detail that bites every MinIO-based stack, in case it is useful elsewhere in this repo: the bucket is created by the storage service's start command, which needs an explicit entrypoint: ["/bin/sh", "-c"]. MinIO's own entrypoint prepends minio to whatever arguments it receives, so a plain command: sh -c '…' becomes minio sh -c '…' and the container crash-loops.

Open-source equipment rental platform: booking storefront with live
availability plus a back office for reservations, customers, PDF contracts
and statistics. Stack template deploying the app, MySQL 8.4 and a private
MinIO bucket for product images.
"Self-hosted"
],
"description": "Open-source equipment rental platform. Rent out cameras, tools, bikes, party gear or vehicles from a branded storefront with live availability, and manage products, reservations, pickups and returns, customers, PDF contracts and revenue statistics from one dashboard. The storefront is served at the root of the site, the dashboard under /dashboard, and the app installs its own database schema on first boot. Source: https://github.com/Synapsr/Louez",
"env": [

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you need the STMP variables here too? Even if it's optional, having them defined here means user can actually fill in the form.

Just noticed because there's this in the stack, but no way for user to actually set the values

      - SMTP_HOST=${SMTP_HOST:-}
      - SMTP_PORT=${SMTP_PORT:-587}
      - SMTP_USER=${SMTP_USER:-}
      - SMTP_PASSWORD=${SMTP_PASSWORD:-}
      - SMTP_FROM=${SMTP_FROM:-}

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