Abstrax

Configuration

Abstrax is controlled primarily through commands and flags. All server-wide configuration lives under /etc/abstrax/ as JSON files.

This section covers:

  • Config file - general settings, MySQL connection config, project state, and directories Abstrax uses.
  • Environment variables - what Abstrax reads from the environment.
  • Permissions - which commands need root and why.

Summary

Item Path Notes
General settings /etc/abstrax/config.json Managed by config commands, mode 0640
MySQL connection config /etc/abstrax/mysql.json Written by mysql install, mysql reset-root-password, or mysql config set, mode 0600
Project state /etc/abstrax/projects/<name>.json One JSON file per project, mode 0640
Config directory /etc/abstrax Created with mode 0750
Runtime state /var/lib/abstrax Plugin records and caches, mode 0750
Log file /var/log/abstrax/abstrax.log Read by abstrax log
Log directory /var/log/abstrax Created with mode 0750

Global CLI behaviour (output format, dry-run, confirmations) is controlled per command through flags, not the config file. See the command reference for the full list.

Behaviour controlled by flags

Instead of a config file, Abstrax uses global flags to control output and safety:

Flag Effect
--json Output structured JSON
--dry-run Preview changes without applying them
--yes Skip confirmation prompts
--quiet Reduce output
--verbose Show the underlying commands being run
--no-color Disable coloured output

These are described in Environment variables and the command reference.