Commit graph

6 commits

Author SHA1 Message Date
justusbunsi eb3cb301fc
Allow changing the port
This introduces a new application option `--port`/`-p` to switch the
listening port from 3000 (default) to another port.

Docker image can be configured using the corresponding environment
variable `GITEA_SQ_BOT_PORT`.

Helm Chart allows setting `.Values.app.listeningPort`

Resolves: #25

Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
2022-06-17 13:34:06 +02:00
justusbunsi dc3969cd05
Improve configuration file flexibility
Instead of re-inventing the wheel regarding configuration location
handling and validation, this introduces a new command flag `--config`
allowing for full flexibility of configuration filename and location.
This flag can also be defined via environment variable which allows
an easy way of starting the bot from command line, inside a Docker
container or using the Helm Chart.

It makes the custom environment lookup unnecessary and reduces some
complexity during startup and for writing tests.

Resolves: #10

Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
2022-05-22 14:03:23 +02:00
justusbunsi f59a6530b8
Improve Chart definition
Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
2022-05-15 15:31:05 +02:00
justusbunsi 7e32d5c5a0
Bump chart versions
Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
2022-05-14 02:27:54 +02:00
justusbunsi 9175bacefa
Improve Chart release specification
Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
2022-05-13 22:43:38 +02:00
justusbunsi ec781a5a29
Add helm chart
Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
2021-10-11 16:09:13 +02:00