You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.5 KiB
YAML
41 lines
1.5 KiB
YAML
4 years ago
|
# Airsonic is a free, web-based media streamer, providing ubiquitious access to
|
||
|
# your music. Use it to share your music with friends, or to listen to your own
|
||
|
# music while at work. You can stream to multiple players simultaneously, for
|
||
|
# instance to one player in your kitchen and another in your living room.
|
||
|
|
||
|
---
|
||
|
version: "2.1"
|
||
|
services:
|
||
|
airsonic:
|
||
|
image: ghcr.io/linuxserver/airsonic
|
||
|
container_name: airsonic
|
||
|
environment:
|
||
|
# for GroupID
|
||
|
- PUID=${PUID:-1024}
|
||
|
# for UserID
|
||
|
- PGID=${PGID:-100}
|
||
|
# Specify a timezone to use for example Europe/Amsterdam
|
||
|
- TZ=Europe/Amsterdam
|
||
|
# For setting url-base in reverse proxy setups.
|
||
|
- CONTEXT_PATH=<URL_BASE> # optional
|
||
|
# For passing additional java options.
|
||
|
- JAVA_OPTS=<options> # optional
|
||
|
volumes:
|
||
|
# Configuration file location.
|
||
|
- ${BASEDIR:-/volume1/docker}/airsonic/config:/config
|
||
|
# Location of music.
|
||
|
- ${BASEDIR:-/volume1/docker}/airsonic/music:/music
|
||
|
# Location for playlists to be saved to.
|
||
|
- ${BASEDIR:-/volume1/docker}/airsonic/playlists:/playlists
|
||
|
# Location of podcasts.
|
||
|
- ${BASEDIR:-/volume1/docker}/airsonic/podcasts:/podcasts
|
||
|
# Location of other media.
|
||
|
- ${BASEDIR:-/volume1/docker}/airsonic/media:/media # optional
|
||
|
ports:
|
||
|
# WebUI
|
||
|
- 4040:4040
|
||
|
devices:
|
||
|
# Only needed to pass your host sound device to Airsonic's Java jukebox player.
|
||
|
- /dev/snd:/dev/snd # optional
|
||
|
restart: unless-stopped
|