Deploy DevGuard with Docker Compose
Run DevGuard locally using Docker Compose for testing and evaluation.
Prerequisites
- Docker and Docker Compose installed
Deployment Steps
Download required files
Start the containers
Access DevGuard
Open http://localhost:3000 in your browser.
Important Notes
Email verification: No SMTP server is configured by default. During registration, skip email verification by clicking "Back".
To enable email delivery, you can additionally append the COURIER_SMTP_CONNECTION_URI environment-variable to the kratos service:
Vulnerability database: The API downloads the latest vulnerability database on first start. This may take several minutes. Vulnerability data and scan results won't be complete until the download finishes.
Adapting for Production
If you must use Docker Compose in production, change all default passwords:
POSTGRES_PASSWORDin thepostgresqlservice- Database password in
initdb.sql DSNin bothkratosandkratos-migrateservices- Remove
--devflag from the kratos command
Next Steps
- Run your first scan: Getting Started Guide