Self-host Snipe-IT on a VPS
IT asset management for tracking hardware, licenses, and accessories, and who currently has what.
levelrail-cli templates deploy snipe-it --name my-snipe-itSpecification
- Status
- Listed
- Category
- Infrastructure
- Services
- db, snipeit
- Ports
- 80
- Volumes
- 2
- Memory
- about 512 MiB
- arm64
- image published
- amd64
- image published
- Settings to fill in
- none
- License
- not yet recorded
About Snipe-IT
IT asset management for tracking hardware, licenses, and accessories, and who currently has what. Runs 2 containers (db, snipeit), with snipeit listening on port 80 and keeps its data in named volumes.
What it deploys
Snipe-IT runs as 2 services in a single Compose app, listening on port 80, with 2 named volume mounts.
| Service | Image | Tag | Ports | Volumes |
|---|---|---|---|---|
| db | mariadb | 11 | none | snipeit_db_data -> /var/lib/mysql |
| snipeit | snipe/snipe-it | v7.1.16 | 80 | snipeit_data -> /var/lib/snipeit |
Before you install
- CPU architecture. arm64 listed. Every image lists linux/arm64 in its registry manifest. That is a manifest fact, not proof the app runs on Arm.
- Listed. It is in the catalog. Back up the data volume before changing an image tag.
- Host ports. It publishes port 80 directly on the host, so open them in the VPS firewall only if you want that.
Settings and environment
You do not have to fill in anything. 3 secrets are generated at deploy and stored encrypted. Values are never shown here.
| Service | Variable | Value |
|---|---|---|
| db | MYSQL_DATABASE | Preset by the template |
| db | MYSQL_PASSWORD | Generated at deploy |
| db | MYSQL_RANDOM_ROOT_PASSWORD | Preset by the template |
| db | MYSQL_USER | Preset by the template |
| snipeit | APP_KEY | Generated at deploy |
| snipeit | APP_URL | Preset by the template |
| snipeit | MYSQL_DATABASE | Preset by the template |
| snipeit | MYSQL_PASSWORD | Generated at deploy |
| snipeit | MYSQL_PORT_3306_TCP_ADDR | Preset by the template |
| snipeit | MYSQL_PORT_3306_TCP_PORT | Preset by the template |
| snipeit | MYSQL_USER | Preset by the template |
Install Snipe-IT on a VPS
-
Install Levelrail on a fresh VPS
Run this as root on a Linux server (amd64 or arm64) with ports 80 and 443 reachable. The installer prints a setup link.
curl -fsSL https://levelrail.com/install.sh | sudo sh -
Sign in
Open the setup link, choose a password, then log the CLI in. The CLI install command is
curl -fsSL https://levelrail.com/install-cli.sh | shif the machine does not have it. See Getting started.levelrail-cli login --device -
Read the template
Shows the entry, including its full compose.yaml.
levelrail-cli templates get snipe-it -
Deploy it
This deploys the template compose file as an app. The app name defaults to the template id; --name sets another.
levelrail-cli templates deploy snipe-it --name my-snipe-it
Without a domain the app gets an sslip.io address. You can also deploy it from the dashboard: Apps, New app, Browse templates, then Snipe-IT.
Docs and upstream
More in Infrastructure
- RustDesk ServerSelf-hosted RustDesk ID and relay servers (AGPL-3.0).
- Technitium DNS ServerA full-featured authoritative and recursive DNS server with DNS-over-HTTPS/TLS and a web console.
- RabbitMQA widely used open-source message broker supporting AMQP, MQTT, and STOMP.
- TraefikA cloud native reverse proxy and load balancer with a built-in dashboard, on the official image. The dashboard has no login, so put it behind an access rule before you give it a public address.
- PortainerA web UI for managing containers, images, volumes, and networks.
- VerneMQA scalable MQTT broker with a status page and a data volume, with one generated admin user and anonymous access off. MQTT on 1883 stays private.