Smocker WhoAmI

This commit is contained in:
2025-11-02 07:57:57 +01:00
parent 7bdf0ab8b3
commit 7070dc8de5

View File

@@ -22,3 +22,36 @@ docker run --detach --name caddy-docker-proxy --restart=always ^
```
Pour Linux remplacer ^ par \ et %cd%\ par $(pwd)/
### WhoAmI
Tiny Go webserver that prints OS information and HTTP request to output.
https://github.com/traefik/whoami
```shell
docker run --detach --name whoami ^
--network proxy_net
--label "caddy=whoami.localhost" ^
--label "caddy.reverse_proxy={{upstreams 80}}" ^
--label "caddy.tls=internal" ^
traefik/whoami
```
### Toxiproxy
# ----------------------------------------------------------------------
# Mock Web API
#
# ----------------------------------------------------------------------
smocker:
image: thiht/smocker:0.18.5
restart: "no"
networks:
- caddy_net
ports:
- 8080:8080
- 8081:8081
toxiproxy:
image: ghcr.io/shopify/toxiproxy
restart: "no"