> ## Documentation Index
> Fetch the complete documentation index at: https://docs.levelrail.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Self-host Snipe-IT with Docker

> IT asset management for tracking hardware, licenses, and accessories, and who currently has what.

IT asset management for tracking hardware, licenses, and accessories, and who currently has what.

This page describes the Levelrail template for Snipe-IT (Infrastructure). It deploys the services below as one Docker Compose app on your own server. Project site: [https://snipe-it.readme.io/docs/docker](https://snipe-it.readme.io/docs/docker).

Recommended memory: about 512 MiB.

## Services, ports and volumes

| Service | Image | Container ports | Volumes |
| - | - | - | - |
| `db` | `mariadb:11` | none | `snipeit_db_data -&#62; /var/lib/mysql` |
| `snipeit` | `snipe/snipe-it:v7.1.16` | 80 | `snipeit_data -&#62; /var/lib/snipeit` |

## Environment variables

| Service | Variable | Value |
| - | - | - |
| `db` | `MYSQL_DATABASE` | Preset in the template |
| `db` | `MYSQL_PASSWORD` | Generated at deploy |
| `db` | `MYSQL_RANDOM_ROOT_PASSWORD` | Preset in the template |
| `db` | `MYSQL_USER` | Preset in the template |
| `snipeit` | `APP_KEY` | Generated at deploy |
| `snipeit` | `APP_URL` | Preset in the template |
| `snipeit` | `MYSQL_DATABASE` | Preset in the template |
| `snipeit` | `MYSQL_PASSWORD` | Generated at deploy |
| `snipeit` | `MYSQL_PORT_3306_TCP_ADDR` | Preset in the template |
| `snipeit` | `MYSQL_PORT_3306_TCP_PORT` | Preset in the template |
| `snipeit` | `MYSQL_USER` | Preset in the template |

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

## Deploy Snipe-IT with Levelrail

In the dashboard, open **Apps**, choose **New app**, then **Browse templates**, and select Snipe-IT. Review the Compose body and deploy.

With the CLI:

```bash theme={"dark"}
levelrail-cli templates deploy snipe-it --name my-snipe-it
```

See the [service template catalog](/templates-and-registry) for how templates work, and [Getting started](/getting-started) if you have not installed Levelrail yet.

## More Infrastructure templates

* [AdGuard Home](/self-host/adguard-home)
* [Cloudflare DDNS](/self-host/cloudflare-ddns)
* [Elasticsearch](/self-host/elasticsearch)
* [NetBox](/self-host/netbox)
* [Nginx Proxy Manager](/self-host/nginx-proxy-manager)

All templates are listed in the [self-host gallery](/self-host).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.