---
version: "2"
services:
airsonic:
image: linuxserver/airsonic:10.6.2
container_name: airsonic
restart: unless-stopped
environment:
- TZ # e.g. Europe/London
- PUID=1000 # for UserID
- PGID=1000 # for GroupID
- JAVA_OPTS # For passing additional java options.
- CONTEXT_PATH # For setting url-base in reverse proxy setups.
volumes:
- /host/path/to/podcasts:/podcasts # Location of podcasts.
- /host/path/to/playlists:/playlists # Location for playlists to be saved to.
- /host/path/to/music:/music # Location of music.
- /host/path/to/media:/media # Location of other media.
- /host/path/to/config:/config # Configuration file location.
ports:
- 4040:4040/tcp # WebUI
devices:
- /dev/snd:/dev/snd # Only needed to pass your host sound device to Airsonic's Java jukebox player.