A self-hosted music steaming server.
You can run this project as a Docker container with HTTPS support out of the box.
- Docker installed
- Your own HTTPS certificate and key (
server.crt,server.key) - Your music and staging folders
-
Create a folder on your host machine to hold the certificate and key files:
mkdir -p ~/amber-docker/certs -
Place your certificate and key files into that folder:
~/amber-docker/certs/server.crt ~/amber-docker/certs/server.key -
Prepare your directory structure, for example:
~/amber-docker/ ├── Music/ # Files processed by the server placed here ├── Staging/ # All music files waiting to be processed └── certs/ ├── server.crt └── server.key -
Place all your music files in the supported formats inside the
Stagingfolder -
Create a
docker-compose.ymlfile inside~/amber-docker/with the following content:services: amber: image: roshanshibu/amber:alpha ports: - "7000:443" restart: always volumes: - ./Music:/amber/Music - ./Staging:/amber/Staging - ./certs/server.crt:/certs/server.crt:ro - ./certs/server.key:/certs/server.key:ro environment: - AMBER_DUMMY_TOKEN=your_dummy_token_here - ACOUSTID_API_KEY=your_acoustid_api_key_here
-
Run the container from inside the project directory:
docker compose up -d
-
Amber server is now accesible at:
https://<your-hostname>:7000/ -
Acces your library through the amber web app: https://amber-web-client.vercel.app/
Use theAMBER_DUMMY_TOKENfrom the docker-compose and your server url to connect.