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
Usage¶
- 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 key
in redirection.io's manager and copy it in the nginx configuration fileredirectionio_project_key PUT HERE YOUR PROJECT KEY;
- build the infrastructure:
docker-compose build
- run it:
docker-compose up -d
This page has been updated on October 2nd, 2020.
Can't find your answer?