Skip to main content
Get your Snipe-IT instance up and running quickly using Docker. This guide will have you managing assets in minutes.

Prerequisites

  • Docker and Docker Compose installed
  • At least 2GB of available RAM
  • Port 80 available (or modify the port mapping)

Installation with Docker Compose

1

Create Docker Compose Configuration

Create a new directory for Snipe-IT and add a docker-compose.yml file:
Create docker-compose.yml:
docker-compose.yml
2

Configure Environment Variables

Create a .env file in the same directory:
.env
The APP_KEY will be generated automatically on first run. Never share this key or commit it to version control.
3

Start Snipe-IT

Launch the containers:
Check that containers are running:
You should see both snipe-it and snipe-mysql containers with status “Up”.
4

Complete Web Setup

Open your browser and navigate to http://localhost.The Snipe-IT setup wizard will guide you through:
  1. Database Setup - Click “Next” (already configured via environment)
  2. Create Admin Account - Set username, email, and password
  3. Site Settings - Configure site name and URL
  4. Email Testing - Optionally test your email configuration
The initial setup may take 2-3 minutes while the database schema is created and sample data is seeded.
5

Add Your First Asset

After setup, you’ll be redirected to the dashboard. To add your first asset:
  1. Go to AssetsCreate New
  2. Fill in the asset details:
    • Asset Tag: Unique identifier (e.g., “LAP-001”)
    • Model: Click “Create New” to add a model
      • Name: “Dell Latitude 5420”
      • Category: “Laptops” (create if needed)
      • Manufacturer: “Dell” (create if needed)
    • Status: Deployable
    • Location: Your office location
    • Purchase Date: Today’s date
    • Purchase Cost: Asset value
  3. Click Save
Congratulations! You’ve added your first asset to Snipe-IT.

Managing Docker Containers

View Logs

Stop Snipe-IT

Start Again

Update to Latest Version

Backup Your Data

Next Steps

Full Installation Guide

Explore other installation methods and production setup

Configuration

Configure email, backups, and advanced settings

Asset Management

Learn about check-in/check-out workflows

API Access

Set up API access for integrations

Troubleshooting

Change the port mapping in docker-compose.yml:
Then access Snipe-IT at http://localhost:8080
Ensure the MySQL container is running:
Check the database credentials in .env match those in docker-compose.yml.
Update APP_URL in .env to your server’s IP address:
Restart the container:
Verify SMTP settings in .env. For Gmail, you may need to:
  • Enable 2-factor authentication
  • Generate an app-specific password
  • Allow less secure apps (not recommended)
Test email from SettingsTest Email.

Community Support

Need help? Join the Snipe-IT community: