10 Commits

Author SHA1 Message Date
renovate[bot]
d06a81b486 chore(deps): update nginx docker tag to v1.27.1 2024-09-10 23:26:39 -04:00
Alexis Couvreur
be7ace0e05 perf(providers): retrieve state on start instead of assuming starting (#350)
When an instance does not exist yet and needs to be started, its status is not assumed to be starting anymore.

Instead, the statue will be retrieved from the provider. This changes one thing, it's that you may be able to start and access your services instantly because they'll be instantly seen as ready.

With this change, you might want to make sure that your containers have a proper healthcheck used to determine when the application is able to process incoming requests.

* refactor: add interface guards

* refactor(providers): remove instance.State as a return value from Stop and Start

* test(e2e): add healthcheck on nginx container

Because now the container check is so fast, we need to add a delay on which the container is considered started and healthy to have a proper waiting page.

* fix(tests): using acouvreur/whoami:v1.10.2 instead of containous/whoami:v1.5.0

This image simply retrieve the curl binary from curlimages/curl:8.8.0 to be able to add proper docker healthcheck commands.

Once this is merged with traefik/whoami, I'll update back to the original image.

See https://github.com/traefik/whoami/issues/33
2024-07-08 00:10:39 -04:00
Alexis Couvreur
52a7d2195f feat(providers): add provider.auto-stop-on-startup argument (#346)
This feature adds the capability to stop unregistered running instances upon startup.

Previously, you had to stop running instances manually or issue an initial request that will shut down instances afterwards.

With this change, all discovered instances will be shutdown. They need to be registered using labels. E.g.: sablier.enable=true

Fixes #153
2024-07-04 12:06:21 -04:00
renovate[bot]
88af2def68 chore(deps): update nginx docker tag to v1.27.0 2024-05-30 18:08:10 -04:00
renovate[bot]
dc935f534f chore(deps): update nginx docker tag to v1.26.0 2024-04-24 16:48:48 -04:00
renovate[bot]
51ef25197a chore(deps): update nginx docker tag to v1.25.5 2024-04-21 00:46:21 -04:00
renovate[bot]
7b62d5710c chore(deps): update nginx docker tag to v1.25.4 2024-02-14 22:32:15 -05:00
renovate[bot]
3f1ed9513c chore(deps): update nginx docker tag to v1.25.3 2023-10-25 12:28:34 -04:00
renovate[bot]
f40543edaf chore(deps): update nginx docker tag to v1.25.2 2023-09-14 02:01:26 +02:00
Alexis Couvreur
6984461dff refactor(nginx): move e2e test to new provider based strucutre 2023-04-02 00:05:04 -04:00