Martijn van Oosterhout
b00be631a4
Pass JAVA_OPTS through to signal-cli in json-rpc mode
2024-02-14 14:30:56 +01:00
Bernhard B
f3f67ce204
fixed bug in entrypoint.sh
...
* use "hostname -I" instead of "hostname -i", as no DNS resolution is
required
* "hostname -I" might return multiple IPs (as space delimited string).
Use the first one ("best effort") per default. In case a different IP
should be used for the swagger UI API resource, the "SWAGGER_IP" env
variable must be set in the docker-compose.yml.
see #230
2022-03-14 18:59:20 +01:00
Bernhard B
f411b558a8
made swagger ip configurable
...
* the swagger ip used in the interactive examples is now configurable.
see #225
2022-03-04 21:18:36 +01:00
Bernhard B
6ce236a908
made UID/GID of configureable with env variables
...
see #216
2022-02-19 11:33:18 +01:00
Bernhard B
b20fb09653
fixed syntax error in bash script
2021-09-12 18:10:04 +02:00
Bernhard B
2a0347eea2
added more sanity checks + restructured code a bit
2021-09-11 23:03:01 +02:00
Bernhard B
ae857c7a69
started working on JSON-RPC integration
...
* still WIP
2021-09-11 22:28:55 +02:00
Bernhard B
b3c29c1581
reworked entrypoint script
...
* made it easier for the Home Assistant addon
to specify the signal-cli config location.
2021-02-27 18:41:59 +01:00
Bernhard B
f0f03b3178
add info message to specify "--config" when using signal-cli directly
2021-01-18 16:37:15 +01:00
Bernhard B
a63a80d464
fix "setpriv: libcap-ng is too old for 'all' caps" error
...
query available capabilities instead of using "all" caps, as
this fails with kernel 5.9.0
see #46
2021-01-08 19:12:32 +01:00
Bernhard B
ce6107f6d7
Revert "Revert "Merge commit 'refs/pull/41/head' of https://github.com/bbernhard/signal-cli-rest-api ""
...
This reverts commit 5ef870fa0c .
2020-12-25 12:52:52 +01:00
Bernhard B
5ef870fa0c
Revert "Merge commit 'refs/pull/41/head' of https://github.com/bbernhard/signal-cli-rest-api "
...
This reverts commit 21764cefa4 , reversing
changes made to 5c33d81817 .
2020-12-25 11:05:09 +01:00
FL42
cce3f47722
refactor: use setpriv instead of su
2020-11-27 23:31:48 +01:00
FL42
8d3e11941e
fix: propagate args
2020-11-27 22:32:53 +01:00
FL42
48448cdca1
feat: show warning when exec in container
2020-11-27 22:29:59 +01:00
FL42
eb94d04c79
fix: run api as signal-api user, fix permissions on startup
2020-11-22 14:16:06 +01:00