Commit Graph

25 Commits

Author SHA1 Message Date
Dmitry Verkhoturov
899e101d7a add test to CI for example directory 2024-05-10 15:10:28 -05:00
Dmitry Verkhoturov
30173d599c pin golangci-lint version to latest available, fix reported errors 2024-05-09 22:23:46 -05:00
Dmitry Verkhoturov
6f6167642a add dependabot updates for GitHub Actions, Go modules, Dockerfiles 2024-05-09 13:17:13 -05:00
Roman Makarenko
cda43cfb5c Add persistent volume to keep certificates 2022-03-17 01:51:23 -05:00
Umputun
abc955a247 clarify default routing for docker provider 2022-02-13 14:23:55 -06:00
Umputun
ef649f10dc add a custom static example 2021-06-27 12:59:15 -05:00
Umputun
7139c57766
RPC plugins support (#85)
* wip

* resolve merge artifacts

* full coverage for conductor

* wire plugin conductor to main and proxy

* wip, with separate match handler

* split matching logic with another handler, add initial docs

* move parts of proxy to handlers, add tests

* add headers in to be sent to proxied url

* merged from master

* add example with docker compose

* supress excesive debug reporting 0-9 disabled in docker

* add plugin tests

* randomize test port

* lint: minor warns

* lint: err shadow
2021-06-01 02:56:39 -05:00
Umputun
81e8f4a029 update docs and examples 2021-05-28 16:11:31 -05:00
Umputun
0217410207 typos 2021-05-28 15:27:16 -05:00
Umputun
4c051ca37f
detect in-container and set listen address to 0.0.0.0 (#62)
* detect in-container and set listen to 0.0.0.0

* simplify default address logic

don't change if user defined, use 127.0.0.1:8080 for non-docker and 0.0.0.0:8080 for in-docker only if nothing set

* add dynamic default to redir http port

* add docs about dynamic defaults

* add ssl example

* lint: params warn
2021-05-03 21:40:21 -05:00
Umputun
f5c5c61349 add header example 2021-04-25 12:57:11 -05:00
23ua
7e89e35e48 Fix typo in assets example 2021-04-21 03:55:36 -05:00
Umputun
4c79c3b239 rename endpoint to /metrics 2021-04-21 01:28:07 -05:00
Umputun
8ea0052228 implement basic support of metrics via mgmt server #35 2021-04-20 19:22:46 -05:00
Umputun
8cf4b9063d
Multiple static location (#36)
* add isStatic flag to mapper, implement for file and static providers

* handle static match response as a special case

* move assets conversion to load time

* rename static to assets everywhere for consistency

* don't overwride asset param in url mapper

* add documentation about assets mode

* add tests
2021-04-16 02:49:00 -05:00
Umputun
33346c9f7a update docker example with arm-compat images #33 2021-04-15 03:33:52 -05:00
Umputun
ab0f5c0e1d switch final image to scratch base 2021-04-14 03:26:20 -05:00
Umputun
d1ef428236 add assets examples 2021-04-13 21:40:09 -05:00
Umputun
21636b8a4b update docker example 2021-04-12 22:21:52 -05:00
Umputun
c53d28b12d support TZ customization 2021-04-11 17:10:40 -05:00
Umputun
825a3c3c7f add readme to docker example 2021-04-10 23:51:12 -05:00
Umputun
be20b0b636 allow use of assets server without any provider 2021-04-10 14:34:28 -05:00
Umputun
0274bd77f7 add assets server to file example 2021-04-10 13:26:55 -05:00
Umputun
8135e99d4d add file example 2021-04-10 13:10:32 -05:00
Umputun
c970c176a9 add working docker compose example for docker provider 2021-04-10 04:25:03 -05:00