How to Install Shinobi on QNAP with Container Station
Container Station runs Docker under the hood so you can be up in under 10 minutes with our DockerHub repository.
UPDATE 2021-08-24 : This article is out of date and may not be applicable anymore. Please consider installing Ubuntu 20.04 in a VM on your QNAP instead.
1. Login to your QNAP and open App Center.
2. Search for Container Station and Install it.
3. After Container Station is installed, open it and click Create.
4. Search for shinobisystems in the Search Images field. You will see the image linking to the shinobisystems/shinobi repository. Click Install.
5. Ignore all fields in the Create Container window and click Create. The image will begin downloading and will create a container from the image automatically.
6. Delete the container that was created automatically. Do not delete the Image, just the container.
- This step is critical because Container Station does not load the placeholder data for Environment, Network, or Shared Folders tabs.
7. Go to the Images tab and click Create Container on the Shinobi image.
8. In the different tabs set the fields as follows :
Environment
- Set the fields according to the table below.
- APP_BRANCH : Put dev or master
- ADMIN_PASSWORD : This is the password for the Shinobi Superuser.
Name | Value |
---|---|
APP_BRANCH | dev or master |
ADMIN_PASSWORD | This is the password for the Shinobi Superuser. |
Network
- Network Mode : NAT
- Forward port 8080 to an open port on your host machine. For example if you set it to 9080 you will need to find Shinobi by connecting to it at http://QNAP:9080. See the table below.
Host | Container | Protocol |
---|---|---|
9080 | 8080 | TCP |
Device
- You can run container in privilege mode if you need Shinobi to access actual hardware other than storage but this is bad practice. You should select only the devices you will be using.
Shared Folders
- Set the fields according to the table below.
New Volume | Mount Point |
---|---|
shinobiCustomAutoLoad | /customAutoLoad |
shinobiVideos | /opt/shinobi/videos |
shinobiDatabase | /var/lib/mysql |
shinobiConfig | /config |
9. You're done. Click Create and open up the Shinobi container to see its status.
- If you set Shinobi to run on port 9080 of your host machine you can open your browser and navigate to http://QNAP:9080.