mirror of
https://github.com/technorabilia/docker-bits
synced 2024-11-14 18:12:47 +00:00
42 lines
1.5 KiB
YAML
42 lines
1.5 KiB
YAML
# [Airsonic](https://github.com/airsonic/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=${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
|