Video coming soon…

🎬 Setup Your Spotify — Self-Hosted Spotify Listening Stats

Deploy Your Spotify on Ubuntu with Docker and MongoDB — track your Spotify listening history and get detailed stats all year round, not just at Wrapped time, on port 3058.

⚠️ This script is provided for demo and testing purposes only. Not intended for production use.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along with the video.

Automated install script — one command deploys Your Spotify with MongoDB. You provide Spotify app keys; log in with Spotify on first visit.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/media/your-spotify/your-spotify-ubuntu.sh
chmod +x your-spotify-ubuntu.sh
sudo bash your-spotify-ubuntu.sh

Tutorial Steps

1 Download the Script

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/media/your-spotify/your-spotify-ubuntu.sh

2 Make it Executable

chmod +x your-spotify-ubuntu.sh

3 Run the Installer

The script installs Docker if needed, prompts you for your Spotify app's public and secret keys, and starts three containers — MongoDB, the API server on 8218, and the web client on 3058.

sudo bash your-spotify-ubuntu.sh

4 Log In with Spotify

Open the web client and log in with Spotify to start recording your listening history:

http://<your-server-ip>:3058

Ports Used

PortPurpose
3058Web client (host → container 3000) — the interface you open
8218API server (host → container 8080) — redirect URI must match
internalMongoDB 6 (your-spotify-mongo, not published)

Overview

Why Use It

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    When Not to Use It

                    PrismaTechWork Professional Help

                      Contact Us

                      Frequently Asked Questions