Commit Graph

842 Commits

Author SHA1 Message Date
Quentin McGaw
a783decb02 Set healthcheck logger mode to user defined logger mode 2019-04-30 10:48:54 +02:00
Quentin McGaw
ab5a20e292 Fixed connectivity check channel error 2019-04-30 10:48:31 +02:00
Quentin McGaw
1df844622e Removed useless *.travis.yml* file 2019-04-30 10:48:09 +02:00
Quentin McGaw
f032869553 Healthcheck moved to main server with client IP check 2019-04-29 13:23:10 +02:00
Quentin McGaw
54e3af8515 Fixed rootURL in params 2019-04-29 13:22:50 +02:00
Quentin McGaw
648c4f482b BINCOMPRESS build argument added 2019-04-29 13:22:25 +02:00
Quentin McGaw
9accbb5aa8 client IP manipulation added to network package 2019-04-29 13:22:02 +02:00
Quentin McGaw
2d6b174bcd Replaced Travis with Docker Hub build hooks 2019-04-27 21:48:21 +02:00
Quentin McGaw
e8aae13a0f update.go rework and mutex for sqlite connection 2019-04-27 21:48:09 +02:00
Quentin McGaw
3c37e08ffb Merge pull request #3 from qdm12/dreamhost
Total code refactoring and added Dreamhost support
2019-04-26 02:07:08 +02:00
Quentin McGaw
ed1823d244 Complete code refactoring
- `LOGGING` environment variable `json` or `human`
- `NODEID` environment variable (integer)
- Much cleaner go code
- Listener for exit of program to do cleanup
- All code is in packages except main.go
- Custom logger package added
- Connectivity checks reworked
- Healthcheck server on localhost only, so not exposed to outside world
- Updated `go.mod` and `go.sum`
2019-04-26 02:04:39 +02:00
Quentin McGaw
ce88c48459 Upgraded to Go 1.12.4 and updated readme 2019-04-19 22:52:12 +02:00
Quentin McGaw
b23152bdda http.Client is now in env variable; docker-compose updated to 3.1 2019-03-08 20:30:15 +01:00
Quentin McGaw
7a53f69d8c Added Mutex for concurrent calls to Sqlite driver 2019-03-08 17:10:40 +01:00
Quentin McGaw
a477f74bab Removed debug log line 2019-03-08 14:00:31 +01:00
Quentin McGaw
2cfcfe635a Rework of main code and added sqlite database 2019-03-08 13:55:38 +01:00
Quentin McGaw
ad2aade27e Re-user same HTTP client for all requests 2019-03-08 10:39:29 +01:00
Quentin McGaw
3bccebb393 Updated documentation 2019-01-28 14:57:04 +01:00
Quentin McGaw
38fa262ccf Merge pull request #2 from qdm12/dreamhost
Dreamhost DNS addition + fix of UI html ownership
2019-01-28 14:47:46 +01:00
Quentin McGaw
d66709b40c Added a todo 2019-01-28 14:44:23 +01:00
Quentin McGaw
9cad3749ff Finished non tested implementation of dreamhost dns 2019-01-28 14:44:17 +01:00
Quentin McGaw
d07869cd6f Fixed UI ownership issue and upgraded to Go 1.11.5 2019-01-28 14:43:51 +01:00
Quentin McGaw
0ca07e0587 Adding support for Dreamhost dns (unfinished) 2019-01-28 12:57:01 +01:00
Quentin McGaw
5b361a5b3a Reworked readme 2019-01-11 15:52:58 +01:00
Quentin McGaw
98643941fd Merged healthcheck in same binary and reworked base code 2019-01-11 15:52:46 +01:00
Quentin McGaw
e025fa22b6 Extra checks for LISTENINGPORT depending on UID 2018-11-18 14:36:46 +02:00
Quentin McGaw
d7852cd654 Added favicon and moved web to updater/ui directory 2018-11-18 14:36:25 +02:00
Quentin McGaw
4eb900027e Added missing hooks/build 2018-11-18 14:35:38 +02:00
Quentin McGaw
db630d2e6f Healthcheck checks for port value validity 2018-11-18 14:35:28 +02:00
Quentin McGaw
951f0ab685 Removed /etc/passwd as UID is enough 2018-11-18 14:35:07 +02:00
Quentin McGaw
526bb0933c Changed default listening port of healthcheck 2018-11-08 19:01:20 +02:00
Quentin McGaw
0f728d982b Updated image size (+10KB) 2018-11-07 15:43:16 +01:00
Quentin McGaw
c5baf17836 Default port is 8000 and now runs as non root for real
Plus some more checks for environment variables with more X emojis.
2018-11-07 15:42:29 +01:00
Quentin McGaw
2f4a153892 Forgot user instruction at the end of the Dockerfile 2018-11-07 12:45:01 +01:00
Quentin McGaw
8a9f8bff2c Run as non root user and other changes
- index.html can be placed with updater app in separate directory
-
2018-11-07 11:45:08 +01:00
Quentin McGaw
3131523e8e Dockerfile and readme rework 2018-11-06 13:57:54 +01:00
Quentin McGaw
5d36353cf8 Duration shown nicely 2018-11-06 13:57:43 +01:00
Quentin McGaw
a47c697fa9 Rework of labels, readme (2) 2018-10-15 20:36:12 +02:00
Quentin McGaw
f921d435b1 Fixed Dockerfile 2018-10-15 19:59:53 +02:00
Quentin McGaw
5e4b26f6a3 Docker labels, reworked readme a bit 2018-10-15 19:57:03 +02:00
Quentin McGaw
7f1aacd0ba Initial commit
Pretty much done with the project for now. Ask for more content ;)
2018-10-15 19:41:59 +02:00
Quentin McGaw
7ffe4d7271 Initial commit 2018-10-09 20:00:06 +02:00