Last updated on January 6th, 2023 at 08:39 pm
Airsonic-Advanced is a free, web-based media streamer, providing ubiquitous access to your music. It is a more modern implementation of the Airsonic fork with several key performance and feature enhancements. It adds and supersedes several features in Airsonic.
Skip to Docker Run Code / Skip to Compose & Portainer Code



Install Docker
Before we start, please ensure you have Docker installed. This can be installed through the Synology Package Center.
Create the Docker Folder
Head into File Station and open the Docker folder. Select Create, choose Create folder and name it airsonic. (see demonstration)
Create the Scheduled Task
We will now head into Control Panel > Task Scheduler > Create > Scheduled Task and click User-defined script. (see demonstration)

Configure the Scheduled Task
In the window that appears, insert the following:
In the General tab, In the Task field, enter AirSonic. From the User list, select root. Uncheck the Enabled option.
In the Schedule tab, Select Run on the following date (make sure It’s today’s date). Now select Do not repeat.
In the Task Settings tab, under Notification, You can choose to turn this on, otherwise skip this. Now copy-paste the following code into the Run command area. Now click OK.
docker run -d \
--name=airsonic \
-u 1026:100 \
-e TZ=Europe/London \
-e JAVA_OPTS=-Dserver.forward-headers-strategy=native \
-p 4040:4040 \
-p 4041:4041 \
-v /volume1/data/media/music:/var/music \
-v /volume1/data/media/podcasts:/var/podcasts \
-v /volume1/data/media/music/playlists:/var/playlists \
-v /volume1/docker/airsonic:/var/airsonic \
--restart unless-stopped \
airsonicadvanced/airsonic-advanced:latest
Important: Make sure you change the Directory paths to match your own. You will also need to ensure you update the PUID, PGID and TZ values.
Accept the warning prompt
When the below warning appears, press OK.

Run the Scheduled Task
From the list of tasks, select AirSonic. From the top menu, press Run.

When prompted to run AirSonic, press Yes.

AirSonic is Installed
AirSonic has now finished installing. Give it a few seconds/minutes to appear in your Docker list.

You can now access the container using http://synologyip:4040. The default username and password is admin.
Docker Compose and Portainer
If you would prefer to install with Docker Compose or Portainer, use the following code. You can also view a demonstration here.
version: '3.3'
services:
airsonic-advanced:
container_name: airsonic
environment:
- TZ=Europe/London
- JAVA_OPTS=-Dserver.forward-headers-strategy=native
ports:
- '4040:4040'
- '4041:4041'
volumes:
- '/volume1/data/media/music:/var/music'
- '/volume1/data/media/podcasts:/var/podcasts'
- '/volume1/data/media/music/playlists:/var/playlists'
- '/volume1/docker/airsonic:/var/airsonic'
restart: unless-stopped
image: 'airsonicadvanced/airsonic-advanced:latest'
See the Guide in Action
More Guides:
Actual AdGuard airsonic Audiobookshelf autobrr Bitcoin Calibre-Web ChatpadAI Cleanarr Composerize Crypto DailyTxT Dashy deemix Deluge Emby EmulatorJS Ethereum Euterpe FileBot FilePizza FileZilla Flame Focalboard FreshRSS Grafana Grocy Heimdall Homarr Home Assistant Homebridge Jackett Jellyfin Jellyseerr Joplin Kavita Komga LanguageTool LibreOffice Lidarr Mealie MediaGoblin Medusa Memegen Minecraft Minecraft Bedrock MQTT MusicBrainz MyMediaForAlexa Navidrome Node-RED NZBGet NZBHydra Ombi Overseerr PaperlessNGX Pashword Password Cards Petio Pi-Hole Picard Plex Portainer PostgreSQL Prowlarr PUID & PGID pwndrop Radarr Radicale Readarr ruTorrent SABnzbd SearX Seed Phrase Shiori Sonarr SpeedTest Stash Storm Tailscale TasmoAdmin Tautulli Theia Trilium TubeSync Unpackerr Uptime Kuma Vaultwarden Watchtower WebPDF Whisparr Wordle YouTubeDL
