le-hoetel

Infrastructure

Where le-hoetel runs, the self-hosted plan for the pilot, and the risks to settle first.

Placeholder

This is the plan, not what runs today. The first step is a read-only inventory of the self-hosted server ("The Keep"), and the tables below are filled in after it. Nothing is wired until the plan is approved.

Environments

EnvironmentHow it is deployedNotes
PreviewOne per PROwn database and storage prefix, log-only providers, deleted when the PR closes, with resource limits
StagingAutomatically from mainLog-only providers
ProductionOn a releaseMigrations run safely first. Healthchecks, a rollback path and a short deploy note

Previews, tests, local and staging never send real messages.

Planned use of the self-hosted server

NeedPlanned toolStatus
Deploy apps and previewsDokployTo confirm after the inventory
Background jobsThe built-in jobs on Postgres, or Trigger.devTo decide, with the reason recorded
Logs and tracesOpenObserve through the logger, with request IDsTo confirm
ErrorsGlitchTipTo confirm
Anonymous visitsUmami on public pages only, no cookies, no personal dataTo confirm
TranslationsLanguineTo confirm
StorageS3 compatible, one bucket and a prefix per hotelSee the decision
DatabasePostgresTo confirm
Build cacheA Turborepo remote cache, with the GitHub Actions cache as fallbackTo confirm

Inventory to fill in

ItemValue
Running containers
Dokploy projects
Databases
Object storage
Reverse proxy and exposed ports
Disk and memory
Backups

Risks to settle

  • Guest data on a self-hosted server and a home connection.
  • Power and internet cuts.
  • Backups: propose off-site backups for the pilot.
  • Previews eating resources when many PRs are open.
  • A small VPS for paying hotels would change the uptime and the hosting story.
  • Hosting guest data abroad may need a legal check, see data and consent rules.

The choice between the self-hosted server and a small VPS for the pilot is an open decision.

Deploying the apps

How to build and run the apps is in deploy. The keys are in environment.

On this page