Using redirection.io with Docker
It is quite common to use Docker in development or production environments.
As this has been requested by several of our users, we have set up a short example of a Docker stack using the redirection.io agent and the nginx module.
This sample project can be found on our Github account: https://github.com/redirectionio/docker-example
- clone the repository
git clone https://github.com/redirectionio/docker-example.git cd docker-example
- create an account and a project on redirection.io, retrieve your
project keyin redirection.io's manager and copy it in the nginx configuration file
redirectionio_project_key PUT HERE YOUR PROJECT KEY;
- build the infrastructure:
- run it:
docker-compose up -d