Skip to content
/ apps Public
generated from tbobm/gha-dynamic-containers

Monolithic repository that hosts multiple simple applications, from HTTP API to AMQP workers.

License

Notifications You must be signed in to change notification settings

tbobm/apps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tbobm/apps

Build Containers License: MIT

A centralized collection of containers to use as example apps.

API

HTTP

Hello World

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

http-dump

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":{}}

SQS

Producer

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