RACKSDB-WEB(1)

πŸ“¦ version 0.7.0, in alpine 3.24

πŸ’… racksdb-web(1) β€” the manual page, but make it a group chat ✨

okay so bestie, listen. this is racksdb-web, and if you're here it's because you want the RacksDB web app with its REST API up and running. she's iconic, she's serving data over HTTP, and honestly? she ate. let me walk you through it fr fr πŸŽ€


✨ SYNOPSIS ✨

racksdb-web [OPTIONS]

that's it. that's the whole vibe. you give her some OPTIONS and she goes πŸ¦‹


πŸ’– OPTIONS πŸ’–

no gatekeeping here β€” every single flag, exactly as it is:

  • -h, --help β€” shows this help message, then politely exits. the "hey bestie here's what I do" moment 🫢
  • -v, --version β€” prints the RacksDB version number and dips. iconic behaviour honestly.
  • --debug β€” turns on debug mode, so you get way more messages in the output. it's giving "tell me everything" πŸ”₯ perfect for when you need to know what's actually going on.
  • -b, --db=DB β€” the path to your database. both files and directories are accepted, she's flexible like that ✨ if the path is a directory, every YAML file inside gets loaded, recursively β€” yes, recursive, she goes deep. if the path doesn't exist? error, sorry babe. default value is /var/lib/racksdb/ directory, or the environment variable RACKSDB_DB if that's set.
  • -s, --schema=SCHEMA β€” path to the RacksDB schema YAML file. if the file doesn't exist, it's an error, no cap. default value is /usr/share/racksdb/schemas/racksdb.yml, or the environment variable RACKSDB_SCHEMA if set.
  • -e, --ext=EXT β€” path to the optional RacksDB schema extensions. if the file doesn't exist, it's silently ignored by RacksDB β€” like, she just pretends she didn't see it πŸ™ˆ default value is /etc/racksdb/extensions.yml, or the environment variable RACKSDB_EXTENSIONS if set.
  • --host=HOST β€” the hostname to listen for incoming requests on. set it to 0.0.0.0 to listen on all the host's IP addresses. default value is localhost, which keeps connections restricted to the local host only (cozy, private, lowkey πŸ“).
  • -p, --port=PORT β€” the TCP port to listen for incoming requests on. default value is 5000.
  • --drawings-schema=DRAWINGS_SCHEMA β€” path to the drawing parameters schema YAML file. default value is /usr/share/racksdb/drawings.yml.
  • --cors β€” enables CORS headers. cross-origin besties welcome πŸ’œ
  • --openapi β€” enables the OpenAPI endpoint so you can retrieve the REST API specifications. very "here are my receipts" of her.
  • --with-ui[=PATH] β€” enables the web UI. heads up: the web UI is disabled by default 🫠 when you use the option without a value, the default UI path /usr/share/racksdb/frontend is used. when you give it a path, racksdb-web loads the UI files from that path instead.

🌈 ENVIRONMENT VARIABLES 🌈

when a command-line option from up there is omitted, racksdb-web goes looking at these environment variables instead β€” but only if they're set to a non-empty value, she's picky like that βœ‹

  • RACKSDB_SCHEMA β€” path to the RacksDB schema YAML file.
  • RACKSDB_EXTENSIONS β€” path to optional schema extensions.
  • RACKSDB_DB β€” path to the database.
πŸ’… and the golden rule: command-line options always override environment variables. always. don't argue with her.

⭐ EXIT STATUS ⭐

  • 0 β€” racksdb-web has processed the command with success. slay, she did it πŸ‘‘
  • 1 β€” racksdb-web encountered an error. 😭 it happens to the best of us.

πŸ¦‹ RESOURCES πŸ¦‹

RacksDB web site: https://github.com/rackslab/racksdb β€” go look, iykyk.


🧚 COPYING 🧚

Copyright Β© 2022-2023 Rackslab: https://rackslab.io.

RacksDB is distributed under the terms of the GNU General Public License v3.0 or later (GPLv3+). legal bestie rights, we love to see it 🫢


πŸ’œ AUTHOR πŸ’œ

Rackslab: https://rackslab.io


🌸 okay that's the whole page! this is RacksDB 0.7.0, dated 2026-08-20, and you can find it filed under RACKSDB-WEB(1). go forth and serve that REST API, bestie β€” main character energy only πŸ’…βœ¨πŸŽ€
πŸ“¦ where this page comes from