Levelrail
Skip to content

Self-host Snipe-IT with Docker ​

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.

Recommended memory: about 512 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
dbmariadb:11none
snipeit_db_data -> /var/lib/mysql
snipeitsnipe/snipe-it:v7.1.1680
snipeit_data -> /var/lib/snipeit

Environment variables ​

ServiceVariableValue
dbMYSQL_DATABASEPreset in the template
dbMYSQL_PASSWORDGenerated at deploy
dbMYSQL_RANDOM_ROOT_PASSWORDPreset in the template
dbMYSQL_USERPreset in the template
snipeitAPP_KEYGenerated at deploy
snipeitAPP_URLPreset in the template
snipeitMYSQL_DATABASEPreset in the template
snipeitMYSQL_PASSWORDGenerated at deploy
snipeitMYSQL_PORT_3306_TCP_ADDRPreset in the template
snipeitMYSQL_PORT_3306_TCP_PORTPreset in the template
snipeitMYSQL_USERPreset 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:

levelrail-cli templates deploy snipe-it --name my-snipe-it

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Infrastructure templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.