---
title: Deploy AzuraCast with AI on Blossom
url: "/deploy/azuracast/"
canonical_url: https://blossom88.com/deploy/azuracast/
markdown_url: https://blossom88.com/deploy/azuracast.md
summary: Set up an internet radio station, put a track in rotation, and listen on
  your station page.
categories:
- deployment
- media
stack:
- PHP
- Vue
- MariaDB
- Icecast
- Liquidsoap
---

# Deploy AzuraCast with AI on Blossom

[AzuraCast](https://azuracast.com/) is an open-source internet radio
platform. It lets you upload audio, build playlists, and give listeners a
web page with a live player.

## Ask Your Agent

> **Ask your AI agent:** Deploy AzuraCast on Blossom. Help me put a track in rotation and listen to my station.
>
> Follow this guide: https://blossom88.com/deploy/azuracast/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and choose a Blossom Cloud Location when you log in. You can also use [Blossom BYOC (bring your own cloud)](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#blossom-byoc).

## How It Runs

| Part | Role | Where |
|---|---|---|
| AzuraCast | Manage tracks, schedule rotation, and stream audio | Blossom Persistent Service |
| MariaDB | Store station settings, users, and playlist records | Blossom Managed Data |

## Deploy AzuraCast

Have an audio file you own ready to upload. Use MariaDB and mount a
Volume for station media and configuration. Keep the site private
while you create the first admin and station.

<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

Use the official AzuraCast image with HTTP on port 8080. Put the Volume
at `/var/azuracast/stations` and link a managed MariaDB instance. The
[startup wrapper](/deploy/recipes/azuracast/launcher-start.sh) maps the
linked connection to AzuraCast’s `MYSQL_*` variables and prepares the
station directory. It also sets `NOW_PLAYING_MAX_CONCURRENT_PROCESSES=1`
so the worker can discover the first station. This recipe uses MariaDB 12.

Use the generated HTTPS origin as the **Site Base URL** and enable
**Use Web Proxy for Radio**. That makes the listener use the same HTTPS
origin as the site. This setup covers AutoDJ and web playback.
[AzuraCast settings](https://azuracast.com/docs/getting-started/settings/).

</details>

<details class="optional-reading" markdown="1">
<summary>Commands your agent runs</summary>

    blossom app_plan:preview --data azuracast-plan.yml
    blossom service:create --data azuracast-service.yml
    blossom environment:deploy --id environment-100 --follow

</details>

## Put a Track in Rotation

Set up an Icecast station with Liquidsoap. Start broadcasting, upload
your audio under **Music Files**, and assign it to a **General Rotation**
playlist. Open the listener page and check that the track plays.

![See the track assigned to Workshop Rotation.](/deploy/assets/images/azuracast/azuracast-rotation.webp)

> **Ask your AI agent:** Help me add my track to general rotation and check that the browser can hear it.

> Follow this guide: https://blossom88.com/deploy/azuracast/



## Listen Again After an Update

Keep the same MariaDB instance and station Volume when updating
AzuraCast. Reopen the listener page and check that the same playlist
and track are available.

![Open the same radio station after Container replacement.](/deploy/assets/images/azuracast/azuracast-listener.webp)


> **Ask your AI agent:** Update AzuraCast and check that my station still plays the same track.

> Follow this guide: https://blossom88.com/deploy/azuracast/



## What You Get

- An Icecast station and browser listener page
- A Liquidsoap AutoDJ playlist that plays tracks in rotation
- Station settings and media that survive Container replacement

Tested on Blossom: The same track played from the same listener URL after Container replacement, using the original database and station Volume.
