modulepackage
0.0.0-20230713111713-37596975dfcb
Repository: https://github.com/southwinds-io/source.git
Documentation: pkg.go.dev
# README
Source
A lightweight configuration database
Source is a lightweight database designed to store configuration items providing minimal installation and database maintenance.
It uses Sqlite as a backend and allows to:
- store any configuration in json format as an encrypted BLOB
- identify configurations using natural keys of your choice
- validate the configuration using predefined json schemas (no need to create schemas, they are inferred from configuration prototypes)
- optionally attach tags to configuration (tags can have a name only or a name and a value)
- optionally associate configurations via links
Launching the service
# start service in a docker container
docker run \
--name src \
--restart=always \
-d \
-p 8999:8080 \
-e ART_PACKAGE_NAME="app/source" \
-e OX_HTTP_USER="USER-NAME-HERE" \
-e OX_HTTP_PWD="USER-PASSWORD-HERE" \
-e SOURCE_DATA_PATH="volume_0" \
quay.io/artisan/app-run:ubi-minimal
# launch Open API in a browser
python -mwebbrowser http://localhost:8999/api/