Add registry, ingest, timeline, tickets features
This commit is contained in:
13
README.md
13
README.md
@@ -162,3 +162,16 @@ internal/api
|
||||
5. Expose asset/component timeline APIs
|
||||
|
||||
Start with data model correctness, not UI.
|
||||
|
||||
## Local Configuration
|
||||
|
||||
The API loads settings from environment variables and an optional `config.json`.
|
||||
If `CONFIG_FILE` is set, it will load that file. Otherwise it looks for `config.json`
|
||||
in the working directory if present. Environment variables override file values.
|
||||
|
||||
Database configuration can be provided as a full `database_dsn` or as discrete
|
||||
fields under `database` (user/password/host/port/name/params). If `database_dsn`
|
||||
is empty and no `DATABASE_DSN` env var is set, the discrete fields are used
|
||||
to build the DSN.
|
||||
|
||||
An example file is available as `config.example.json`.
|
||||
|
||||
Reference in New Issue
Block a user