Sandbox
Testing Environment
Requirements
- docker
- docker-compose
Setup
Clone the project
Check out make help
for all the targets.
Deployment options
Limitador's configuration | Command | Info |
---|---|---|
In-memory configuration | make deploy-in-memory |
Counters are held in Limitador (ephemeral) |
Redis | make deploy-redis |
Uses Redis to store counters |
Redis Cached | make deploy-redis-cached |
Uses Redis to store counters, with an in-memory cache |
Infinispan | make deploy-infinispan |
Uses Infinispan to store counters |
Limitador's admin HTTP endpoint
Downstream traffic
Upstream service implemented by httpbin.org
Limitador Image
By default, the sandbox will run Limitador's limitador-testing:latest
image.
Building limitador-testing:latest
image
You can easily build the limitador's image from the current workspace code base with:
The image will be tagged with limitador-testing:latest
Using custom Limitador's image
The LIMITADOR_IMAGE
environment variable overrides the default image. For example: