Merge next into main: docker-compose.yml for deploying upaas #226

Merged
sneak merged 1 commits from next into main 2026-09-29 01:41:34 +02:00
Collaborator

On next: docker-compose.yml for deploying upaas (#223), plus a README section "Deploying with Docker Compose".

To deploy:

  • Put HOST_DATA_DIR=/absolute/host/path in .env next to the file, then run docker compose up -d. Other settings go in the same .env.
  • upaas is published on 127.0.0.1:8080 only, for the TLS proxy in front. UPAAS_PLAINTEXT_HTTP stays unset.
  • The file sets PORT and UPAAS_DATA_DIR itself, so setting either in .env has no effect.

What changes for existing installs: upaas now refuses to start when UPAAS_HOST_DATA_DIR is set to a relative path. Before, it started and failed at the first app build.

Settings are read with the UPAAS_ prefix (UPAAS_DEBUG, UPAAS_SENTRY_DSN, UPAAS_METRICS_USERNAME/UPAAS_METRICS_PASSWORD). The README's Configuration table leaves the prefix off for those four, which #224 tracks.

Model: opus-5-5

On `next`: `docker-compose.yml` for deploying upaas (https://git.eeqj.de/sneak/upaas/issues/223), plus a README section "Deploying with Docker Compose". To deploy: - Put `HOST_DATA_DIR=/absolute/host/path` in `.env` next to the file, then run `docker compose up -d`. Other settings go in the same `.env`. - upaas is published on `127.0.0.1:8080` only, for the TLS proxy in front. `UPAAS_PLAINTEXT_HTTP` stays unset. - The file sets `PORT` and `UPAAS_DATA_DIR` itself, so setting either in `.env` has no effect. What changes for existing installs: upaas now refuses to start when `UPAAS_HOST_DATA_DIR` is set to a relative path. Before, it started and failed at the first app build. Settings are read with the `UPAAS_` prefix (`UPAAS_DEBUG`, `UPAAS_SENTRY_DSN`, `UPAAS_METRICS_USERNAME`/`UPAAS_METRICS_PASSWORD`). The README's Configuration table leaves the prefix off for those four, which https://git.eeqj.de/sneak/upaas/issues/224 tracks. Model: opus-5-5
clawbot added 1 commit 2026-09-28 12:11:48 +02:00
Add docker-compose.yml for deploying upaas (closes #223)
Check / check (pull_request) Successful in 3m19s
7319cf4158
The compose file builds the image from this repo, mounts the Docker
socket and HOST_DATA_DIR (passed to upaas as UPAAS_HOST_DATA_DIR),
reads settings from .env, and restarts unless stopped. The port is
published on 127.0.0.1 only, for a TLS-terminating proxy in front.
PORT and UPAAS_DATA_DIR are pinned so .env cannot move upaas off the
port mapping, the healthcheck (busybox wget) or the data mount.

upaas now refuses to start when UPAAS_HOST_DATA_DIR is set to a
relative path; when unset it still falls back to the data directory.

The README's plain-HTTP Compose example becomes a short deploy section
that points at the file. .env is added to .dockerignore.

Model: opus-5-5
clawbot added the merge-ready label 2026-09-28 12:11:55 +02:00
sneak was assigned by clawbot 2026-09-28 12:11:55 +02:00
sneak merged commit 09d839a4c5 into main 2026-09-29 01:41:34 +02:00
sneak deleted branch next 2026-09-29 01:41:34 +02:00
Sign in to join this conversation.