Snipe-IT is a free, open source IT asset management system written in PHP. Snipe-IT was made for IT asset management, to enable IT departments to track who has which laptop, when it was purchased, which software licenses and accessories are available, and so on. In this step by step guide I will show you how to install Snipe-IT on your Synology NAS using Docker and Portainer.
Install Portainer using my step by step guide. If you already have Portainer installed on your Synology NAS, skip this STEP.
Go to File Station and open the docker folder. Inside the docker folder, create two new folders and name one snipeit and one mariadb. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.
Log into Portainer using your username and password. On the left sidebar in Portainer, click on Stacks then + Add stack. Follow the instructions in the image below.
In the Name field type in snipeit. Follow the instructions in the image below.
version: "3" services: mysql: image: linuxserver/mariadb container_name: snipe_mysql restart: always volumes: - /volume1/docker/mariadb:/config environment: - PUID=1026 - PGID=100 - TZ=Europe/Bucharest - MYSQL_ROOT_PASSWORD=snipe - MYSQL_USER=snipe - MYSQL_PASSWORD=snipe - MYSQL_DATABASE=snipe snipeit: image: linuxserver/snipe-it:latest container_name: snipe-it restart: always depends_on: - mysql volumes: - /volume1/docker/snipeit:/config environment: - NGINX_APP_URL=192.168.1.135:1339 - MYSQL_PORT_3306_TCP_ADDR=mysql - MYSQL_PORT_3306_TCP_PORT=3306 - MYSQL_DATABASE=snipe - MYSQL_USER=snipe - MYSQL_PASSWORD=snipe - PGID=1026 - PUID=100 ports: - "1339:80"
Note: After you paste the code in the Web editor, change the value numbers for PUID and PGID with your own values. (Follow my step by step guide on how to do this.)
Note: After you paste the code in the Web editor, change the value for TZ. (Select your current Time Zone from this list.)
Note: After you paste the code in the Web editor, change the value for NGINX_APP_URL with your NAS local IP followed by :1339
Note: 192.168.1.135 is my own NAS local IP; you have to use your NAS local IP.
Scroll down on the page until you see a button called Deploy the stack. Click on it. Follow the instructions in the image below. The installation process can take up to a few minutes. It will depend on your Internet speed connection.
If everything goes right, you will see this message at the top right of your screen: “Stack successfully deployed“.
Go back to STEP 1 or you will deal with karma 🙂.
The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Now open your browser and type in http://Synology-ip-address:1339 You will be prompted to configure Snipe-IT. Click Create Database Tables. Follow the instructions in the image below.
Click Create User. Follow the instructions in the image below.
Create the new user using your own credentials then click Save User. Follow the instructions in the image below.
If you want to run the Snipe-IT container over HTTPS, check out my guide on How to Run Docker Containers Over HTTPS.
Note: Can I run Docker on my Synology NAS? See the supported models.
Note: Find out how to update the Snipe-IT container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
This post was updated on Sunday / January 16th, 2022 at 12:23 PM