Forte: An open-source self-hosted music platform
10K+
Self-hosted, music streaming platform
Open the Web Player »
Report Bug
·
Request Feature

forte is a self-hosted music platform. You can either connect to a forte server or create your own server for your friends & family. However, it is also very convenient to use forte on your local machine as a stand-alone music player. Follow this guide to learn how to connect and how to build your own forte server.
To build and host your own server you need a decent computer as we will be dealing with multiple users and streaming audio files to them. In the remaining of this section, we will be going over the steps of building the server.
Forte uses docker to build the server. Therefore, you need to have docker installed on your machine. You can find the installation instructions for your operating system here.
To run the docker container, you need to have the docker-compose.yml file. Download the file here:
Before running the file, you need to edit some fields:
environment:
mode: local # local or public, defaults to local
forte_server: <server> # only if mode is public
forte_email: <email> # only if mode is public
volumes:
- <library>:/library # The path to your music library
Here's an example for the docker-compose.yml file:
version: '3'
services:
app:
image: kaangiray26/forte:1.3
ports:
- "80:80"
- "443:443"
- "3000:3000"
depends_on:
- postgres
environment:
mode: public
forte_server: forte.example.com
forte_email: [email protected]
volumes:
- /home/forte/library:/library
postgres:
image: postgres
restart: always
environment:
POSTGRES_DB: forte
POSTGRES_USER: forte
POSTGRES_PASSWORD: forte
volumes:
- db-data:/var/lib/postgresql/data
volumes:
db-data:
If you want to use the server locally, you can edit the docker-compose.yml file and change the mode field to local. Then, you can run the following command to start the server:
sudo docker-compose up -d
If you want to use the server locally, you can edit the docker-compose.yml file and change the mode field to public. Also, you need to set the fields forte_server and forte_email. Then, you can run the following command to start the server:
sudo docker-compose up -d
You can access the forte dashboard by going to http://localhost:3000. The default login credentials are: forte and alternative.
While in dashboard, don't forget to change the genius_token, lastfm_api_key, lastfm_api_secret fields in the Config tab for genius and lastfm extensions.
Also, please change the default password from the Password tab.
Distributed under the GPL-3.0 License. See LICENSE for more information.
Kaan Giray Buzluk - @kaangiray26 - kaangiray26 (at) protonmail.com
Check out the following list of resources that I've used to build forte.
Content type
Image
Digest
sha256:3cdb756b4…
Size
77.2 MB
Last updated
over 3 years ago
docker pull kaangiray26/forte:4.3