mirror of
https://github.com/TheUltimateC0der/Deemixrr.git
synced 2025-12-06 11:32:29 +00:00
No results
3
Custom installation
basings edited this page 2023-01-30 16:49:26 +01:00
Table of Contents
How to host your own deemixrr instance
Since deemixrr uses docker for deployment, it is pretty easy to spin up your own instance.
This guide assumes you have docker and docker-compose already installed on your system. If you find any errors, and know how to fix them, please edit this guide, so everyone can take advantage of your fix.
-
Create a folder where all files should be stored
- For Windows
C:\Software\deemixrris recommended - For Linux
/opt/deemixrris recommended - In your created dir, create the subdir
deemix-config - In your created dir, create the subdir
mssql-data
- For Windows
-
Create your
docker-compose.yamlin the folder you created- For Windows use docker-compose.yaml for Windows
- For Linux use docker-compose.yaml for Linux
-
Replace the placeholders in your
docker-compose.yaml- Search for
THIS-IS-A-NOT-SECURE-PASSWORD-MSSQLand replace it with something more secure (at least 8 characters of which at least 3 of these 4 categories: uppercase letters, lowercase letters, numbers and non-alphanumeric symbols) - Search for
THIS-IS-A-NOT-SECURE-PASSWORD-HANGFIREand replace it with something more secure - Additional for CloudBox Only:
- Search and replace both instances of
YOURDOMAIN.COMwith your Cloudflare domain name - Search and replace
YOUREMAILADDRESSwith your Cloudflare email address
- Search and replace both instances of
- Replace your paths
- Windows
- Search and replace
C:\Software\deemixrrwith the dir you created in step 1 - Search and replace
C:\Musicwith the dir where your music files should be stored
- Search and replace
- Linux
- Search and replace
/opt/deemixrrwith the dir you created at step 1 - Search and replace
/mnt/unionfs/Media/Audiowith the dir where your music files should be stored
- Search and replace
- Windows
- Update your Cron jobs: Use crontab.guru or another tool to help you create the schedule for the 2 jobs listed under the deemixrr environment variables section.
- Search for
-
Create your deemix files. We use the
deemix-configsubdir you created earlier- Create your config.json file in the
deemix-configsubdir - Login to Deezer, and copy the content of the cookie named
arl - Create a file with the name
.arlin thedeemix-configsubdir and paste the content of your arl cookie into it - Save both files
- Create your config.json file in the
-
Start your instance
- Open a shell, type
docker-compose upand hit enter
- Open a shell, type
-
Cloudbox Only
- Open Portainer and navigate to Containers
- Open
deemixrr_deemixrr_1and scroll down to Network. SelectCloudboxfrom Join Network and click Join Network - Open
deemixrr_mssql_1and scroll down to Network. SelectCloudboxfrom Join Network and click Join Network - Restart both of the above containers starting with
deemixrr_mssql_1
-
Register yourself
- Open up your browser, and go to
http://{YOUR_SERVERS_IP}:5555 - Type in your E-Mail and a SECURE password
- Submit the form
- Open up your browser, and go to
-
Create a new folder
- On the left side, go to Folder -> Create
- ALWAYS use the path you mount your media to as a base path. Since we mount your music from the host to the path
/mnt/unionfsinside the container, ALWAYS use this in front of your paths. - Use
/mnt/unionfs/Artistsas a path, and whatever you want as a name for example
-
Create an artist
- On the left side, go to Artist -> Create
- Fill out whatever you want
- Select one of the folders you created
- Hit submit