A centralized collection of containers to use as example apps.
Path: ./api/http/hello/
Example usage:
$ docker run -p 8000:5000 -d --rm ghcr.io/tbobm/apps:api-http-hello-latest
$ curl localhost:8000/health
OK
Path: ./api/http/dump/
Example usage:
$ docker run -p 8000:8000 -d --rm ghcr.io/tbobm/apps:api-http-dump-latest
$ curl localhost:8000/any/path -H "example-header: any-value"
{"path":"any/path","method":"GET","headers":{"host":"localhost:8000","user-agent":"curl/7.81.0","accept":"*/*","example-header":"any-value"},"form":{}}
Path: ./lambda/hello/
Example usage:
$ docker run -p 9000:8080 -d ghcr.io/tbobm/apps:lambda-hello-latest
$ curl "localhost:9000/2015-03-31/functions/function/invocations" -d '{}'
"Hello World"
Path: ./sqs/producer/
Example usage:
$ docker run -e SQS_QUEUE_URL="https://sqs.eu-west-1.amazonaws.com/111111111111/my-queue" \
-it ghcr.io/tbobm/apps:sqs-producer-latest