Quick Snipe-IT (Asset Management) Tool Deployment Steps on Docker Container

 Quick Snipe-IT (Asset Management)  Tool Deployment Steps on Docker Container
Techiio-author
Written by Abhishek JalanMay 11, 2020
3 min read
Snipe-IT
41 VIEWS 6 LIKES 0 DISLIKES SHARE
6 LIKES 0 DISLIKES 41 VIEWS SHARE
Techiio-author
Abhishek Jalan

DevSecOps Engineer

Snipe-IT is a free and open-source web application for IT assets management that provides a web-based interface. In this blog, I will show you how to deploy the Snipe-IT tool on Docker.

Snipe-IT is a free and open-source web application for IT assets management that provides a web-based interface for tracking licenses, accessories, consumables, and components. ... It is cross-platform and feature-rich web-based software built using a PHP framework called Laravel.

Highlights

  • Free (Libre) open-source software (FLOSS)
  • Developer-friendly with REST-API
  • Frequent updates and bug-fixes
  • Trusted by customers from all over the globe
  • Notification (Email, Slack)
  • Multi-lingual support
  • Admin dashboard to track recent activities
  • Powerful asset management
  • Asset auditing
  • QR code and barcode generator
  • License management
  • History manager
  • Digital signature support
  • Import/ Export assets
  • Asset tracking
  • Asset search

3 Simple Steps for Installing Snipe-IT tool on Docker

Please follow the below steps

Create two directories on your docker host for volume persistence

mkdir /docker-data/snipe-mysql
mkdir /docker-data/snipe-it

Now we will create MySql Docker container

docker run \
--name snipe-mysql \
-d \
-e MYSQL_ROOT_PASSWORD=demo123@ \
-e MYSQL_DATABASE=snipe \
-e MYSQL_USER=snipe \
-e MYSQL_PASSWORD=demo123@ \
-e TZ=Europe/Berlin \
-p 127.0.0.1:3306:3306 \
-v /docker-data/snipe-mysql:/var/lib/mysql \
mysql:5.7.30 --sql-mode=""

Now we will create Snipe-IT docker container

You can change the MYSQL_ROOT_PASSWORD if you want to, as well as the MYSQL_PASSWORD, but just be sure to change them in both the docker containers. Also, make sure your timezone is correct.

docker run \
-d \
--name=snipe-it \
--link snipe-mysql:db \
-e PUID=1000 \
-e PGID=1000 \
-e DB_CONNECTION=mysql \
-e DB_HOST=snipe-mysql \
-e DB_DATABASE=snipe \
-e DB_USERNAME=snipe \
-e DB_PASSWORD=demo123@ \
-e APP_KEY=base64:5U/KPKw1GN/Rz0fWYO/4FsSOqjmjvDAQzMCqwcAqstc= \
-p 8082:80 \
-v /docker-data/snipe-conf:/config \
--restart unless-stopped \
snipe/snipe-it

Verify if both the containers are up and running fine.

docker ps -a

Setup completed. Now you can access the Snipe-IT portal using http://<your-docker-ip>:8082, you can finish the setup.

The quick and best solution to setup Snipe-IT tool

docker
snipe-it
asset-management
centos
41 VIEWS 6 LIKES 0 DISLIKES SHARE
6 LIKES 0 DISLIKES 41 VIEWS SHARE
Was this blog helpful?
techiio-price-plantechiio-price-plantechiio-price-plantechiio-price-plantechiio-price-plan
You must be Logged in to comment
Code Block

1 Comments

avatar
Maria Gilbert

Nice Blog.

Techiio-author
Abhishek Jalan
DevSecOps Engineer
Techiio-followerTechiio-followerTechiio-followerTechiio-followerTechiio-follower
+60 more
19 Blog Posts
9 Discussion Threads
Trending Technologies
15
Software40
DevOps46
Frontend Development24
Backend Development20
Server Administration17
Linux Administration26
Data Center24
Sentry24
Terraform23
Ansible83
Docker70
Penetration Testing16
Kubernetes21
NGINX20
JenkinsX17
Recommended Blogs
1
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance