Install using Docker
Prerequisites
- Docker Engine version
18.03.0and above - Admin (or
sudo) privileges on the Docker host
1. Get your Levo credentials
- Authorization key: Refer to Generating CLI Authorization Keys.
- Organization ID: Refer to Accessing Organization IDs.
2. Install Protection Module
docker run --name levo-protection --rm -p 80:80 -p 443:443 -p 8080:8080 \
-e LEVOAI_AUTH_KEY="<AUTH KEY>" -e LEVOAI_ORG_ID="<ORG ID>" -e --set LEVOAI_ENV="<Your Environment>" \
-e LEVOAI_BASE_URL="<ApiUrl />" levoai/protection
info
You may need to set a different Levo base URL if your Saas/dashboard account is created in India domain.
For example, if you are accessing Levo dashboard with app.india-1.levo.ai, the installation command will be:
docker run --name levo-protection --rm -p 80:80 -p 443:443 -p 8080:8080 \
-e LEVOAI_AUTH_KEY="<AUTH KEY>" -e LEVOAI_ORG_ID="<ORG ID>" -e LEVOAI_ENV="<Your Environment>" \
-e LEVOAI_BASE_URL="https://api.india-1.levo.ai" levoai/protection
4. Check installation health
curl http://localhost:8080/api/health
5. Access the Protection Module Dashboard
Use the browser to access the protection module dashboard for modifying configs, adding certs etc,
on http://localhost:8080
6. Other common tasks
Refer to the Common Tasks page for other use cases and information.