Funkwhale is a free, open-source music server that runs on your own hardware or cloud instance. It provides a way to host and share your music library with others, stream and listen to music, and discover new music. In this tutorial, we will guide you through the installation of Funkwhale on EndeavourOS latest.
Before we begin with the installation, ensure that you have the following:
Funkwhale is packaged in a Docker container, so we need to install Docker and Docker Compose. Open a terminal and run the following command:
sudo pacman -S docker docker-compose
By default, only root and users in the docker group can run Docker commands. Add your user account to the Docker group to avoid using sudo
for every Docker command. Run the following command:
sudo usermod -aG docker $USER
Log out and log back in for the changes to take effect.
Open a terminal and clone the Funkwhale repository using Git:
git clone https://dev.funkwhale.audio/funkwhale/docker.git
Change to the directory containing the cloned files:
cd docker
Funkwhale needs some configuration before deployment. You can edit the configuration by copying the sample .env
file and editing the values to match your settings:
cp .env.sample .env
nano .env
Edit the following values to match your settings:
# Your instance name
FUNKWHALE_INSTANCE_NAME=Funkwhale
# Your domain name
FUNKWHALE_DOMAIN_NAME=yourdomain.com
# Your email address
FUNKWHALE_ADMIN_EMAIL=admin@yourdomain.com
# Your database password
POSTGRES_PASSWORD=your-db-password
Save and close the file.
Run the deployment script to create and start the Funkwhale container:
./funkwhale start
The deployment may take some time to complete, depending on your internet speed and server's specifications. If everything goes well, you should see the following output:
Access the instance by visiting: http://yourdomain.com:80/
Open your web browser and navigate to http://yourdomain.com:80/
. If you don't have a domain, you can use your server's IP address instead. When you access the site for the first time, you will see a page asking you to create a user account. Follow the instructions and create an account.
You can manage Funkwhale using the deployment script. Run the following command to see the available options:
./funkwhale --help
To stop the container, run:
./funkwhale stop
To start an already stopped container, run:
./funkwhale start
To remove the container and its data, run:
./funkwhale destroy
That's it! You've successfully installed and deployed Funkwhale on EndeavourOS latest. Enjoy hosting and streaming your music library!
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!