Commit Graph

362 Commits

Author SHA1 Message Date
Umputun
0914bbe9a2 minor typos 2021-04-23 16:46:35 -05:00
Umputun
efded2cf5e flip order in docker proxy+static labels #55
we want proxy rule to have priority over assets rule
2021-04-23 04:05:14 -05:00
Umputun
c590c3246d
Assets cache (#54)
* add caching control for assets
* regen site
2021-04-23 02:02:36 -05:00
Nikita Vasiliev
ef8298bb9c Test to catch a deadlock in healthHandler() 2021-04-21 17:30:34 -05:00
Nikita Vasiliev
38af32f37c Fix a deadlock 2021-04-21 17:30:34 -05:00
23ua
7e89e35e48 Fix typo in assets example 2021-04-21 03:55:36 -05:00
Umputun
6096db3ff0 typo and regen site 2021-04-21 02:03:19 -05:00
Umputun
4c79c3b239 rename endpoint to /metrics 2021-04-21 01:28:07 -05:00
Umputun
f16d92b774 lint: minor warns 2021-04-20 19:22:46 -05:00
Umputun
aef3040b60 fix tests regression 2021-04-20 19:22:46 -05:00
Umputun
f47b16e426 revendor 2021-04-20 19:22:46 -05:00
Umputun
8ea0052228 implement basic support of metrics via mgmt server #35 2021-04-20 19:22:46 -05:00
Cigizmoond Vyhuholev
bece2938f0 Fix typo 2021-04-20 10:47:23 -05:00
Umputun
3499836b90 fix typo in help msg 2021-04-19 03:25:59 -05:00
Umputun
f2e9701d0d regen site 2021-04-18 15:43:19 -05:00
Umputun
087a0b7873 make clear multiple hosts support 2021-04-18 12:19:03 -05:00
Umputun
f7b24e1058 fix health counts calculation 2021-04-17 23:41:44 -05:00
Umputun
1695532aa5 add ping test 2021-04-17 23:32:54 -05:00
Umputun
f246618622 don't health check asset mappers 2021-04-17 23:28:12 -05:00
Umputun
afbcc6c7bb removed unneded atomic in health check 2021-04-17 23:24:41 -05:00
Umputun
e8988bacc6 extend main test 2021-04-17 23:17:05 -05:00
Umputun
f304a2f0e6 add total number of services to health error 2021-04-17 23:06:48 -05:00
Umputun
1aa89cfbd6 fix docker resp struct 2021-04-17 22:55:32 -05:00
Umputun
7b8d1bb1c8 add site deploy target 2021-04-17 22:52:39 -05:00
Umputun
d387b860d4 regen site 2021-04-17 22:41:18 -05:00
Umputun
ecc96142ca
Merge pull request #47 from akellbl4/master
[site] Better adaptive behavior
2021-04-17 22:39:22 -05:00
Umputun
1e686ab5b0
Merge branch 'master' into master 2021-04-17 22:39:07 -05:00
Timofey
e7121846da Handle docker API errors 2021-04-17 22:37:32 -05:00
Timofey
813ed6df3d Set minimal supported docker version 2021-04-17 22:37:32 -05:00
Umputun
f43e9092df regen site 2021-04-17 13:17:02 -05:00
Umputun
bbbd24dd53 fix missing url.Host forward 2021-04-17 13:11:10 -05:00
Umputun
34c1510c8c
fix docker paths in docs 2021-04-17 12:49:47 -05:00
Umputun
401375b8d7 bump go-pkgz/rest to show hostname in stdout logs 2021-04-17 12:46:22 -05:00
Pavel Mineev
7bf691c7e2 Better adaptive behavior
- fixed size of logo on mobile
- smaller paddings on small phones
2021-04-17 13:17:15 +03:00
Umputun
0a9051d528 lint: unneeded fmt 2021-04-17 02:36:49 -05:00
Umputun
2b492d840a fix tests 2021-04-17 02:35:23 -05:00
Umputun
ee4f8919e1 allow docker to provide static with proxy at the same time #27 2021-04-17 02:17:23 -05:00
Umputun
6ad288afd0 drop docker api version 2021-04-17 02:16:43 -05:00
Umputun
2ffb9644a7 drop massive deps from removed docker client 2021-04-16 17:39:30 -05:00
Umputun
b667720cc3 suppress messages on docker events check 2021-04-16 17:36:57 -05:00
Timofey
7f991b1e18 Refactor
Thx for the feedback.

* Add missing test
* Decouple containerInfo from docker client
* Move refresh interval var to `Docker`
* Minor things
2021-04-16 17:30:54 -05:00
Timofey
76be67d39c Detect changes in running containers
* Naive attempt to detect changes based on container metadata
* And my best effort to test it
2021-04-16 17:30:54 -05:00
Timofey
a91fb6816f Invoke Docker API directly
* Remove third-party docker client dependency
* Simplify code and tests

Might need to run `go mod tidy` and `go mod vendor` afterwards
2021-04-16 17:30:54 -05:00
Umputun
93f4d5b975 add minimal info about providers nature 2021-04-16 17:17:57 -05:00
Pavel Mineev
64d2b8b8ea fix scroll to chapter in safari 2021-04-16 16:20:53 -05:00
Pavel Mineev
bf84ffe096 fix link to repo in config 2021-04-16 15:33:40 -05:00
Pavel Mineev
7aa20d9dad fix link to edit 2021-04-16 15:25:06 -05:00
Pavel Mineev
72c0dde88e fix link 2021-04-16 15:19:18 -05:00
Pavel Mineev
62ee98bf16 fix anchor 2021-04-16 15:19:18 -05:00
Pavel Mineev
41104ef980 Fix new line in README.md 2021-04-16 14:12:53 -05:00