commit fe56800701a9ef73176348851c829bb6a4892cc9 parent a9c7f42d0d3b600e23b169b94dc32ce618ad3420 Author: Chris Bracken <chris@bracken.jp> Date: Tue, 12 Apr 2022 10:42:25 -0700 Update the readme for new options Updates README.md to reflect the use of options rather than environment variables for configuration. Diffstat:
M | README.md | | | 13 | ++++++------- |
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md @@ -10,14 +10,13 @@ Building and running To build and run the binary: go build - export TEMPESTAS_DB=dbname - export TEMPESTAS_USER=dbuser - export TEMPESTAS_PASS=password ./tempestas -By default, the HTTP server will be started on port 8080. To specify a different -port set the `TEMPESTAS_ADDR` environment variable. For example: - - export TEMPESTAS_ADDR=":9090" +Options: + -db the tempestas database name (default: 'tempestas') + -user the database user (default: 'tempestas') + -password the database password (default: '') + -address the host:port on which to host the service (default: ':8080') + -assets the HTTP asset directory (default: '/usr/local/share/tempestas/www') [sc]: https://sensor.community