Connect Akto with Docker
Last updated
Was this helpful?
Last updated
Was this helpful?
You can add akto-traffic-collector service to your docker-compose file. Your APIs from this traffic will show up in Akto dashboard.
Set up and configure Akto Traffic Processor and save the mini-runtime service URL. The steps are mentioned . Alternatively, if you're on on-premise deployment, save the runtime service URL.
Create a file docker-akto-collector.env
with the following content.
Replace <AKTO_NLB>
with the mini-runtime/runtime service URL saved earlier.
Replace <AKTO_MONGO_IP>
with mongodb://0.0.0.0:27017
, if you're on hybrid setup or with your mongodb IP if it's accessible and you're on on-premise deployment.
Add the following service to your docker-compose file. Adjust the mem_limit accordingly.