Metlo home pagelight logodark logo
  • Sign In
  • Get Started
  1. Deploy Open Source
  2. Running Metlo Locally
  • Documentation
  • Blog
  • GitHub
  • Discord
  • Contact Us
  • Introduction
    • Welcome to Metlo
    • Getting Started
    • Metlo Self Hosted
    • Installing Metlo's CLI
    • Metlo Juice Shop

  • Connections
    • Node
    • Python
    • Java
    • Go
    • AWS Traffic Mirroring
    • GCP Traffic Mirroring
    • Docker Compose
    • Kubernetes
    • AWS Fargate
    • Burp Suite Extension
  • Inventory
    • Endpoint Discovery
    • Sensitive Data
    • API Vulnerabilities
    • Authentication
    • Custom Sensitive Data
    • Uploading Open API Specs
  • Testing
    • Writing a Test
    • Advanced Tests
    • Test Templates
    • Test Rules
    • Global Test Environment
    • Auth Tests

    • Custom Templates

  • Alerts
    • Alerts
    • Webhooks
  • Protection
    • Attack Detection
    • Attack Context
  • Settings
    • Metlo Config
    • Self Hosted Email
  • Debugging
    • Debugging Traffic Mirroring
    • Debugging Metlo Self Hosted
  • Deploy Open Source
    • Deploy to AWS
    • Deploy to GCP
    • Deploy to Azure
    • Deploy to Docker
    • Running Metlo Locally
  • Privacy
    • Trace Data Retention
    • Data Egress
  • Contribute
    • Overview
    • Development Guide
    • Making a New Ingestor

Deploy Open Source

Running Metlo Locally

​
Set up your environment

Bash
python3 -c 'import base64; import secrets; print("ENCRYPTION_KEY=" + base64.b64encode(secrets.token_bytes(32)).decode("UTF-8"))' > .env

​
Run Metlo

Bash
docker run -p 3000:3000 -p 8081:8081 --env-file .env -v metlo-data:/var/lib/metlo metlo/metlo

Now visit http://localhost:3000

Deploy to DockerTrace Data Retention
Powered by Mintlify
twitterlinkedinfacebookgithub
  • Set up your environment
  • Run Metlo