Bernhard B
f5d3880c49
added health check endpoint + fixed logging
...
* set go-gin to release mode
* added health check endpoint
* excluded endpoint from logger
see #63
2021-01-16 20:14:15 +01:00
Bernhard B
0ae4a5b0af
use port from env variable for healthcheck in case another port is set
2021-01-16 19:17:37 +01:00
Bernhard B
33f10161ad
Merge pull request #57 from x-jokay/feature/add-health-check
...
Add healthcheck
2021-01-16 19:04:11 +01:00
D. Domig
d521be7ac6
Switch runtime to JRE
2021-01-16 18:06:08 +01:00
D. Domig
f5c5358b84
Add healthcheck
2021-01-16 17:25:47 +01:00
Bernhard B
87e917486e
improved Dockerfile
...
* added check to verify that we are linking against the correct
libzkgroup.so file.
2021-01-15 21:21:47 +01:00
Bernhard B
0b5defb8e5
updated Dockerfile
2021-01-15 20:45:32 +01:00
Bernhard B
c5dfed4a0b
improved Dockerfile
2021-01-15 15:07:22 +01:00
Bernhard B
2d10152212
fixed ARM build
2021-01-13 23:44:22 +01:00
Bernhard B
85e3afe125
bumped signal-cli to version 0.7.2
2021-01-13 19:30:10 +01:00
Bernhard B
c554319d74
fixed zkgroup build for ARM
2021-01-03 19:38:21 +01:00
Bernhard B
8bef9fca9d
Merge branch 'master' into zkgroup
2021-01-03 14:41:59 +01:00
Bernhard B
313e87c102
add --no-log-init flag when creating a user with useradd
...
* there seems to be a bug in the Go archiver which could lead to disk
exhaustion under certain circumstances. This flag will be added to be
on the safe side. see https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#user
for details.
2020-12-25 17:04:52 +01:00
Bernhard B
dc3d15eadc
add missing setpriv to Dockerfile
2020-12-25 12:58: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
37c91b9fa5
temporarily revert to signal-cli 0.6.12 version
...
* with signal-cli version 0.7 groups v2 were introduced, which
require some bigger changes in the Dockerfile (zkgroup support)
2020-12-25 12:38:50 +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
Bernhard B
21764cefa4
Merge commit 'refs/pull/41/head' of https://github.com/bbernhard/signal-cli-rest-api
2020-12-25 10:33:26 +01:00
Bernhard B
8723668db3
build zkgroup in Dockerfile
...
* starting with signal-cli version 0.7.0 zkgroup is now required
2020-12-25 10:26:45 +01:00
Bernhard B
5c33d81817
updated signal-cli to version 0.7.0
2020-12-20 13:25:01 +01:00
Bernhard B
430df9749c
updated signal-cli to version 0.6.12
2020-12-13 19:23:12 +01:00
FL42
486f47995f
refactor: use one RUN statement
2020-11-27 22:29:45 +01:00
Mark Adkins
57665c4ec4
JRE Dependency Fix + Port Configuration
2020-11-22 17:53:04 -05:00
FL42
eb94d04c79
fix: run api as signal-api user, fix permissions on startup
2020-11-22 14:16:06 +01:00
Bernhard B
136fa62698
Revert "use non-root user in docker image"
...
This reverts commit 9b4ee24a0e .
Unfortunately, this change breaks backwards compatibility.
(Due to permission issues, existing bind mounts wouldn't work anymore
and users would need to manually adapt permissions in order to get it
working again). Will revert this change for now, until a backwards
compatible solution is found
2020-10-18 21:33:52 +02:00
Bernhard B
3881ada059
updated signal-cli to version 0.6.11
2020-10-18 20:34:31 +02:00
Bernhard B
9b4ee24a0e
use non-root user in docker image
...
see #31
2020-10-08 21:14:06 +02:00
Benjamin Schmid
c00480696d
build(Docker): switch to adoptopenjdk to support armv7
2020-08-16 11:49:46 +02:00
Benjamin Schmid
a6e8cce641
build(Docker image): switch to JRE and Debian buster variant
...
This should avoid potential issues in ARM environemnts with
musl/alpine linux.
2020-08-14 10:46:36 +02:00
Benjamin Schmid
b0b3dc761b
build(Dockerfile): reduce image size from 2G GB to ~0.4GB
...
This uses mulit-stage build to separate the build phase from
the distribution image and signigicantly reduces images size.
You can find more information on Docker multistage builds here:
https://docs.docker.com/develop/develop-images/multistage-build/
2020-08-13 20:36:42 +02:00
Bernhard B
e1c2853494
added swagger documentation
2020-07-03 17:32:52 +02:00
Bernhard B
65385d300e
added go.mod file
2020-06-28 18:14:20 +02:00
Bernhard B
f2818b32b6
updated signal-cli to version 0.6.8
2020-05-30 09:38:05 +02:00
Bernhard B
a70f0a9d44
bumped signal-cli version 0.6.7
2020-04-03 18:14:22 +02:00
Bernhard B
e3fb01a2b3
fixed "attachment cannot be sent to multiple recipients" bug
...
* bug was fixed upstream, but there's no new release yet. So,
we check out the git repository in the meanwhile to get the
latest changes.
see #6
2020-01-21 21:58:12 +01:00
Bernhard B
487092e6d6
set locale in Dockerfile to fix char encoding issues
...
see #1
2020-01-16 17:17:19 +01:00
Bernhard B
b0d922630f
updated signal-cli to version 0.6.5
2019-11-30 21:28:16 +01:00
Bernhard B
1e5ee5dfc9
improved dockerfile
2019-11-10 21:37:31 +01:00
Bernhard B
01a002b6c6
start go in release mode
2019-11-03 20:40:02 +01:00
Bernhard B
a7be6cd4f5
use arg for signal-cli version
2019-11-03 20:34:05 +01:00
Bernhard B
0e61499b3a
updated to signal-cli v0.6.4
2019-11-03 19:36:43 +01:00
Bernhard B
fb6b964857
added Home Assistant documentation
2019-11-03 19:21:58 +01:00
Bernhard B
cf9baf5ec6
make Dockerfile architecture independent
2019-11-03 18:25:53 +01:00
Bernhard B
59e6a16591
initial commit
2019-05-30 19:50:54 +02:00