Mad World #Save_GAZA: Free Palestine  

Search

How to Install Deemix on Your Synology NAS: The Ultimate Guide

How to Install Deemix on Your Synology NAS: The Ultimate Guide

This guide shows an easy way to install Deemix on your Synology NAS with Docker. Deemix is a great tool for managing and analyzing your music collection. It makes it easy to find and play your favorite songs, and also helps you keep track of what you are listening to. Let's get started!

What is Deemix ?

Deemix is a music player that allows you to mix your music together with other users. It's a fun and easy way to share your music with others and create new mixes.

 

To install the deemix container on synology, you need to first install docker. Once that's done, you can then pull the Deemix image from Docker Hub and run it on your NAS.

  • There are numerous stages to installing Deemix:
  1. Task Scheduler
  2. SSH (Docker CLI)
  3. Docker compose
  4. Portainer

Task Scheduler


To get started, open the Docker folder located on nas fromFile Station  and make a new subfolder called "deemix". Follow these steps to continue:
In order for everything else in this guide work properly it's important that you do not skip any steps! 

deemix-folder
 

Go to Task Scheduler / Create / Scheduled Task / User-defined script in the Control Panel. Follow these steps below to continue.

task-scheduler.webp

 

When you click on User-defined script in the dropdown menu, a new window will pop up. Follow these steps to get started: 

  1. General : Enter task name ex “Install Deemix” in the Task area. "Enabled" should be unchecked. Choose root User from the options.
  2. Schedule: Select Run on the following date then select “Do not repeat“.
  3. Task Settings: Check “Send run details by email“, add your email (Optional), then copy paste the code below in the Run command area. After that click Red button OK.
Terminal
docker run -d --name=deemix \
-p 6595:6595 \
-e PUID=1026 \
-e PGID=100 \
-e TZ=Africa/Casablanca\
-e UMASK_SET=022 \
-v /volume1/docker/deemix/config:/config \
-v /volume1/docker/deemix/downloads:/downloads \
--restart always \
registry.gitlab.com/bockiii/deemix-docker
  • The table below lists all of the variables we used to implement Deemix.
     
ParameterFunction
-v /volume1/docker/deemix/downloads/Path for your music downloads
-v /volume1/docker/deemix/config/Path to your local configuration
-e PUID=1026OPTIONAL: User ID of the user you want the container to run as in order to fix folder permission issues
-e PGID=1000OPTIONAL: Group ID, see PUID
-e UMASK_SET=022OPTIONAL: Setting UMASK for file permissions Default is 022
-p 6595:6595EXTRA OPTIONAL: This changes the internal port of deemix. DON'T CHANGE THIS IF YOU DONT KNOW WHY YOU WOULD DO IT
registry.gitlab.com/bockiii/deemix-dockerDownload the image from gitlab server

Go to http://YOURSERVERIP:6595 to view the web interface.

Trought SSH

Please see the post on how to access ssh if you want to use it instead of the graphical way.

Terminal
mkdir -p /volume1/docker/deemix/{config,downloads}
test@NAS:/volume1/docker$ ls -ltr deemix/
total 0
drwxrwxrwx+ 1 test users 0 Feb 15 15:24 downloads
drwxrwxrwx+ 1 test users 0 Feb 15 15:24 config

After you've created your folder and subfolders, execute the docker command:

Terminal
sudo docker run -d --name=deemix \
-p 6595:6595 \
-e PUID=1026 \
-e PGID=100 \
-e TZ=Africa/Casablanca\
-e UMASK_SET=022 \
-v /volume1/docker/deemix/config:/config \
-v /volume1/docker/deemix/downloads:/downloads \
--restart always \
registry.gitlab.com/bockiii/deemix-docker
Password: Enter your password for confirmation

Go to http://YOURSERVERIP:6595 to view the web interface.

Trought Docker compose

  • Prerequisites?

Check to see if Docker Engine and Docker Compose have already been installed. 

After that, create a new file named docker-compose.yml in the same directory as /volume1/docker/deemix and paste the code below into it.

YAML
version: '3.3'
services:
  bockiii:
    container_name: deemix
    ports:
      - '6595:6595'
    environment:
      - PUID=1026
      - PGID=100
      - TZ=Africa/Casablanca\
      - ARL=1234567 # See the 
      - UMASK_SET=022
    volumes:
      - '/volume1/docker/deemix/config:/config'
      - '/volume1/docker/deemix/downloads:/downloads'
    restart: always
    image: registry.gitlab.com/bockiii/deemix-docker
    hostname: deemix # Instead of numbers, the hostname will be deemix. (optional)
    network_mode: bridge # If you wish to use bridge mode, follow these simple step. (optional)
  • run the following command using the docker compose command:
Code
test@NAS:/volume1/docker/deemix$ sudo docker-compose up -d
Creating deemix ... done

Go to http://YOURSERVERIP:6595 to view the web interface.

Trought Portainer

I prefer to use the Stack option to organize my Docker composes. This allows me to store, edit, and manage all of my Docker composes with Portainer.

  • Note: If you've never heard of Portainer or are unfamiliar with it, this post how to install Portainer, will walk you through installing it and managing all of your Docker containers. with the use of a graphical dashboard
  1. After you installed Portainer, Go to your Portainer interface http://YOURSERVERIP:9000
  2. Enter the username and password for your credential.
  3. Click the Stacks option on the left side of your screen.
  4. Click the +Add stack button, then paste the docker compose we used for docker-compose.yml then clic hit Deploy the stack button, Follow these steps below to continue.

stack-1
 

Note: The name of the stack must consist of lower case alphanumeric characters, '_' or '-' (e.g. 'my-name', or 'abc-123').
 

Go to http://YOURSERVERIP:6595 to view the web interface.

 

deemix-interface
 

Troubleshooting tips for deemix container on synology

 

  • If your container isn't starting, make sure that you have the correct command: 
Terminal
sudo docker start deemix
  • If the container is running but you're not able to log in, check the logs for errors: 
Terminal
sudo docker logs -f deemix
  • If you want to stop the container, use the following command: 
Terminal
sudo docker stop deemix
  • If you want to remove the container, use the following command: 
Terminal
sudo docker rm deemix


 Fore more please visite : https://gitlab.com/Bockiii/deemix-docker

When a new Deemix image comes out, see how to update a Docker container on Synology.

If you like this post, please consider donating so that we can continue to maintain our site.?

Yassine

Yassine

Yassine founded IGProd to educate the visitors with technological tutorials. These helpful guides are available for all sorts of professionals and novices, whether they work in technology or not!

Surf freely 💗

Leave a comment

Your email address will not be published. Required fields are marked *

Your experience on this site will be improved by allowing cookies Cookie Policy