Skip to content

Example apps ​

The examples/ directory has apps that do real work, deployed by piway like your own: each has a piway.yaml and a Dockerfile, and is added with its directory:

sh
piway repo add OFK0/piway -path examples/loadlab
AppLanguageWhat it exercisesImageIdle memory
loadlabGoCPU, memory and disk on demand; limits, OOM kills, volumes; a WebSocket stream9.4 MB2 MiB
thumbnailerPythonUploads, a background worker making thumbnails, progress over a WebSocket, expiring files295 MB35 MiB
chatNode.jsRooms over WebSocket, Redis pub/sub and history (run.databases), attachments247 MB36 MiB
notesPHPCRUD on MariaDB, sessions in Redis, attachments, a scheduled cleanup script732 MB13 MiB
feedsRubyScheduled RSS fetching, SQLite on a volume (WAL), new items over SSE, OPML299 MB53 MiB
reportsJavaQueued CSV and PDF reports on a thread pool, MariaDB, progress over SSE, a JVM inside run.memory537 MB112 MiB
eventsClojureEvent ingestion, time-window aggregation with core.async, stats over a WebSocket, state handed over across a deploy503 MB52 MiB
docs-siteStatic (Vite)A Vite build made in a container on deploy, served as files, client-side routes (static.spa)—none

Each app's README has what it does, how it uses piway and what it measured on a Raspberry Pi 4. They share a common contract: /healthz, /api/info, a clean shutdown on SIGTERM and logs on standard output.

Released under the MIT license.