-
-
Notifications
You must be signed in to change notification settings - Fork 19
Custom installation
basings edited this page Jan 30, 2023
·
3 revisions
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\deemixrr
is recommended - For Linux
/opt/deemixrr
is 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.yaml
in 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-MSSQL
and 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-HANGFIRE
and replace it with something more secure - Additional for CloudBox Only:
- Search and replace both instances of
YOURDOMAIN.COM
with your Cloudflare domain name - Search and replace
YOUREMAILADDRESS
with your Cloudflare email address
- Search and replace both instances of
- Replace your paths
- Windows
- Search and replace
C:\Software\deemixrr
with the dir you created in step 1 - Search and replace
C:\Music
with the dir where your music files should be stored
- Search and replace
- Linux
- Search and replace
/opt/deemixrr
with the dir you created at step 1 - Search and replace
/mnt/unionfs/Media/Audio
with 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-config
subdir you created earlier- Create your config.json file in the
deemix-config
subdir - Login to Deezer, and copy the content of the cookie named
arl
- Create a file with the name
.arl
in thedeemix-config
subdir 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 up
and hit enter
- Open a shell, type
-
Cloudbox Only
- Open Portainer and navigate to Containers
- Open
deemixrr_deemixrr_1
and scroll down to Network. SelectCloudbox
from Join Network and click Join Network - Open
deemixrr_mssql_1
and scroll down to Network. SelectCloudbox
from 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/unionfs
inside the container, ALWAYS use this in front of your paths. - Use
/mnt/unionfs/Artists
as 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